public static final class MetadataGetStandardContentMetadataRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
MetadataGetStandardContentMetadataResponse |
call(OnshapeDocument document,
String pid,
String vid,
String oid) |
Calls getStandardContentMetadata method, Get metadata of a standard content part in a version
|
MetadataGetStandardContentMetadataResponse |
call(String pid,
String did,
String vid,
String eid,
CU cuType,
String oid) |
Calls getStandardContentMetadata method, Get metadata of a standard content part in a version
|
String |
configuration() |
Get Configuration string
|
MetadataGetStandardContentMetadataRequest.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.
|
MetadataGetStandardContentMetadataRequest.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.
|
MetadataGetStandardContentMetadataRequest.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.
|
MetadataGetStandardContentMetadataRequest.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.
|
MetadataGetStandardContentMetadataRequest.Builder |
noNull(Boolean value) |
Set Filter out empty metadata properties if True.
|
Boolean |
thumbnail() |
Get Thumbnails information will be returned if true
|
MetadataGetStandardContentMetadataRequest.Builder |
thumbnail(Boolean value) |
Set Thumbnails information will be returned if true
|
public final Number depth()
public final MetadataGetStandardContentMetadataRequest.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 MetadataGetStandardContentMetadataRequest.Builder detailLevel(Number value)
value - Filter out metadata properties by detail level, 1 - fewer fields, ..., 5 - all fields.public final Boolean noNull()
public final MetadataGetStandardContentMetadataRequest.Builder noNull(Boolean value)
value - Filter out empty metadata properties if True.public final Boolean thumbnail()
public final MetadataGetStandardContentMetadataRequest.Builder thumbnail(Boolean value)
value - Thumbnails information will be returned if truepublic final String linkDocumentId()
public final MetadataGetStandardContentMetadataRequest.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 MetadataGetStandardContentMetadataRequest.Builder configuration(String value)
value - Configuration stringpublic final MetadataGetStandardContentMetadataResponse call(String pid, String did, String vid, String eid, CU cuType, String oid) throws OnshapeException
pid - Part IDdid - Document IDvid - Version IDeid - Element IDcuType - Type of Company or Useroid - Company (c) or User (u) ID of metadata ownerOnshapeException - On HTTP or serialization errorpublic final MetadataGetStandardContentMetadataResponse call(OnshapeDocument document, String pid, String vid, String oid) throws OnshapeException
document - Document object from Onshape URL.pid - Part IDvid - Version IDoid - Company (c) or User (u) ID of metadata ownerOnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.