api
Toggle table of contents
24fdbeb5d0
jvm
Platform filter
jvm
Switch theme
Search in API
api
api
/
host.minestudio.frost.api.config
/
SwitchConfig
Switch
Config
@
Serializable
@
SerialName
(
value
=
"switch"
)
data
class
SwitchConfig
(
val
id
:
String
,
val
label
:
String
,
val
description
:
String
?
=
null
,
val
defaultValue
:
JsonElement
?
=
null
,
val
disabled
:
Boolean
?
=
null
,
val
info
:
JsonElement
?
=
null
)
:
SettingConfig
Members
Constructors
Switch
Config
Link copied to clipboard
constructor
(
id
:
String
,
label
:
String
,
description
:
String
?
=
null
,
defaultValue
:
JsonElement
?
=
null
,
disabled
:
Boolean
?
=
null
,
info
:
JsonElement
?
=
null
)
Properties
default
Value
Link copied to clipboard
open
override
val
defaultValue
:
JsonElement
?
=
null
description
Link copied to clipboard
open
override
val
description
:
String
?
=
null
disabled
Link copied to clipboard
open
override
val
disabled
:
Boolean
?
=
null
id
Link copied to clipboard
open
override
val
id
:
String
info
Link copied to clipboard
open
override
val
info
:
JsonElement
?
=
null
label
Link copied to clipboard
open
override
val
label
:
String