sdk
Toggle table of contents
1.3.2
Select version
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.1.1
1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
sdk
sdk
/
ai.abra.sdk.rule
/
Metadata
Metadata
@
JsonClass
(
generateAdapter
=
true
)
data
class
Metadata
(
@
Json
(
name
=
"rule"
)
val
rule
:
Rules
,
@
Json
(
name
=
"type"
)
val
type
:
ResultType
,
@
Json
(
name
=
"message"
)
val
message
:
String
)
:
Codable
Members
Constructors
Metadata
Link copied to clipboard
constructor
(
@
Json
(
name
=
"rule"
)
rule
:
Rules
,
@
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
:
Rules
type
Link copied to clipboard
val
type
:
ResultType
Functions
to
JSON
Link copied to clipboard
open
fun
toJSON
(
)
:
String
Helper method to convert an object to JSON