Drift Engine Documentation
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Drift Engine Documentation
core
/
dev.gmitch215.drift.model
/
Capsule
Capsule
data
class
Capsule
(
val
label
:
String
,
val
attributes
:
List
<
Attribute
>
,
val
probes
:
List
<
ProbeResult
>
=
emptyList()
)
(
source
)
Members
Constructors
Capsule
Link copied to clipboard
constructor
(
label
:
String
,
attributes
:
List
<
Attribute
>
,
probes
:
List
<
ProbeResult
>
=
emptyList()
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
attributes
Link copied to clipboard
val
attributes
:
List
<
Attribute
>
label
Link copied to clipboard
val
label
:
String
probes
Link copied to clipboard
val
probes
:
List
<
ProbeResult
>
Functions
canonical
Link copied to clipboard
fun
canonical
(
)
:
String
hash
Link copied to clipboard
fun
hash
(
)
:
String
to
Json
Link copied to clipboard
fun
toJson
(
)
:
JsonObject