public static final class AppElementsUpdateReferenceRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AppElementsUpdateReferenceResponse |
call(OnshapeDocument document,
String rid) |
Calls updateReference method, Update an app element reference
|
AppElementsUpdateReferenceResponse |
call(String rid,
String did,
String wid,
String eid) |
Calls updateReference method, Update an app element reference
|
String |
idTag() |
Get An optional deterministic id within the target element that should be tracked
|
AppElementsUpdateReferenceRequest.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
|
AppElementsUpdateReferenceRequest.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
|
AppElementsUpdateReferenceRequest.Builder |
parentChangeId(String value) |
Set Id of the prior change to the application element
|
String |
targetConfiguration() |
Get If not blank, specifies a new configuration of the element
|
AppElementsUpdateReferenceRequest.Builder |
targetConfiguration(String value) |
Set If not blank, specifies a new configuration of the element
|
String |
targetElementId() |
Get The element Id of the element that is or contains the target of the reference
|
AppElementsUpdateReferenceRequest.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
|
AppElementsUpdateReferenceRequest.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
|
AppElementsUpdateReferenceRequest.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 update should occur
|
AppElementsUpdateReferenceRequest.Builder |
transactionId(String value) |
Set Id of the transaction in which the reference update should occur
|
public final String transactionId()
public final AppElementsUpdateReferenceRequest.Builder transactionId(String value)
value - Id of the transaction in which the reference update should occurpublic final String parentChangeId()
public final AppElementsUpdateReferenceRequest.Builder parentChangeId(String value)
value - Id of the prior change to the application elementpublic final String targetElementId()
public final AppElementsUpdateReferenceRequest.Builder targetElementId(String value)
value - The element Id of the element that is or contains the target of the referencepublic final String targetVersionId()
public final AppElementsUpdateReferenceRequest.Builder targetVersionId(String value)
value - The Id of the version the document that contains the target of the referencepublic final String targetMicroversionId()
public final AppElementsUpdateReferenceRequest.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 AppElementsUpdateReferenceRequest.Builder idTag(String value)
value - An optional deterministic id within the target element that should be trackedpublic final String idTagMicroversionId()
public final AppElementsUpdateReferenceRequest.Builder idTagMicroversionId(String value)
value - If idTag is specified, the document microversion associated with the idTagpublic final String targetConfiguration()
public final AppElementsUpdateReferenceRequest.Builder targetConfiguration(String value)
value - If not blank, specifies a new configuration of the elementpublic final AppElementsUpdateReferenceResponse call(String rid, String did, String wid, String eid) throws OnshapeException
rid - The id of a reference to updatedid - Document IDwid - Workspace IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AppElementsUpdateReferenceResponse call(OnshapeDocument document, String rid) throws OnshapeException
document - Document object from Onshape URL.rid - The id of a reference to updateOnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.