JsonApiCollectionResponse

A collection JSON:API response

Parameters

response

The response map.

Constructors

Link copied to clipboard
constructor(response: Map<String, Any>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The data of the response.

Link copied to clipboard
open override val entries: Set<Map.Entry<String, Any?>>
Link copied to clipboard

The included resources.

Link copied to clipboard
open override val keys: Set<String>
Link copied to clipboard

The top-level links of the response.

Link copied to clipboard

The top-level meta of the response.

Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: Collection<Any?>

Functions

Link copied to clipboard
open override fun containsKey(key: String): Boolean
Link copied to clipboard
open override fun containsValue(value: Any?): Boolean
Link copied to clipboard
open operator override fun get(key: String): Any?
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
fun Map<*, *>.toJsonElement(): JsonElement

Converts Map<*, *> to a JsonElement.