AutocompleteResponse

@JsonClass(generateAdapter = true)
data class AutocompleteResponse(    @Json(name = "sections") val sections: Map<String, List<Result>>?,     @Json(name = "result_id") val resultId: String?,     @Json(name = "request") val request: Map<String, Any?>?,     var rawData: String?) : Serializable

Models an autocomplete response

Constructors

Link copied to clipboard
fun AutocompleteResponse(    @Json(name = "sections") sections: Map<String, List<Result>>?,     @Json(name = "result_id") resultId: String?,     @Json(name = "request") request: Map<String, Any?>?,     rawData: String?)

Properties

Link copied to clipboard
var rawData: String?
Link copied to clipboard
val request: Map<String, Any?>?
Link copied to clipboard
val resultId: String?
Link copied to clipboard
val sections: Map<String, List<Result>>?