ResourceReference

@Serializable
data class ResourceReference(val id: ResourceId, val type: ResourceType)

A reference to another object in the API

Constructors

Link copied to clipboard
constructor(id: ResourceId, type: ResourceType)

Properties

Link copied to clipboard
@SerialName(value = "rid")
val id: ResourceId

The unique id of the referenced resource

Link copied to clipboard
@SerialName(value = "rtype")
val type: ResourceType

The type of the referenced resource

Functions

Link copied to clipboard
open override fun toString(): String