public static final class PartsGetPartsInPartstudioRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartsGetPartsInPartstudioResponse |
call(OnshapeDocument document) |
Calls getPartsInPartstudio method, Get list of parts in a part studio.
|
PartsGetPartsInPartstudioResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getPartsInPartstudio method, Get list of parts in a part studio.
|
Boolean |
includeFlatParts() |
Get Whether or not to include flattened sheet metal parts
|
PartsGetPartsInPartstudioRequest.Builder |
includeFlatParts(Boolean value) |
Set Whether or not to include flattened sheet metal parts
|
Boolean |
includePropertyDefaults() |
Get If true, include metadata schema property defaults in response
|
PartsGetPartsInPartstudioRequest.Builder |
includePropertyDefaults(Boolean value) |
Set If true, include metadata schema property defaults in response
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartsGetPartsInPartstudioRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
Boolean |
withThumbnails() |
Get Whether or not to include thumbnails (not supported for microversion)
|
PartsGetPartsInPartstudioRequest.Builder |
withThumbnails(Boolean value) |
Set Whether or not to include thumbnails (not supported for microversion)
|
public final Boolean withThumbnails()
public final PartsGetPartsInPartstudioRequest.Builder withThumbnails(Boolean value)
value - Whether or not to include thumbnails (not supported for microversion)public final Boolean includeFlatParts()
public final PartsGetPartsInPartstudioRequest.Builder includeFlatParts(Boolean value)
value - Whether or not to include flattened sheet metal partspublic final String linkDocumentId()
public final PartsGetPartsInPartstudioRequest.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 Boolean includePropertyDefaults()
public final PartsGetPartsInPartstudioRequest.Builder includePropertyDefaults(Boolean value)
value - If true, include metadata schema property defaults in responsepublic final PartsGetPartsInPartstudioResponse 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 - Part studio element IDOnshapeException - On HTTP or serialization errorpublic final PartsGetPartsInPartstudioResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.