library
library
/
io.constructor.data.model.autocomplete
/
AutocompleteResponse
Autocomplete
Response
@
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
Content copied to clipboard
Models an autocomplete response
Constructors
Properties
Constructors
Autocomplete
Response
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
?
)
Content copied to clipboard
Properties
raw
Data
Link copied to clipboard
var
rawData
:
String
?
Content copied to clipboard
request
Link copied to clipboard
val
request
:
Map
<
String
,
Any
?
>
?
Content copied to clipboard
result
Id
Link copied to clipboard
val
resultId
:
String
?
Content copied to clipboard
sections
Link copied to clipboard
val
sections
:
Map
<
String
,
List
<
Result
>
>
?
Content copied to clipboard