public static final class MetadataCategoryGetPropertiesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
Boolean |
activeOnly() |
Get If true, only active properties for the specified categories will be returned.
|
MetadataCategoryGetPropertiesRequest.Builder |
activeOnly(Boolean value) |
Set If true, only active properties for the specified categories will be returned.
|
MetadataCategoryGetPropertiesResponse |
call(String ownerId,
Number ownerType) |
Calls getProperties method, Get metadata properties
|
String |
documentId() |
Get ID of the document in context to validate permissions.
|
MetadataCategoryGetPropertiesRequest.Builder |
documentId(String value) |
Set ID of the document in context to validate permissions.
|
Boolean |
includeOnshape() |
Get Flag whether to include or exclude Onshape properties
|
MetadataCategoryGetPropertiesRequest.Builder |
includeOnshape(Boolean value) |
Set Flag whether to include or exclude Onshape properties
|
Number |
limit() |
Get Number of results to return per page (max is 200)
|
MetadataCategoryGetPropertiesRequest.Builder |
limit(Number value) |
Set Number of results to return per page (max is 200)
|
Number |
offset() |
Get Where to begin search results
|
MetadataCategoryGetPropertiesRequest.Builder |
offset(Number value) |
Set Where to begin search results
|
public final String documentId()
public final MetadataCategoryGetPropertiesRequest.Builder documentId(String value)
value - ID of the document in context to validate permissions.public final Boolean activeOnly()
public final MetadataCategoryGetPropertiesRequest.Builder activeOnly(Boolean value)
value - If true, only active properties for the specified categories will be returned. If false, all properties will be returned.public final Boolean includeOnshape()
public final MetadataCategoryGetPropertiesRequest.Builder includeOnshape(Boolean value)
value - Flag whether to include or exclude Onshape propertiespublic final Number offset()
public final MetadataCategoryGetPropertiesRequest.Builder offset(Number value)
value - Where to begin search resultspublic final Number limit()
public final MetadataCategoryGetPropertiesRequest.Builder limit(Number value)
value - Number of results to return per page (max is 200)public final MetadataCategoryGetPropertiesResponse call(String ownerId, Number ownerType) throws OnshapeException
ownerId - Owner ID. Must be specified. (Default: null)ownerType - Schema owner type must be 1 company which is the default. (Default: null)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.