public static final class MetadataCategoryUpdatePropertyRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
String[] |
addToCategoryIds() |
Get List of IDs of the categories to associate this property with
|
MetadataCategoryUpdatePropertyRequest.Builder |
addToCategoryIds(String[] value) |
Set List of IDs of the categories to associate this property with
|
String |
blobMimeType() |
Get Blob mime type if valueType == BLOB (7)
|
MetadataCategoryUpdatePropertyRequest.Builder |
blobMimeType(String value) |
Set Blob mime type if valueType == BLOB (7)
|
MetadataCategoryUpdatePropertyResponse |
call(String pid,
String Requesting) |
Calls updateProperty method, Update metadata property and associate or disassociate with/from categories
|
MetadataCategoryUpdatePropertyRequestCategoryPropertyConfigParams |
categoryPropertyConfigParams() |
Get Additional information about property
|
MetadataCategoryUpdatePropertyRequest.Builder |
categoryPropertyConfigParams(MetadataCategoryUpdatePropertyRequestCategoryPropertyConfigParams value) |
Set Additional information about property
|
String |
description() |
Get Property description
|
MetadataCategoryUpdatePropertyRequest.Builder |
description(String value) |
Set Property description
|
Boolean |
editableInMicroversion() |
Get True if this property can be edited in a Microversion
|
MetadataCategoryUpdatePropertyRequest.Builder |
editableInMicroversion(Boolean value) |
Set True if this property can be edited in a Microversion
|
Boolean |
editableInVersion() |
Get True if this property can be edited in a Version
|
MetadataCategoryUpdatePropertyRequest.Builder |
editableInVersion(Boolean value) |
Set True if this property can be edited in a Version
|
Boolean |
isArray() |
Get True if property is an array type
|
MetadataCategoryUpdatePropertyRequest.Builder |
isArray(Boolean value) |
Set True if property is an array type
|
String |
name() |
Get Property name
|
MetadataCategoryUpdatePropertyRequest.Builder |
name(String value) |
Set Property name
|
String |
objectDefName() |
Get Object type name if valueType == OBJECT (6)
|
MetadataCategoryUpdatePropertyRequest.Builder |
objectDefName(String value) |
Set Object type name if valueType == OBJECT (6)
|
String |
ownerId() |
Get Property owner ID
|
MetadataCategoryUpdatePropertyRequest.Builder |
ownerId(String value) |
Set Property owner ID
|
Number |
ownerType() |
Get Property owner type, which can be: 1:company
|
MetadataCategoryUpdatePropertyRequest.Builder |
ownerType(Number value) |
Set Property owner type, which can be: 1:company
|
String[] |
removeFromCategoryIds() |
Get List of IDs of the categories to dis-associate this property from
|
MetadataCategoryUpdatePropertyRequest.Builder |
removeFromCategoryIds(String[] value) |
Set List of IDs of the categories to dis-associate this property from
|
Number |
valueType() |
Get Value type of property, which can be: 0:STRING, 1:BOOL, 2:INT, 3:DOUBLE, 4:DATE, 5:ENUM, 6:OBJECT, 7:BLOB, 8:USER
|
MetadataCategoryUpdatePropertyRequest.Builder |
valueType(Number value) |
Set Value type of property, which can be: 0:STRING, 1:BOOL, 2:INT, 3:DOUBLE, 4:DATE, 5:ENUM, 6:OBJECT, 7:BLOB, 8:USER
|
public final String name()
public final MetadataCategoryUpdatePropertyRequest.Builder name(String value)
value - Property namepublic final String description()
public final MetadataCategoryUpdatePropertyRequest.Builder description(String value)
value - Property descriptionpublic final String ownerId()
public final MetadataCategoryUpdatePropertyRequest.Builder ownerId(String value)
value - Property owner IDpublic final Number ownerType()
public final MetadataCategoryUpdatePropertyRequest.Builder ownerType(Number value)
value - Property owner type, which can be: 1:companypublic final Number valueType()
public final MetadataCategoryUpdatePropertyRequest.Builder valueType(Number value)
value - Value type of property, which can be: 0:STRING, 1:BOOL, 2:INT, 3:DOUBLE, 4:DATE, 5:ENUM, 6:OBJECT, 7:BLOB, 8:USERpublic final Boolean isArray()
public final MetadataCategoryUpdatePropertyRequest.Builder isArray(Boolean value)
value - True if property is an array typepublic final String objectDefName()
public final MetadataCategoryUpdatePropertyRequest.Builder objectDefName(String value)
value - Object type name if valueType == OBJECT (6)public final String blobMimeType()
public final MetadataCategoryUpdatePropertyRequest.Builder blobMimeType(String value)
value - Blob mime type if valueType == BLOB (7)public final Boolean editableInVersion()
public final MetadataCategoryUpdatePropertyRequest.Builder editableInVersion(Boolean value)
value - True if this property can be edited in a Versionpublic final Boolean editableInMicroversion()
public final MetadataCategoryUpdatePropertyRequest.Builder editableInMicroversion(Boolean value)
value - True if this property can be edited in a Microversionpublic final MetadataCategoryUpdatePropertyRequestCategoryPropertyConfigParams categoryPropertyConfigParams()
public final MetadataCategoryUpdatePropertyRequest.Builder categoryPropertyConfigParams(MetadataCategoryUpdatePropertyRequestCategoryPropertyConfigParams value)
value - Additional information about propertypublic final String[] addToCategoryIds()
public final MetadataCategoryUpdatePropertyRequest.Builder addToCategoryIds(String[] value)
value - List of IDs of the categories to associate this property withpublic final String[] removeFromCategoryIds()
public final MetadataCategoryUpdatePropertyRequest.Builder removeFromCategoryIds(String[] value)
value - List of IDs of the categories to dis-associate this property frompublic final MetadataCategoryUpdatePropertyResponse call(String pid, String Requesting) throws OnshapeException
pid - Property IDRequesting - owner id, required (Default: null)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.