RecordProxy
data class RecordProxy<R>(val data: R, val meta: Map<String, Any>, val raw: JsonApiSingleResponse, val error: JsonApiException? = null)
A wrapper for a single resource.
Parameters
R
The type of the resource.
data
The data of the resource.
meta
The meta of the resource.
raw
The raw JSON:API response as a map.
Constructors
Link copied to clipboard
constructor(data: R, meta: Map<String, Any>, raw: JsonApiSingleResponse, error: JsonApiException? = null)