Link

constructor(rel: String, href: String, title: String? = null, templated: Boolean = false)

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).