public class CreateMetadataTemplateRequestBodyFieldsField extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateMetadataTemplateRequestBodyFieldsField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
A description of the field.
|
protected String |
displayName
The display name of the field as it is shown to the user in the web and mobile apps.
|
protected Boolean |
hidden
Whether this field is hidden in the UI for the user and can only be set through the API
instead.
|
protected String |
key
A unique identifier for the field.
|
protected String |
namespace
The namespace of the metadata taxonomy to use for this taxonomy field.
|
protected List<CreateMetadataTemplateRequestBodyFieldsOptionsField> |
options
A list of options for this field.
|
protected CreateMetadataTemplateRequestBodyFieldsOptionsRulesField |
optionsRules
An object defining additional rules for the options of the taxonomy field.
|
protected String |
taxonomyKey
The unique key of the metadata taxonomy to use for this taxonomy field.
|
protected EnumWrapper<CreateMetadataTemplateRequestBodyFieldsTypeField> |
type
The type of field.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
CreateMetadataTemplateRequestBodyFieldsField(CreateMetadataTemplateRequestBodyFieldsField.Builder builder) |
|
CreateMetadataTemplateRequestBodyFieldsField(CreateMetadataTemplateRequestBodyFieldsTypeField type,
String key,
String displayName) |
|
CreateMetadataTemplateRequestBodyFieldsField(EnumWrapper<CreateMetadataTemplateRequestBodyFieldsTypeField> type,
String key,
String displayName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription() |
String |
getDisplayName() |
Boolean |
getHidden() |
String |
getKey() |
String |
getNamespace() |
List<CreateMetadataTemplateRequestBodyFieldsOptionsField> |
getOptions() |
CreateMetadataTemplateRequestBodyFieldsOptionsRulesField |
getOptionsRules() |
String |
getTaxonomyKey() |
EnumWrapper<CreateMetadataTemplateRequestBodyFieldsTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final EnumWrapper<CreateMetadataTemplateRequestBodyFieldsTypeField> type
Additionally, metadata templates support an `enum` field for a basic list of items, and ` multiSelect` field for a similar list of items where the user can select more than one value.
Metadata taxonomies are also supported as a `taxonomy` field type with a specific set of additional properties, which describe its structure.
protected final String key
protected final String displayName
protected String description
protected Boolean hidden
protected List<CreateMetadataTemplateRequestBodyFieldsOptionsField> options
protected String taxonomyKey
protected String namespace
protected CreateMetadataTemplateRequestBodyFieldsOptionsRulesField optionsRules
public CreateMetadataTemplateRequestBodyFieldsField(CreateMetadataTemplateRequestBodyFieldsTypeField type, String key, String displayName)
public CreateMetadataTemplateRequestBodyFieldsField(EnumWrapper<CreateMetadataTemplateRequestBodyFieldsTypeField> type, String key, String displayName)
protected CreateMetadataTemplateRequestBodyFieldsField(CreateMetadataTemplateRequestBodyFieldsField.Builder builder)
public EnumWrapper<CreateMetadataTemplateRequestBodyFieldsTypeField> getType()
public String getDisplayName()
public String getDescription()
public List<CreateMetadataTemplateRequestBodyFieldsOptionsField> getOptions()
public String getTaxonomyKey()
public String getNamespace()
public CreateMetadataTemplateRequestBodyFieldsOptionsRulesField getOptionsRules()