-
The ID of the device.
Declaration
Swift
public let id: String -
The name of the device.
Declaration
Swift
public var deviceName: String -
The URL suffix for the device.
Declaration
Swift
public let urlSuffix: String -
The UUID of the device.
Declaration
Swift
public let uuid: String -
The credential ID of the device.
Declaration
Swift
public let credentialId: String -
The creation date of the device in seconds (converted from server milliseconds).
Declaration
Swift
public let createdDate: TimeInterval -
The last access date of the device in seconds (converted from server milliseconds).
Declaration
Swift
public let lastAccessDate: TimeInterval -
Creates a new instance by decoding from the given decoder. This initializer throws an error if reading from the decoder fails, or if the data read is corrupted or otherwise invalid.
Declaration
Swift
public init(from decoder: any Decoder) throwsParameters
decoderThe decoder to read data from.
-
Encodes this value into the given encoder.
Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
View on GitHub