public static final class ThumbnailsGetElementThumbnailWithApiConfigurationRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
ThumbnailsGetElementThumbnailWithApiConfigurationResponse |
call(OnshapeDocument document,
String cid,
String sz,
Boolean rejectEmpty,
Boolean requireConfigMatch) |
Calls getElementThumbnailWithApiConfiguration method, Return thumbnail for element, with specified size in pixels
|
ThumbnailsGetElementThumbnailWithApiConfigurationResponse |
call(String cid,
String sz,
String did,
String wid,
String eid,
Boolean rejectEmpty,
Boolean requireConfigMatch) |
Calls getElementThumbnailWithApiConfiguration method, Return thumbnail for element, with specified size in pixels
|
public final ThumbnailsGetElementThumbnailWithApiConfigurationResponse call(String cid, String sz, String did, String wid, String eid, Boolean rejectEmpty, Boolean requireConfigMatch) throws OnshapeException
cid - The api key for the given configurationsz - Requested thumbnail size, such as 300x300did - Document IDwid - Workspace IDeid - Element IDrejectEmpty - If true, a 404 will be returned for thumbnails that are made for empty elements. Clients can use this parameter to skip the display of empty thumbnails and display a default icon instead. Defaults to false. (Default: null)requireConfigMatch - If true, the thumbnail returned must match the exact configuration specified. If false, the thumbnail for the default configuration will be returned if the exact configuration is not found. Defaults to false (Default: null)OnshapeException - On HTTP or serialization errorpublic final ThumbnailsGetElementThumbnailWithApiConfigurationResponse call(OnshapeDocument document, String cid, String sz, Boolean rejectEmpty, Boolean requireConfigMatch) throws OnshapeException
document - Document object from Onshape URL.cid - The api key for the given configurationsz - Requested thumbnail size, such as 300x300rejectEmpty - If true, a 404 will be returned for thumbnails that are made for empty elements. Clients can use this parameter to skip the display of empty thumbnails and display a default icon instead. Defaults to false. (Default: null)requireConfigMatch - If true, the thumbnail returned must match the exact configuration specified. If false, the thumbnail for the default configuration will be returned if the exact configuration is not found. Defaults to false (Default: null)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.