WpLinkedResourceData

data class WpLinkedResourceData(val alternate: List<WpLinkedResourceData>? = null, val description: WpLocalizableString? = null, val duration: String? = null, val encodingFormat: MediaType? = null, val integrity: String? = null, val name: List<WpLocalizableString>? = null, val rel: List<String>? = null, val type: List<String>? = null, val url: String)

Describes a Linked Resource as defined in the Web Publication specification.

https://www.w3.org/TR/pub-manifest/#LinkedResource

Constructors

Link copied to clipboard
fun WpLinkedResourceData(alternate: List<WpLinkedResourceData>? = null, description: WpLocalizableString? = null, duration: String? = null, encodingFormat: MediaType? = null, integrity: String? = null, name: List<WpLocalizableString>? = null, rel: List<String>? = null, type: List<String>? = null, url: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

References to one or more reformulation(s) of the resource in alternative formats.

Link copied to clipboard

Description of the resource.

Link copied to clipboard
val duration: String? = null

The duration of the resource.

Link copied to clipboard

Media type of the resource (e.g., text/html).

Link copied to clipboard
val integrity: String? = null

A cryptographic hashing of the resource that allows its integrity to be verified.

Link copied to clipboard

Name of the resource.

Link copied to clipboard
val rel: List<String>? = null

The relation of the resource to the publication.

Link copied to clipboard
val type: List<String>? = null

The type of resource.

Link copied to clipboard
val url: String

Location of the resource.