AccountUpdateRequest
public struct AccountUpdateRequest : Encodable
User update request model.
-
The external ID of this user in your platform.
Declaration
Swift
public var externalId: String?
-
Structure containing account information.
Declaration
Swift
public var information: AccountUpdateInformation
-
Account metadata. Be aware that updating this value will override all the fields.
Declaration
Swift
public var metadata: [String : Any]?
-
Auxiliary constructor.
Declaration
Swift
public init(information: AccountUpdateInformation, metadata: [String: Any]? = nil, externalId: String? = nil)
Parameters
information
Structure containing account information.
metadata
Account metadata. Be aware that updating this value will override all the fields.
externalId
The external ID of this user in your platform.
-
Encodes the instance by encoding to the given decoder.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
The encoder to write data to.