BoxMetadata Type
A Box metadata item.
Remarks
This type represents a Box metadata item.
Fields
containerSchema String |
The schema of the metadata item's container. This property specifies the metadata of the schema item's container. | ||||||||||||||
containerScope String |
The scope that the metadata item's container resides in. This property specifies the scope that the metadata item's container resides in. | ||||||||||||||
modOp BoxMetadataModOps |
The modification operation to perform on the metadata item. This property specifies which modification operation should be performed for the metadata item when UpdateMetadata is called. Possible values are:
Refer to UpdateMetadata for more information. | ||||||||||||||
name String |
The name of the metadata item. This property specifies the name of the metadata item. It cannot begin with the $ character. This property may be used as input when CreateMetadata or UpdateMetadata is called. | ||||||||||||||
resourceId String |
The Id of the resource the metadata item is associated with. This property specifies the Id of the resource the metadata item is associated with. | ||||||||||||||
sourceName String |
The name of another metadata item from which to copy or move a value. This property specifies the name of another metadata item whose value should be copied or moved to this one. It cannot begin with the $ character. This property may be used as input when UpdateMetadata is called if the ModOp property is set to one of the following:
| ||||||||||||||
value String |
The value of the metadata item. This property specifies the value of the metadata item. This property may be used as input when CreateMetadata or UpdateMetadata is called if the ModOp property is set to one of the following:
When this property's value is sent to the server, it is encoded according to the ValueType property. | ||||||||||||||
valueType BoxMetadataTypes |
The type of the metadata item's value. This property specifies the type of the metadata item's value, and controls how the class encodes Value when submitting it to the server. Possible values, and their corresponding Box types, are:
The Value property should hold a comma-separated list of strings when this property is set to 2 (mtMultiSelect). This property may be used as input when CreateMetadata or UpdateMetadata is called if the ModOp property is set to one of the following:
Important: Box only allows string-typed metadata items in the /global/properties metadata container; the class will always ignore this property and encode metadata items as strings when creating or updating the /global/properties container. |
Constructors
public init()