public static final class PartStudiosComparePartStudioRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosComparePartStudioResponse |
call(OnshapeDocument document) |
Calls comparePartStudio method, Compare Part Studio in different versions / workspaces of a Document.
|
PartStudiosComparePartStudioResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls comparePartStudio method, Compare Part Studio in different versions / workspaces of a Document.
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartStudiosComparePartStudioRequest.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 Part Studio with
|
PartStudiosComparePartStudioRequest.Builder |
microversionId(Number value) |
Set Id of a document microversion to compare the Part Studio with
|
String |
sourceConfiguration() |
Get The configuration of the source being compared.
|
PartStudiosComparePartStudioRequest.Builder |
sourceConfiguration(String value) |
Set The configuration of the source being compared.
|
String |
targetConfiguration() |
Get The configuration of the target being compared.
|
PartStudiosComparePartStudioRequest.Builder |
targetConfiguration(String value) |
Set The configuration of the target being compared.
|
String |
versionId() |
Get Id of a Version to compare the Part Studio with
|
PartStudiosComparePartStudioRequest.Builder |
versionId(String value) |
Set Id of a Version to compare the Part Studio with
|
String |
workspaceId() |
Get Id of the Workspace to compare the Part Studio with
|
PartStudiosComparePartStudioRequest.Builder |
workspaceId(String value) |
Set Id of the Workspace to compare the Part Studio with
|
public final String workspaceId()
public final PartStudiosComparePartStudioRequest.Builder workspaceId(String value)
value - Id of the Workspace to compare the Part Studio withpublic final String versionId()
public final PartStudiosComparePartStudioRequest.Builder versionId(String value)
value - Id of a Version to compare the Part Studio withpublic final Number microversionId()
public final PartStudiosComparePartStudioRequest.Builder microversionId(Number value)
value - Id of a document microversion to compare the Part Studio withpublic final String sourceConfiguration()
public final PartStudiosComparePartStudioRequest.Builder sourceConfiguration(String value)
value - The configuration of the source being compared.public final String targetConfiguration()
public final PartStudiosComparePartStudioRequest.Builder targetConfiguration(String value)
value - The configuration of the target being compared.public final String linkDocumentId()
public final PartStudiosComparePartStudioRequest.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 PartStudiosComparePartStudioResponse 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 PartStudiosComparePartStudioResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.