parikshan
Toggle table of contents
0.0.2
common
Target filter
common
Switch theme
Search in API
Skip to content
parikshan
parikshan-core
/
io.github.aryapreetam.parikshan.protocol
/
Response
Response
@
Serializable
sealed
interface
Response
Inheritors
Ok
Error
Shutdown
NodeInfo
Tree
Members
Types
Error
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"error"
)
data
class
Error
(
val
id
:
String
,
val
message
:
String
)
:
Response
Node
Info
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"nodeinfo"
)
data
class
NodeInfo
(
val
id
:
String
,
val
bounds
:
Bounds
,
val
visible
:
Boolean
,
val
text
:
String
?
=
null
)
:
Response
Ok
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"ok"
)
data
class
Ok
(
val
id
:
String
)
:
Response
Shutdown
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"shutdown"
)
data
class
Shutdown
(
val
id
:
String
)
:
Response
Tree
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"tree"
)
data
class
Tree
(
val
id
:
String
,
val
nodes
:
List
<
NodeSnapshot
>
)
:
Response
Properties
id
Link copied to clipboard
abstract
val
id
:
String