FieldType
public enum FieldType : String, Decodable
The possible Field types in a Contentful content type.
-
An array of links or symbols
Declaration
Swift
case array = "Array" -
A link to an Asset
Declaration
Swift
case asset = "Asset" -
A boolean value, true or false
Declaration
Swift
case boolean = "Boolean" -
A date value with optional time component
Declaration
Swift
case date = "Date" -
A link to an Entry
Declaration
Swift
case entry = "Entry" -
A numeric integer value
Declaration
Swift
case integer = "Integer" -
A link to an Asset or Entry
Declaration
Swift
case link = "Link" -
A location value, consists of latitude and longitude
Declaration
Swift
case location = "Location" -
A floating point number value
Declaration
Swift
case number = "Number" -
A JSON object value
Declaration
Swift
case object = "Object" -
A short text string, can be part of an array
Declaration
Swift
case symbol = "Symbol" -
A longer text string
Declaration
Swift
case text = "Text" -
An unknown kind of value
Declaration
Swift
case none = "None" -
The rich text field type.
Declaration
Swift
case richText = "RichText"
View on GitHub
FieldType Enumeration Reference