public class MetadataTemplate extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataTemplate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
copyInstanceOnItemCopy
Whether or not to include the metadata when a file or folder is copied.
|
protected String |
displayName
The display name of the template.
|
protected List<MetadataTemplateFieldsField> |
fields
An ordered list of template fields which are part of the template.
|
protected Boolean |
hidden
Defines if this template is visible in the Box web app UI, or if it is purely intended for
usage through the API.
|
protected String |
id
The ID of the metadata template.
|
protected String |
scope
The scope of the metadata template can either be `global` or `enterprise_*`.
|
protected String |
templateKey
A unique identifier for the template.
|
protected EnumWrapper<MetadataTemplateTypeField> |
type
The value will always be `metadata_template`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
MetadataTemplate(MetadataTemplate.Builder builder) |
|
MetadataTemplate(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getCopyInstanceOnItemCopy() |
String |
getDisplayName() |
List<MetadataTemplateFieldsField> |
getFields() |
Boolean |
getHidden() |
String |
getId() |
String |
getScope() |
String |
getTemplateKey() |
EnumWrapper<MetadataTemplateTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<MetadataTemplateTypeField> type
protected String scope
protected String templateKey
protected String displayName
protected Boolean hidden
protected List<MetadataTemplateFieldsField> fields
protected Boolean copyInstanceOnItemCopy
public MetadataTemplate(String id)
protected MetadataTemplate(MetadataTemplate.Builder builder)
public EnumWrapper<MetadataTemplateTypeField> getType()
public String getTemplateKey()
public String getDisplayName()
public List<MetadataTemplateFieldsField> getFields()
public Boolean getCopyInstanceOnItemCopy()