public class MetadataTemplateFieldsField extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataTemplateFieldsField.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 |
id
The unique ID of the metadata template field.
|
protected String |
key
A unique identifier for the field.
|
protected List<MetadataTemplateFieldsOptionsField> |
options
A list of options for this field.
|
protected EnumWrapper<MetadataTemplateFieldsTypeField> |
type
The type of field.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
MetadataTemplateFieldsField(EnumWrapper<MetadataTemplateFieldsTypeField> type,
String key,
String displayName) |
protected |
MetadataTemplateFieldsField(MetadataTemplateFieldsField.Builder builder) |
|
MetadataTemplateFieldsField(MetadataTemplateFieldsTypeField type,
String key,
String displayName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDescription() |
String |
getDisplayName() |
Boolean |
getHidden() |
String |
getId() |
String |
getKey() |
List<MetadataTemplateFieldsOptionsField> |
getOptions() |
EnumWrapper<MetadataTemplateFieldsTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final EnumWrapper<MetadataTemplateFieldsTypeField> 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.
**Note**: The `integer` value is deprecated. It is still present in the response, but cannot be used in the POST request.
protected final String key
protected final String displayName
protected String description
protected Boolean hidden
protected List<MetadataTemplateFieldsOptionsField> options
public MetadataTemplateFieldsField(MetadataTemplateFieldsTypeField type, String key, String displayName)
public MetadataTemplateFieldsField(EnumWrapper<MetadataTemplateFieldsTypeField> type, String key, String displayName)
protected MetadataTemplateFieldsField(MetadataTemplateFieldsField.Builder builder)
public EnumWrapper<MetadataTemplateFieldsTypeField> getType()
public String getDisplayName()
public String getDescription()
public List<MetadataTemplateFieldsOptionsField> getOptions()