public static final class PartStudiosGetFeaturesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosGetFeaturesResponse |
call(OnshapeDocument document) |
Calls getFeatures method, Get the definition of the feature list for a part studio.
|
PartStudiosGetFeaturesResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getFeatures method, Get the definition of the feature list for a part studio.
|
String |
featureId() |
Get ID of a feature; repeat query param to add more than one
|
PartStudiosGetFeaturesRequest.Builder |
featureId(String value) |
Set ID of a feature; repeat query param to add more than one
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartStudiosGetFeaturesRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
Boolean |
noSketchGeometry() |
Get Whether or not to output simple sketch info without geometry
|
PartStudiosGetFeaturesRequest.Builder |
noSketchGeometry(Boolean value) |
Set Whether or not to output simple sketch info without geometry
|
public final String featureId()
public final PartStudiosGetFeaturesRequest.Builder featureId(String value)
value - ID of a feature; repeat query param to add more than onepublic final Boolean noSketchGeometry()
public final PartStudiosGetFeaturesRequest.Builder noSketchGeometry(Boolean value)
value - Whether or not to output simple sketch info without geometrypublic final String linkDocumentId()
public final PartStudiosGetFeaturesRequest.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 PartStudiosGetFeaturesResponse 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 PartStudiosGetFeaturesResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.