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

Constructors

Link copied to clipboard
constructor(@Json(name = "rule") rule: Rules, @Json(name = "type") type: ResultType, @Json(name = "message") message: String)

Properties

Link copied to clipboard
Link copied to clipboard
val rule: Rules
Link copied to clipboard

Functions

Link copied to clipboard
open fun toJSON(): String

Helper method to convert an object to JSON