public static final class ThumbnailsSetApplicationElementThumbnailRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
ThumbnailsSetApplicationElementThumbnailResponse |
call(OnshapeDocument document) |
Calls setApplicationElementThumbnail method, Set element thumbnails for an application element
|
ThumbnailsSetApplicationElementThumbnailResponse |
call(String did,
WV wvType,
String wv,
String eid) |
Calls setApplicationElementThumbnail method, Set element thumbnails for an application element
|
Boolean |
overwrite() |
Get Set to true when a different thumbnail needs to be made the primary thumbnail or secondary thumbnails need to be updated.
|
ThumbnailsSetApplicationElementThumbnailRequest.Builder |
overwrite(Boolean value) |
Set Set to true when a different thumbnail needs to be made the primary thumbnail or secondary thumbnails need to be updated.
|
ThumbnailsSetApplicationElementThumbnailRequestThumbnails[] |
thumbnails() |
Get List of thumbnails corresponding to an element
|
ThumbnailsSetApplicationElementThumbnailRequest.Builder |
thumbnails(ThumbnailsSetApplicationElementThumbnailRequestThumbnails[] value) |
Set List of thumbnails corresponding to an element
|
public final ThumbnailsSetApplicationElementThumbnailRequestThumbnails[] thumbnails()
public final ThumbnailsSetApplicationElementThumbnailRequest.Builder thumbnails(ThumbnailsSetApplicationElementThumbnailRequestThumbnails[] value)
value - List of thumbnails corresponding to an elementpublic final Boolean overwrite()
public final ThumbnailsSetApplicationElementThumbnailRequest.Builder overwrite(Boolean value)
value - Set to true when a different thumbnail needs to be made the primary thumbnail or secondary thumbnails need to be updated. This deletes all associated thumbnails and then sets the new thumbnails. Ensure that the primary and all non-primary thumbnails information are specified.public final ThumbnailsSetApplicationElementThumbnailResponse call(String did, WV wvType, String wv, String eid) throws OnshapeException
did - Document IDwvType - Type of Workspace or Versionwv - Workspace (w) or Version (v) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final ThumbnailsSetApplicationElementThumbnailResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.