public static final class AppElementsCompareAppElementJsonRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AppElementsCompareAppElementJsonResponse |
call(OnshapeDocument document) |
Calls compareAppElementJson method, Compare App Element JSON trees in different versions / workspaces of a Document.
|
AppElementsCompareAppElementJsonResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls compareAppElementJson method, Compare App Element JSON trees in different versions / workspaces of a Document.
|
String |
jsonDifferenceFormat() |
Get format of the return value.
|
AppElementsCompareAppElementJsonRequest.Builder |
jsonDifferenceFormat(String value) |
Set format of the return value.
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
AppElementsCompareAppElementJsonRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
Number |
microversionId() |
Get Id of a document microversion to compare the App element with
|
AppElementsCompareAppElementJsonRequest.Builder |
microversionId(Number value) |
Set Id of a document microversion to compare the App element with
|
String |
versionId() |
Get Id of a Version to compare the App element with
|
AppElementsCompareAppElementJsonRequest.Builder |
versionId(String value) |
Set Id of a Version to compare the App element with
|
String |
workspaceId() |
Get Id of the Workspace to compare the App element with
|
AppElementsCompareAppElementJsonRequest.Builder |
workspaceId(String value) |
Set Id of the Workspace to compare the App element with
|
public final String workspaceId()
public final AppElementsCompareAppElementJsonRequest.Builder workspaceId(String value)
value - Id of the Workspace to compare the App element withpublic final String versionId()
public final AppElementsCompareAppElementJsonRequest.Builder versionId(String value)
value - Id of a Version to compare the App element withpublic final Number microversionId()
public final AppElementsCompareAppElementJsonRequest.Builder microversionId(Number value)
value - Id of a document microversion to compare the App element withpublic final String jsonDifferenceFormat()
public final AppElementsCompareAppElementJsonRequest.Builder jsonDifferenceFormat(String value)
value - format of the return value. Values: default|full_path|json_patchpublic final String linkDocumentId()
public final AppElementsCompareAppElementJsonRequest.Builder linkDocumentId(String value)
value - Id of document that links to the document being accessed. This may provide additional access rights to the document. Allowed only with version (v) path parameter.public final AppElementsCompareAppElementJsonResponse call(String did, WVM wvmType, String wvm, String eid) throws OnshapeException
did - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AppElementsCompareAppElementJsonResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.