Device
data class Device(@Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "id") val id: String, @Json(name = "push_provider") val pushProvider: String, @Json(name = "disabled") val disabled: Boolean? = null, @Json(name = "disabled_reason") val disabledReason: String? = null, @Json(name = "push_provider_name") val pushProviderName: String? = null, @Json(name = "voip") val voip: Boolean? = null)
Parameters
createdAt
Date/time of creation
id
pushProvider
disabled
Whether device is disabled or not
disabledReason
Reason explaining why device had been disabled
pushProviderName
voip
When true the token is for Apple VoIP push notifications
Constructors
Link copied to clipboard
constructor(@Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "id") id: String, @Json(name = "push_provider") pushProvider: String, @Json(name = "disabled") disabled: Boolean? = null, @Json(name = "disabled_reason") disabledReason: String? = null, @Json(name = "push_provider_name") pushProviderName: String? = null, @Json(name = "voip") voip: Boolean? = null)