public static final class DocumentsGetElementListRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
DocumentsGetElementListResponse |
call(OnshapeDocument document) |
Calls getElementList method, Get a list of elements in the workspace, version, or microversion of the document.
|
DocumentsGetElementListResponse |
call(String did,
WVM wvmType,
String wvm) |
Calls getElementList method, Get a list of elements in the workspace, version, or microversion of the document.
|
String |
elementId() |
Get Return only element with this ID
|
DocumentsGetElementListRequest.Builder |
elementId(String value) |
Set Return only element with this ID
|
String |
elementType() |
Get Return only elements of this elementType
|
DocumentsGetElementListRequest.Builder |
elementType(String value) |
Set Return only elements of this elementType
|
Boolean |
withThumbnails() |
Get If true, include element thumbnail information
|
DocumentsGetElementListRequest.Builder |
withThumbnails(Boolean value) |
Set If true, include element thumbnail information
|
public final String elementType()
public final DocumentsGetElementListRequest.Builder elementType(String value)
value - Return only elements of this elementTypepublic final String elementId()
public final DocumentsGetElementListRequest.Builder elementId(String value)
value - Return only element with this IDpublic final Boolean withThumbnails()
public final DocumentsGetElementListRequest.Builder withThumbnails(Boolean value)
value - If true, include element thumbnail informationpublic final DocumentsGetElementListResponse call(String did, WVM wvmType, String wvm) throws OnshapeException
did - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDOnshapeException - On HTTP or serialization errorpublic final DocumentsGetElementListResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.