Link

class Link(val rel: String, val href: String, val title: String? = null, val templated: Boolean = false)

Represents a link to another resource.

Parameters

rel

The relation type of the link.

href

The href/target of the link.

title

The title of the link (optional).

templated

Indicates whether the link is an URI Template (RFC 6570).

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val rel: String
Link copied to clipboard
Link copied to clipboard