sdk
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
sdk
sdk
/
ai.abra.sdk.rule
/
Metadata
Metadata
@
JsonClass
(
generateAdapter
=
true
)
data
class
Metadata
(
@
Json
(
name
=
"vendor"
)
val
vendor
:
Vendor
,
@
Json
(
name
=
"rule"
)
val
rule
:
String
,
@
Json
(
name
=
"type"
)
val
type
:
ResultType
,
@
Json
(
name
=
"message"
)
val
message
:
String
)
:
Codable
Members
Constructors
Metadata
Link copied to clipboard
constructor
(
@
Json
(
name
=
"vendor"
)
vendor
:
Vendor
,
@
Json
(
name
=
"rule"
)
rule
:
String
,
@
Json
(
name
=
"type"
)
type
:
ResultType
,
@
Json
(
name
=
"message"
)
message
:
String
)
Properties
message
Link copied to clipboard
val
message
:
String
rule
Link copied to clipboard
val
rule
:
String
type
Link copied to clipboard
val
type
:
ResultType
vendor
Link copied to clipboard
val
vendor
:
Vendor
Functions
to
JSON
Link copied to clipboard
open
fun
toJSON
(
)
:
String
Helper method to convert an object to JSON