Link

@Serializable
data class Link(val href: String, val templated: Boolean? = null)

Represents a HAL (Hypertext Application Language) link in Horizon API responses.

Constructors

Link copied to clipboard
constructor(href: String, templated: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "href")
val href: String

The URL of the link

Link copied to clipboard
@SerialName(value = "templated")
val templated: Boolean?

Whether the href is a URI template