CreateDeviceRequest

data class CreateDeviceRequest(@Json(name = "id") val id: String? = null, @Json(name = "push_provider") val pushProvider: CreateDeviceRequest.PushProvider? = null, @Json(name = "push_provider_name") val pushProviderName: String? = null, @Json(name = "user") val user: UserRequest? = null, @Json(name = "user_id") val userId: String? = null, @Json(name = "voip_token") val voipToken: Boolean? = null)

Parameters

id
pushProvider
pushProviderName
user
userId
voipToken

Constructors

Link copied to clipboard
constructor(@Json(name = "id") id: String? = null, @Json(name = "push_provider") pushProvider: CreateDeviceRequest.PushProvider? = null, @Json(name = "push_provider_name") pushProviderName: String? = null, @Json(name = "user") user: UserRequest? = null, @Json(name = "user_id") userId: String? = null, @Json(name = "voip_token") voipToken: Boolean? = null)

Types

Link copied to clipboard
sealed class PushProvider

Values: firebase,apn,huawei,xiaomi

Properties

Link copied to clipboard
val id: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val user: UserRequest? = null
Link copied to clipboard
val userId: String? = null
Link copied to clipboard
val voipToken: Boolean? = null