public static final class PartStudiosIdTranslationsRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosIdTranslationsResponse |
call(OnshapeDocument document) |
Calls idTranslations method, Translate a list of part, face, etc ids defined in a specific microversion of a document to a
corresponding list of ids in the current microversion of a workspace of the document or other
specific version/microversion.
|
PartStudiosIdTranslationsResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls idTranslations method, Translate a list of part, face, etc ids defined in a specific microversion of a document to a
corresponding list of ids in the current microversion of a workspace of the document or other
specific version/microversion.
|
String[] |
ids() |
Get Array of topology ID strings
|
PartStudiosIdTranslationsRequest.Builder |
ids(String[] value) |
Set Array of topology ID strings
|
String |
linkDocumentId() |
Get The id from which this request originated, in the case that it is different than :did and :wvm is not a workspace.
|
PartStudiosIdTranslationsRequest.Builder |
linkDocumentId(String value) |
Set The id from which this request originated, in the case that it is different than :did and :wvm is not a workspace.
|
String |
sourceConfiguration() |
Get Configuration of part studio in which ids were acquired
|
PartStudiosIdTranslationsRequest.Builder |
sourceConfiguration(String value) |
Set Configuration of part studio in which ids were acquired
|
String |
sourceDocumentMicroversion() |
Get document microversion of the source ids.
|
PartStudiosIdTranslationsRequest.Builder |
sourceDocumentMicroversion(String value) |
Set document microversion of the source ids.
|
String |
targetConfiguration() |
Get Configuration of part studio into which ids are to be translated
|
PartStudiosIdTranslationsRequest.Builder |
targetConfiguration(String value) |
Set Configuration of part studio into which ids are to be translated
|
public final String sourceDocumentMicroversion()
public final PartStudiosIdTranslationsRequest.Builder sourceDocumentMicroversion(String value)
value - document microversion of the source ids.public final String sourceConfiguration()
public final PartStudiosIdTranslationsRequest.Builder sourceConfiguration(String value)
value - Configuration of part studio in which ids were acquiredpublic final String targetConfiguration()
public final PartStudiosIdTranslationsRequest.Builder targetConfiguration(String value)
value - Configuration of part studio into which ids are to be translatedpublic final String[] ids()
public final PartStudiosIdTranslationsRequest.Builder ids(String[] value)
value - Array of topology ID stringspublic final String linkDocumentId()
public final PartStudiosIdTranslationsRequest.Builder linkDocumentId(String value)
value - The id from which this request originated, in the case that it is different than :did and :wvm is not a workspace.public final PartStudiosIdTranslationsResponse 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 PartStudiosIdTranslationsResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.