lib
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
lib
lib
/
app.moviebase.trakt.model
/
TraktDeviceCode
Trakt
Device
Code
@
Serializable
data
class
TraktDeviceCode
(
val
deviceCode
:
String
,
val
userCode
:
String
,
val
verificationUrl
:
String
,
val
expiresIn
:
Int
,
val
interval
:
Int
)
Response from device code generation endpoint.
Members
Constructors
Trakt
Device
Code
Link copied to clipboard
constructor
(
deviceCode
:
String
,
userCode
:
String
,
verificationUrl
:
String
,
expiresIn
:
Int
,
interval
:
Int
)
Properties
device
Code
Link copied to clipboard
@
SerialName
(
value
=
"device_code"
)
val
deviceCode
:
String
expires
In
Link copied to clipboard
@
SerialName
(
value
=
"expires_in"
)
val
expiresIn
:
Int
interval
Link copied to clipboard
@
SerialName
(
value
=
"interval"
)
val
interval
:
Int
user
Code
Link copied to clipboard
@
SerialName
(
value
=
"user_code"
)
val
userCode
:
String
verification
Url
Link copied to clipboard
@
SerialName
(
value
=
"verification_url"
)
val
verificationUrl
:
String