DeviceAuthorizationRequest

data class DeviceAuthorizationRequest(    @Json(name = "device_code") val deviceCode: String,     @Json(name = "user_code") val userCode: String,     @Json(name = "verification_uri") val verificationUri: String,     @Json(name = "verification_uri_complete") val verificationUriComplete: String?,     @Json(name = "expires_in") val expiresIn: Int,     val interval: Int?)

Constructors

Link copied to clipboard
fun DeviceAuthorizationRequest(    @Json(name = "device_code") deviceCode: String,     @Json(name = "user_code") userCode: String,     @Json(name = "verification_uri") verificationUri: String,     @Json(name = "verification_uri_complete") verificationUriComplete: String?,     @Json(name = "expires_in") expiresIn: Int,     interval: Int?)

Properties

Link copied to clipboard
val deviceCode: String
Link copied to clipboard
val expiresIn: Int
Link copied to clipboard
val interval: Int?
Link copied to clipboard
val userCode: String
Link copied to clipboard
val verificationUri: String
Link copied to clipboard
val verificationUriComplete: String?

Extensions

Link copied to clipboard
fun DeviceAuthorizationRequest.createQrCode(    width: Int,     height: Int,     contrastLow: Int? = null,     contrastHigh: Int? = null): Bitmap