library
library
/
io.constructor.data.model.browse
/
Collection
Collection
@
JsonClass
(
generateAdapter
=
true
)
data
class
Collection
(
@
Json
(
name
=
"data"
)
val
data
:
Map
<
String
,
Any
>
?
,
@
Json
(
name
=
"display_name"
)
val
displayName
:
String
,
@
Json
(
name
=
"id"
)
val
id
:
String
)
:
Serializable
Content copied to clipboard
Models a collection response
Constructors
Properties
Constructors
Collection
Link copied to clipboard
fun
Collection
(
@
Json
(
name
=
"data"
)
data
:
Map
<
String
,
Any
>
?
,
@
Json
(
name
=
"display_name"
)
displayName
:
String
,
@
Json
(
name
=
"id"
)
id
:
String
)
Content copied to clipboard
Properties
data
Link copied to clipboard
val
data
:
Map
<
String
,
Any
>
?
Content copied to clipboard
display
Name
Link copied to clipboard
val
displayName
:
String
Content copied to clipboard
id
Link copied to clipboard
val
id
:
String
Content copied to clipboard