JsonApiLink

sealed interface JsonApiLink

A JSON:API link.

Inheritors

Types

Link copied to clipboard
data class Details(val href: String, val rel: String? = null, val describedBy: JsonApiLink? = null, val title: String? = null, val type: String? = null, val hreflang: List<String>? = null, val meta: Map<String, <Error class: unknown class>> = emptyMap()) : JsonApiLink

A link represented by a link object.

Link copied to clipboard
data class Simple(val href: String) : JsonApiLink

A link represented by a URI-reference string.

Properties

Link copied to clipboard
abstract val href: String