public static final class MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
MetadataCategoryGetMetadataCategoryPropertiesResponse |
call(String ownerId,
Number ownerType,
String[] categoryIds) |
Calls getMetadataCategoryProperties method, Get metadata category properties
|
String |
documentId() |
Get ID of the document the categories are associated with.
|
MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder |
documentId(String value) |
Set ID of the document the categories are associated with.
|
Boolean |
includeComputedProperties() |
Get If true, computed properties will be included in results
|
MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder |
includeComputedProperties(Boolean value) |
Set If true, computed properties will be included in results
|
Boolean |
includeObjectTypeDefaults() |
Get Default properties for the <code>objectType</code> specified should be included in the response
|
MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder |
includeObjectTypeDefaults(Boolean value) |
Set Default properties for the <code>objectType</code> specified should be included in the response
|
Boolean |
includePartPropertiesTableOnlyProperties() |
Get If true, properties found in the part properties table wil be included in the results
|
MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder |
includePartPropertiesTableOnlyProperties(Boolean value) |
Set If true, properties found in the part properties table wil be included in the results
|
Number |
objectType() |
Get Metadata object type.
|
MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder |
objectType(Number value) |
Set Metadata object type.
|
Boolean |
onlyActive() |
Get If true, only active properties will be returned
|
MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder |
onlyActive(Boolean value) |
Set If true, only active properties will be returned
|
Boolean |
strict() |
Get If true: only those properties reachable by the specified category ids will be included.
|
MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder |
strict(Boolean value) |
Set If true: only those properties reachable by the specified category ids will be included.
|
public final String documentId()
public final MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder documentId(String value)
value - ID of the document the categories are associated with.public final Number objectType()
public final MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder objectType(Number value)
value - Metadata object type. Optional but if specified it must be any BTMetadataObjectType enum ordinal except GLOBAL.public final Boolean strict()
public final MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder strict(Boolean value)
value - If true: only those properties reachable by the specified category ids will be included. Otherwise: category properties, system properties, global defaults and, if <code>includeObjectTypeDefaults</code> is true, default properties for the objectType will be includedpublic final Boolean includeObjectTypeDefaults()
public final MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder includeObjectTypeDefaults(Boolean value)
value - Default properties for the <code>objectType</code> specified should be included in the responsepublic final Boolean includeComputedProperties()
public final MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder includeComputedProperties(Boolean value)
value - If true, computed properties will be included in resultspublic final Boolean includePartPropertiesTableOnlyProperties()
public final MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder includePartPropertiesTableOnlyProperties(Boolean value)
value - If true, properties found in the part properties table wil be included in the resultspublic final Boolean onlyActive()
public final MetadataCategoryGetMetadataCategoryPropertiesRequest.Builder onlyActive(Boolean value)
value - If true, only active properties will be returnedpublic final MetadataCategoryGetMetadataCategoryPropertiesResponse call(String ownerId, Number ownerType, String[] categoryIds) throws OnshapeException
ownerId - Owner ID. Must be specified. (Default: null)ownerType - Schema owner type must be 1 company which is the default. (Default: null)categoryIds - Metadata category IDs, must be specified if <code>strict</code> is true (Default: null)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.