SecretLab Kotlin
Toggle table of contents
0.4.3
jvm
Platform filter
jvm
Switch theme
Search in API
SecretLab Kotlin
SecretLab Kotlin
/
io.github.vxrpenter.secretlab.data
/
ServerInfo
Server
Info
@
Serializable
data
class
ServerInfo
(
var
response
:
Long
=
0
,
val
success
:
Boolean
=
false
,
val
error
:
String
?
=
null
,
val
cooldown
:
Int
?
=
null
,
val
servers
:
List
<
Server
>
?
=
null
)
(
source
)
Members
Constructors
Server
Info
Link copied to clipboard
constructor
(
response
:
Long
=
0
,
success
:
Boolean
=
false
,
error
:
String
?
=
null
,
cooldown
:
Int
?
=
null
,
servers
:
List
<
Server
>
?
=
null
)
Properties
cooldown
Link copied to clipboard
@
SerialName
(
value
=
"Cooldown"
)
val
cooldown
:
Int
?
=
null
error
Link copied to clipboard
@
SerialName
(
value
=
"Error"
)
val
error
:
String
?
=
null
response
Link copied to clipboard
@
Transient
var
response
:
Long
servers
Link copied to clipboard
@
SerialName
(
value
=
"Servers"
)
val
servers
:
List
<
Server
>
?
=
null
success
Link copied to clipboard
@
SerialName
(
value
=
"Success"
)
val
success
:
Boolean
=
false