DeviceManagementResponse

data class DeviceManagementResponse(val deviceId: String, val provider: DeviceManagementProvider, val platform: String, val appVersion: String?, val language: String, val timezone: String, val tokenHash: String, val creationTime: Calendar, val lastChangeDate: Calendar)

Data class representing a push notification device registration for the authenticated user.

Constructors

Link copied to clipboard
constructor(deviceId: String, provider: DeviceManagementProvider, platform: String, appVersion: String?, language: String, timezone: String, tokenHash: String, creationTime: Calendar, lastChangeDate: Calendar)

Properties

Link copied to clipboard

Application version associated with the device registration, when available.

Link copied to clipboard

The time when the device registration was created.

Link copied to clipboard

Identifier of the push notification device registration.

Link copied to clipboard

Preferred language for notification templates as a lowercase two-letter ISO 639-1 code.

Link copied to clipboard

The time when the device registration was last changed.

Link copied to clipboard

Device platform and OS version (for example Android 14).

Link copied to clipboard

Push notification delivery provider.

Link copied to clipboard

Device timezone used to handle scheduled notifications and sleep hours (IANA identifier).

Link copied to clipboard

SHA-256 hash of the device push notification token, as a lowercase hexadecimal string. The raw token is write-only and is never returned.