public static final class AppElementsCreateReferenceRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AppElementsCreateReferenceResponse |
call(OnshapeDocument document) |
Calls createReference method, Create an app element reference
|
AppElementsCreateReferenceResponse |
call(String did,
String wid,
String eid) |
Calls createReference method, Create an app element reference
|
String |
idTag() |
Get An optional deterministic id within the target element that should be tracked
|
AppElementsCreateReferenceRequest.Builder |
idTag(String value) |
Set An optional deterministic id within the target element that should be tracked
|
String |
idTagMicroversionId() |
Get If idTag is specified, the document microversion associated with the idTag
|
AppElementsCreateReferenceRequest.Builder |
idTagMicroversionId(String value) |
Set If idTag is specified, the document microversion associated with the idTag
|
String |
parentChangeId() |
Get Id of the prior change to the application element
|
AppElementsCreateReferenceRequest.Builder |
parentChangeId(String value) |
Set Id of the prior change to the application element
|
String |
sketchId() |
Get An optional sketch feature id within the target element that should be tracked
|
AppElementsCreateReferenceRequest.Builder |
sketchId(String value) |
Set An optional sketch feature id within the target element that should be tracked
|
String |
targetConfiguration() |
Get If not blank, specifies the configuration of the element.
|
AppElementsCreateReferenceRequest.Builder |
targetConfiguration(String value) |
Set If not blank, specifies the configuration of the element.
|
String |
targetDocumentId() |
Get The Id of the document of the element that is or contains the target of the reference
|
AppElementsCreateReferenceRequest.Builder |
targetDocumentId(String value) |
Set The Id of the document of the element that is or contains the target of the reference
|
String |
targetElementId() |
Get The element Id of the element that is or contains the target of the reference
|
AppElementsCreateReferenceRequest.Builder |
targetElementId(String value) |
Set The element Id of the element that is or contains the target of the reference
|
String |
targetMicroversionId() |
Get An optional document microversionId that should be tracked, in case a specific point in history should be tracked by the reference
|
AppElementsCreateReferenceRequest.Builder |
targetMicroversionId(String value) |
Set An optional document microversionId that should be tracked, in case a specific point in history should be tracked by the reference
|
String |
targetVersionId() |
Get The Id of the version the document that contains the target of the reference
|
AppElementsCreateReferenceRequest.Builder |
targetVersionId(String value) |
Set The Id of the version the document that contains the target of the reference
|
String |
transactionId() |
Get Id of the transaction in which the reference creation should occur
|
AppElementsCreateReferenceRequest.Builder |
transactionId(String value) |
Set Id of the transaction in which the reference creation should occur
|
public final String transactionId()
public final AppElementsCreateReferenceRequest.Builder transactionId(String value)
value - Id of the transaction in which the reference creation should occurpublic final String parentChangeId()
public final AppElementsCreateReferenceRequest.Builder parentChangeId(String value)
value - Id of the prior change to the application elementpublic final String targetDocumentId()
public final AppElementsCreateReferenceRequest.Builder targetDocumentId(String value)
value - The Id of the document of the element that is or contains the target of the referencepublic final String targetVersionId()
public final AppElementsCreateReferenceRequest.Builder targetVersionId(String value)
value - The Id of the version the document that contains the target of the referencepublic final String targetElementId()
public final AppElementsCreateReferenceRequest.Builder targetElementId(String value)
value - The element Id of the element that is or contains the target of the referencepublic final String targetMicroversionId()
public final AppElementsCreateReferenceRequest.Builder targetMicroversionId(String value)
value - An optional document microversionId that should be tracked, in case a specific point in history should be tracked by the referencepublic final String idTag()
public final AppElementsCreateReferenceRequest.Builder idTag(String value)
value - An optional deterministic id within the target element that should be trackedpublic final String idTagMicroversionId()
public final AppElementsCreateReferenceRequest.Builder idTagMicroversionId(String value)
value - If idTag is specified, the document microversion associated with the idTagpublic final String targetConfiguration()
public final AppElementsCreateReferenceRequest.Builder targetConfiguration(String value)
value - If not blank, specifies the configuration of the element. Otherwise, the configuration is the default configuration for the element.public final String sketchId()
public final AppElementsCreateReferenceRequest.Builder sketchId(String value)
value - An optional sketch feature id within the target element that should be trackedpublic final AppElementsCreateReferenceResponse call(String did, String wid, String eid) throws OnshapeException
did - Document IDwid - Workspace IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AppElementsCreateReferenceResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.