Attribute
public struct Attribute : UpdateProfileChallengeAttribute, Equatable
Struct representing a profile attribute for Update Profile Challenges.
-
The profile attritube’s name.
Declaration
Swift
public var name: String
-
The profile attritube’s label.
Declaration
Swift
public var label: String
-
The profile attritube’s description.
Declaration
Swift
public var description: String
-
The profile attribute’s default value.
Declaration
Swift
public var defaultValue: AnyCodable?
-
The profile attribute’s type
Declaration
Swift
public var type: String
-
Boolean representing if the profile attribute is read only.
Declaration
Swift
public var isReadOnly: Bool
-
Undocumented
Declaration
Swift
public var expression: String
-
Undocumented
Declaration
Swift
public var timeToLive: String
-
Value of the profile attribute.
Declaration
Swift
public var value: AnyCodable?
-
Boolean representing if the profile attribute is optional.
Declaration
Swift
public var isOptional: Bool
-
Undocumented
Declaration
Swift
public init(name: String, label: String, description: String, defaultValue: AnyCodable, type: String, isReadOnly: Bool, expression: String, timeToLive: String, value: AnyCodable, isOptional: Bool)
-
Declaration
Swift
public init(from decoder: Decoder) throws