yam-api
Toggle table of contents
1.0.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
yam-api
core
/
su.pank.yamapi.auth
/
DeviceCode
Device
Code
@
Serializable
data
class
DeviceCode
(
val
deviceCode
:
String
,
val
userCode
:
String
,
val
verificationUrl
:
String
,
val
expiresIn
:
Long
,
val
interval
:
Long
)
Device code returned by Yandex OAuth Device Flow.
Members
Constructors
Device
Code
Link copied to clipboard
constructor
(
deviceCode
:
String
,
userCode
:
String
,
verificationUrl
:
String
,
expiresIn
:
Long
,
interval
:
Long
)
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
:
Long
interval
Link copied to clipboard
val
interval
:
Long
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
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String