Client
public struct Client: Codable
Representation of a client stored in ThinCloud.
-
The reverse-DNS style bundle identifier of the application.
Declaration
Swift
public let applicationName: String
-
The version of the application.
Declaration
Swift
public let applicationVersion: String
-
The model of the mobile device associated with the client.
Declaration
Swift
public let deviceModel: String
-
The platform of the mobile device.
Declaration
Swift
public let devicePlatform: String
-
The platform version of the mobile device.
Declaration
Swift
public let deviceVersion: String
-
The push token of the mobile device. On Apple platforms, this is the APNs token.
Declaration
Swift
public let deviceToken: String
-
The unique ID of the mobile device associated with the client. On Apple platforms, this is identifierForVendor.
Declaration
Swift
public let installId: String
-
Key-value pairs of customer specified metadata.
Declaration
Swift
public let metadata: [String: AnyCodable]?
-
ThinCloud created client identifier.
Declaration
Swift
public let clientId: String?
-
ThinCloud created user identifier.
Declaration
Swift
public let userId: String?
-
Date the client was created.
Declaration
Swift
public let createdAt: Date?
-
Date the client was last updated.
Declaration
Swift
public let updatedAt: Date?