FWComponentModelDTO
protocol FWComponentModelDTO : Decodable, Encodable
Protocol specifying a component’s data structure transfer object.
Used for decoding the object. We recommend keeping both Model and DTO
implementations in the same files, for one is expected to mirror another and
DTO is generally used only within the Model Codable
methods.
-
The UUID of the component.
Declaration
Swift
var id: String? { get set }
-
The title of the component.
Declaration
Swift
var title: String? { get set }
-
A description or subtitle for the component
Declaration
Swift
var description: String? { get set }
-
A Boolean value that determines if the component is required to be filled or not.
Declaration
Swift
var required: Bool? { get set }