public static final class ElementsCopyElementFromSourceDocumentRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
String |
anchorElementId() |
Get If specified, the copied element will be inserted after the anchor element, otherwise at the end of the tab list.
|
ElementsCopyElementFromSourceDocumentRequest.Builder |
anchorElementId(String value) |
Set If specified, the copied element will be inserted after the anchor element, otherwise at the end of the tab list.
|
ElementsCopyElementFromSourceDocumentResponse |
call(OnshapeDocument document) |
Calls copyElementFromSourceDocument method, Copy an element from a source document to a destination document or within the same document.
|
ElementsCopyElementFromSourceDocumentResponse |
call(String did,
String wid) |
Calls copyElementFromSourceDocument method, Copy an element from a source document to a destination document or within the same document.
|
String |
documentIdSource() |
Get The source document ID.
|
ElementsCopyElementFromSourceDocumentRequest.Builder |
documentIdSource(String value) |
Set The source document ID.
|
String |
elementIdSource() |
Get The source element ID.
|
ElementsCopyElementFromSourceDocumentRequest.Builder |
elementIdSource(String value) |
Set The source element ID.
|
Boolean |
isGroupAnchor() |
Get If this has an anchor or not.
|
ElementsCopyElementFromSourceDocumentRequest.Builder |
isGroupAnchor(Boolean value) |
Set If this has an anchor or not.
|
String |
workspaceIdSource() |
Get The source workspace ID.
|
ElementsCopyElementFromSourceDocumentRequest.Builder |
workspaceIdSource(String value) |
Set The source workspace ID.
|
public final String documentIdSource()
public final ElementsCopyElementFromSourceDocumentRequest.Builder documentIdSource(String value)
value - The source document ID.public final String workspaceIdSource()
public final ElementsCopyElementFromSourceDocumentRequest.Builder workspaceIdSource(String value)
value - The source workspace ID.public final String elementIdSource()
public final ElementsCopyElementFromSourceDocumentRequest.Builder elementIdSource(String value)
value - The source element ID.public final Boolean isGroupAnchor()
public final ElementsCopyElementFromSourceDocumentRequest.Builder isGroupAnchor(Boolean value)
value - If this has an anchor or not.public final String anchorElementId()
public final ElementsCopyElementFromSourceDocumentRequest.Builder anchorElementId(String value)
value - If specified, the copied element will be inserted after the anchor element, otherwise at the end of the tab list.public final ElementsCopyElementFromSourceDocumentResponse call(String did, String wid) throws OnshapeException
did - Document IDwid - Workspace IDOnshapeException - On HTTP or serialization errorpublic final ElementsCopyElementFromSourceDocumentResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.