CollectionProxy
data class CollectionProxy<R : Resource>(val data: List<R>, val meta: Map<String, <Error class: unknown class>>, val raw: JsonApiCollectionResponse)
A wrapper for a collection of resources.
Parameters
R
The type of the resource.
data
The data of the collection.
meta
The meta of the collection.
raw
The raw JSON:API response.
Constructors
Link copied to clipboard
constructor(data: List<R>, meta: Map<String, <Error class: unknown class>>, raw: JsonApiCollectionResponse)