MetadataField
public struct MetadataField : BoxInnerModel
A field in a metadata template.
-
Identfier
Declaration
Swift
public let id: String? -
The data type of the field’s value.
Declaration
Swift
public let type: String? -
A unique identifier for the field. The identifier must be unique within the template to which it belongs.
Declaration
Swift
public let key: String? -
The display name of the field.
Declaration
Swift
public let displayName: String? -
A description of the field.
Declaration
Swift
public let description: String? -
For type enum, a list of all possible value
Declaration
Swift
public let options: [[String : String]]? -
Whether this template is hidden in the UI
Declaration
Swift
public let hidden: Bool? -
Initializer.
Declaration
Swift
public init( id: String? = nil, type: String? = nil, key: String? = nil, displayName: String? = nil, description: String? = nil, options: [[String: String]]? = nil, hidden: Bool? = nil )Parameters
idIdentfier
typeThe data type of the field’s value.
keyA unique identifier for the field. The identifier must be unique within the template to which it belongs.
displayNameThe display name of the field. All characters are allowed.
descriptionA description of the field. The recommended character limit is 4096. All characters are allowed.
optionsFor type enum, a list of all possible values.
hiddenWhether this template is hidden in the UI.
MetadataField Structure Reference