Result

@JsonClass(generateAdapter = true)
data class Result(    @Json(name = "data") val data: ResultData,     @Json(name = "matched_terms") val matchedTerms: List<String>?,     @Json(name = "variations") val variations: List<Result>?,     @Json(name = "variations_map") val variationsMap: Any?,     @Json(name = "value") val value: String,     @Json(name = "is_slotted") val isSlotted: Boolean?,     @Json(name = "labels") val labels: Map<String, Any>?) : Serializable

Models an individual item in a response as well as its variations

Constructors

Link copied to clipboard
fun Result(    @Json(name = "data") data: ResultData,     @Json(name = "matched_terms") matchedTerms: List<String>?,     @Json(name = "variations") variations: List<Result>?,     @Json(name = "variations_map") variationsMap: Any?,     @Json(name = "value") value: String,     @Json(name = "is_slotted") isSlotted: Boolean?,     @Json(name = "labels") labels: Map<String, Any>?)

Properties

Link copied to clipboard
val data: ResultData
Link copied to clipboard
val isSlotted: Boolean?
Link copied to clipboard
val labels: Map<String, Any>?
Link copied to clipboard
val matchedTerms: List<String>?
Link copied to clipboard
val value: String
Link copied to clipboard
val variations: List<Result>?
Link copied to clipboard
val variationsMap: Any?