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

Constructors

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun toJSON(): String

Helper method to convert an object to JSON