public static final class MetadataCategoryCreatePropertyRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
String[] |
addToCategoryIds() |
Get List of IDs of the categories to associate this property with
|
MetadataCategoryCreatePropertyRequest.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)
|
MetadataCategoryCreatePropertyRequest.Builder |
blobMimeType(String value) |
Set Blob mime type if valueType == BLOB (7)
|
MetadataCategoryCreatePropertyResponse |
call() |
Calls createProperty method, Create metadata property and associate with categories
|
MetadataCategoryCreatePropertyRequestCategoryPropertyConfigParams |
categoryPropertyConfigParams() |
Get Additional information about property
|
MetadataCategoryCreatePropertyRequest.Builder |
categoryPropertyConfigParams(MetadataCategoryCreatePropertyRequestCategoryPropertyConfigParams value) |
Set Additional information about property
|
String |
description() |
Get Property description
|
MetadataCategoryCreatePropertyRequest.Builder |
description(String value) |
Set Property description
|
Boolean |
editableInMicroversion() |
Get True if this property can be edited in a Microversion
|
MetadataCategoryCreatePropertyRequest.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
|
MetadataCategoryCreatePropertyRequest.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
|
MetadataCategoryCreatePropertyRequest.Builder |
isArray(Boolean value) |
Set True if property is an array type
|
String |
name() |
Get Property name
|
MetadataCategoryCreatePropertyRequest.Builder |
name(String value) |
Set Property name
|
String |
objectDefName() |
Get Object type name if valueType == OBJECT (6)
|
MetadataCategoryCreatePropertyRequest.Builder |
objectDefName(String value) |
Set Object type name if valueType == OBJECT (6)
|
String |
ownerId() |
Get Property owner ID
|
MetadataCategoryCreatePropertyRequest.Builder |
ownerId(String value) |
Set Property owner ID
|
Number |
ownerType() |
Get Property owner type, which can be: 1:company
|
MetadataCategoryCreatePropertyRequest.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
|
MetadataCategoryCreatePropertyRequest.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
|
MetadataCategoryCreatePropertyRequest.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 MetadataCategoryCreatePropertyRequest.Builder name(String value)
value - Property namepublic final String description()
public final MetadataCategoryCreatePropertyRequest.Builder description(String value)
value - Property descriptionpublic final String ownerId()
public final MetadataCategoryCreatePropertyRequest.Builder ownerId(String value)
value - Property owner IDpublic final Number ownerType()
public final MetadataCategoryCreatePropertyRequest.Builder ownerType(Number value)
value - Property owner type, which can be: 1:companypublic final Number valueType()
public final MetadataCategoryCreatePropertyRequest.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 MetadataCategoryCreatePropertyRequest.Builder isArray(Boolean value)
value - True if property is an array typepublic final String objectDefName()
public final MetadataCategoryCreatePropertyRequest.Builder objectDefName(String value)
value - Object type name if valueType == OBJECT (6)public final String blobMimeType()
public final MetadataCategoryCreatePropertyRequest.Builder blobMimeType(String value)
value - Blob mime type if valueType == BLOB (7)public final Boolean editableInVersion()
public final MetadataCategoryCreatePropertyRequest.Builder editableInVersion(Boolean value)
value - True if this property can be edited in a Versionpublic final Boolean editableInMicroversion()
public final MetadataCategoryCreatePropertyRequest.Builder editableInMicroversion(Boolean value)
value - True if this property can be edited in a Microversionpublic final MetadataCategoryCreatePropertyRequestCategoryPropertyConfigParams categoryPropertyConfigParams()
public final MetadataCategoryCreatePropertyRequest.Builder categoryPropertyConfigParams(MetadataCategoryCreatePropertyRequestCategoryPropertyConfigParams value)
value - Additional information about propertypublic final String[] addToCategoryIds()
public final MetadataCategoryCreatePropertyRequest.Builder addToCategoryIds(String[] value)
value - List of IDs of the categories to associate this property withpublic final String[] removeFromCategoryIds()
public final MetadataCategoryCreatePropertyRequest.Builder removeFromCategoryIds(String[] value)
value - List of IDs of the categories to dis-associate this property frompublic final MetadataCategoryCreatePropertyResponse call() throws OnshapeException
OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.