Referent

@JsonClass(generateAdapter = true)
data class Referent(    val type: String?,     val service: String?,     val id: String?,     val provider: String?,     val website: String?,     val referent_properties: Map<String, *>?)

Referent data class

Constructors

Link copied to clipboard
fun Referent(    type: String?,     service: String?,     id: String?,     provider: String?,     website: String?,     referent_properties: Map<String, *>?)

Properties

Link copied to clipboard
val id: String?

The id passed to the provider to retrieve an ANS document

Link copied to clipboard
val provider: String?

A URL that can resolve the id into an ANS element

Link copied to clipboard
val referent_properties: Map<String, *>?

An object for key-value pairs that should override the values of keys with the same name in the denormalized object

Link copied to clipboard
val service: String?

The type of interaction the provider expects. E.g., 'oembed'

Link copied to clipboard
val type: String?

The ANS type that the provider should return.

Link copied to clipboard
val website: String?

The website which the referenced id belongs to. Currently supported only for sections.