AccountUpdateRequest

public struct AccountUpdateRequest : Encodable

User update request model.

  • The external ID of this user in your platform.

    Declaration

    Swift

    public var externalId: String?
  • The Profile that this Account should be updated to.

    Declaration

    Swift

    public var profile: 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,
                profile: String? = nil,
                metadata: [String: Any]? = nil,
                externalId: String? = nil)

    Parameters

    information

    Structure containing account information.

    profile

    The Profile that this Account should be updated to.

    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.