toggle menu
trixnity-clientserverapi-model
4.11.2
common
switch theme
search in API
trixnity-clientserverapi-model
/
net.folivo.trixnity.clientserverapi.model.authentication
/
Login
/
Request
Request
@
Serializable
data
class
Request
(
val
type
:
String
,
val
identifier
:
IdentifierType
?
=
null
,
val
password
:
String
?
=
null
,
val
refreshToken
:
Boolean
?
=
null
,
val
token
:
String
?
=
null
,
val
deviceId
:
String
?
=
null
,
val
initialDeviceDisplayName
:
String
?
=
null
)
Members
Constructors
Request
Link copied to clipboard
constructor
(
type
:
String
,
identifier
:
IdentifierType
?
=
null
,
password
:
String
?
=
null
,
refreshToken
:
Boolean
?
=
null
,
token
:
String
?
=
null
,
deviceId
:
String
?
=
null
,
initialDeviceDisplayName
:
String
?
=
null
)
Properties
device
Id
Link copied to clipboard
@
SerialName
(
value
=
"device_id"
)
val
deviceId
:
String
?
=
null
identifier
Link copied to clipboard
@
SerialName
(
value
=
"identifier"
)
val
identifier
:
IdentifierType
?
=
null
initial
Device
Display
Name
Link copied to clipboard
@
SerialName
(
value
=
"initial_device_display_name"
)
val
initialDeviceDisplayName
:
String
?
=
null
password
Link copied to clipboard
@
SerialName
(
value
=
"password"
)
val
password
:
String
?
=
null
refresh
Token
Link copied to clipboard
@
SerialName
(
value
=
"refresh_token"
)
val
refreshToken
:
Boolean
?
=
null
token
Link copied to clipboard
@
SerialName
(
value
=
"token"
)
val
token
:
String
?
=
null
type
Link copied to clipboard
@
SerialName
(
value
=
"type"
)
val
type
:
String