ExpandableLocation

Expandable Location Union Type.

This represents a Location that can either be an ID, or expanded out into a full object on request from the API.

Inheritors

Types

Link copied to clipboard
@Serializable
data class Expanded(val location: Location) : ExpandableLocation

An expanded Location object.

Link copied to clipboard
@Serializable
data class Reference(val id: String) : ExpandableLocation

An unexpanded ID reference to a location.

Properties

Link copied to clipboard
abstract val id: String

Location's ID. Available in either return type.