Link

data class Link(val href: Href, val mediaType: MediaType? = null, val title: String? = null, val rels: Set<String> = setOf(), val profile: String? = null, val length: Int? = null, val hash: String? = null)

Constructors

Link copied to clipboard
constructor(href: Href, mediaType: MediaType? = null, title: String? = null, rels: Set<String> = setOf(), profile: String? = null, length: Int? = null, hash: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val hash: String?
Link copied to clipboard
val href: Href
Link copied to clipboard
val length: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun url(parameters: Map<String, String> = emptyMap()): Url

Returns the URL represented by this link's HREF.