Field
open class Field : Codable
Represents a Field in Moltin
-
The id of this field
Declaration
Swift
public let id: String -
The type of this object
Declaration
Swift
public let type: String -
The type of this field - string / integer / boolean / float / date / relationship
Declaration
Swift
public let fieldType: String -
The slug for this field
Declaration
Swift
public let slug: String -
The name for this field
Declaration
Swift
public let name: String -
The description of this field
Declaration
Swift
public let description: String -
Whether this field is required or not
Declaration
Swift
public let required: Bool -
Whether this field is unique or not
Declaration
Swift
public let unique: Bool -
Whether this field is enabled or not
Declaration
Swift
public let enabled: Bool -
The relationships for this Field
Declaration
Swift
public let relationships: Relationships? -
The meta information for this Field
Declaration
Swift
public let meta: FieldMeta?
View on GitHub
Field Class Reference