public static final class MetadataGetPartListMetadataRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
MetadataGetPartListMetadataResponse |
call(OnshapeDocument document) |
Calls getPartListMetadata method, Get metadata of parts of an element in a workspace / version / microversion
|
MetadataGetPartListMetadataResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getPartListMetadata method, Get metadata of parts of an element in a workspace / version / microversion
|
String |
configuration() |
Get Configuration string
|
MetadataGetPartListMetadataRequest.Builder |
configuration(String value) |
Set Configuration string
|
Number |
depth() |
Get Number of levels of hierarchy to populate in metadata REST API response, 1 - simple fields of top level object, 2 - collection and object fields in the top level object, etc.
|
MetadataGetPartListMetadataRequest.Builder |
depth(Number value) |
Set Number of levels of hierarchy to populate in metadata REST API response, 1 - simple fields of top level object, 2 - collection and object fields in the top level object, etc.
|
Number |
detailLevel() |
Get Filter out metadata properties by detail level, 1 - fewer fields, ..., 5 - all fields.
|
MetadataGetPartListMetadataRequest.Builder |
detailLevel(Number value) |
Set Filter out metadata properties by detail level, 1 - fewer fields, ..., 5 - all fields.
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
MetadataGetPartListMetadataRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
Boolean |
noNull() |
Get Filter out empty metadata properties if True.
|
MetadataGetPartListMetadataRequest.Builder |
noNull(Boolean value) |
Set Filter out empty metadata properties if True.
|
Boolean |
thumbnail() |
Get Thumbnails information will be returned if true
|
MetadataGetPartListMetadataRequest.Builder |
thumbnail(Boolean value) |
Set Thumbnails information will be returned if true
|
public final Number depth()
public final MetadataGetPartListMetadataRequest.Builder depth(Number value)
value - Number of levels of hierarchy to populate in metadata REST API response, 1 - simple fields of top level object, 2 - collection and object fields in the top level object, etc.public final Number detailLevel()
public final MetadataGetPartListMetadataRequest.Builder detailLevel(Number value)
value - Filter out metadata properties by detail level, 1 - fewer fields, ..., 5 - all fields.public final Boolean noNull()
public final MetadataGetPartListMetadataRequest.Builder noNull(Boolean value)
value - Filter out empty metadata properties if True.public final Boolean thumbnail()
public final MetadataGetPartListMetadataRequest.Builder thumbnail(Boolean value)
value - Thumbnails information will be returned if truepublic final String linkDocumentId()
public final MetadataGetPartListMetadataRequest.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 String configuration()
public final MetadataGetPartListMetadataRequest.Builder configuration(String value)
value - Configuration stringpublic final MetadataGetPartListMetadataResponse 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 MetadataGetPartListMetadataResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.