ProfileAttribute
public struct ProfileAttribute : Codable, Equatable
Struct representing Profile Attribute related values.
-
The user attritube’s name.
Declaration
Swift
public var name: String -
The user attritube’s label.
Declaration
Swift
public var label: String -
The user attritube’s type.
Declaration
Swift
public var type: String -
The user attritube’s description.
Declaration
Swift
public var description: String -
Boolean representing if the user attribute is read only.
Declaration
Swift
public var isReadOnly: Bool -
Boolean representing if the user attribute is required.
Declaration
Swift
public var isRequired: Bool -
Boolean representing if the user attribute is hidden.
Declaration
Swift
public var isHidden: Bool -
Boolean representing if the user attribute is capitalized.
Declaration
Swift
public var capitalized: Bool -
The user attritube’s max length.
Declaration
Swift
public var maxLength: Int -
Value of the attribute.
Declaration
Swift
public var value: AnyCodable? -
The user attribute’s default value.
Declaration
Swift
public var defaultValue: AnyCodable? -
The user attritube’s domains.
Declaration
Swift
public var domain: ProfileAttribute.Domain? -
The attributes’ categories
Declaration
Swift
public var categories: [ProfileAttribute.Category] -
init(name:label: type: description: isReadOnly: isRequired: isHidden: capitalized: maxLength: value: defaultValue: domain: categories: ) Undocumented
Declaration
Swift
public init(name: String, label: String, type: String, description: String, isReadOnly: Bool, isRequired: Bool, isHidden: Bool, capitalized: Bool, maxLength: Int, value: AnyCodable?, defaultValue: AnyCodable?, domain: ProfileAttribute.Domain?, categories: [ProfileAttribute.Category]) -
Struct representing Profile Attribute Domain related values.
See moreDeclaration
Swift
public struct Domain : Codable, Equatable -
Struct representing Profile Attribute Category
See moreDeclaration
Swift
public struct Category : Codable, Equatable -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
ProfileAttribute Structure Reference