public static final class MetadataGetMetadataSchemaPropertiesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
Boolean |
activeOnly() |
Get If true, only active properties for this particular schema or ownerId will be returned.
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
activeOnly(Boolean value) |
Set If true, only active properties for this particular schema or ownerId will be returned.
|
MetadataGetMetadataSchemaPropertiesResponse |
call() |
Calls getMetadataSchemaProperties method, Get metadata properties
|
String |
documentId() |
Get ID of the document the schema is associated with.
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
documentId(String value) |
Set ID of the document the schema is associated with.
|
Number |
limit() |
Get Number of results to return per page (max is 20)
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
limit(Number value) |
Set Number of results to return per page (max is 20)
|
Number |
objectType() |
Get Metadata object type.
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
objectType(Number value) |
Set Metadata object type.
|
Number |
offset() |
Get Where to begin search results
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
offset(Number value) |
Set Where to begin search results
|
String |
ownerId() |
Get Schema owner ID.
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
ownerId(String value) |
Set Schema owner ID.
|
Number |
ownerType() |
Get Schema owner type must be 1 company.
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
ownerType(Number value) |
Set Schema owner type must be 1 company.
|
String |
schemaId() |
Get Metadata schema ID.
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
schemaId(String value) |
Set Metadata schema ID.
|
Boolean |
strict() |
Get If true, only properties for this particular schema or ownerId will be returned.
|
MetadataGetMetadataSchemaPropertiesRequest.Builder |
strict(Boolean value) |
Set If true, only properties for this particular schema or ownerId will be returned.
|
public final String schemaId()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder schemaId(String value)
value - Metadata schema ID. Must be specified if ownerId is blank.public final String ownerId()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder ownerId(String value)
value - Schema owner ID. Must be specified if schemaId is blank.public final Number ownerType()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder ownerType(Number value)
value - Schema owner type must be 1 company. Should only be specified if ownerId is specified.public final Number objectType()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder objectType(Number value)
value - Metadata object type. Should only be specified if ownerId is specified. If schemaId is specified, this parameter is ignored. If null, properties for all types will be returned. If specified, must be one of the following: 0:GLOBAL, 1:DOCUMENT, 2:PART, 3:ASSEMBLY, 4:DRAWING, 5:PART_STUDIO, 6: BLOB_ELEMENT, 7:APP_ELEMENT, 8:VERSION, 9:WORKSPACE If false, properties will be returned with full detail, including property configs.public final Boolean strict()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder strict(Boolean value)
value - If true, only properties for this particular schema or ownerId will be returned. If false, all inherited properties will be returned.public final Boolean activeOnly()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder activeOnly(Boolean value)
value - If true, only active properties for this particular schema or ownerId will be returned. If false, all properties will be returned.public final String documentId()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder documentId(String value)
value - ID of the document the schema is associated with.public final Number offset()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder offset(Number value)
value - Where to begin search resultspublic final Number limit()
public final MetadataGetMetadataSchemaPropertiesRequest.Builder limit(Number value)
value - Number of results to return per page (max is 20)public final MetadataGetMetadataSchemaPropertiesResponse call() throws OnshapeException
OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.