DiscoveryAbstractEntity

open class DiscoveryAbstractEntity(val discoveryID: String? = null, val hostID: String? = null, val name: String? = null, val isActive: Boolean? = null, val isDiscoverable: Boolean? = null, val type: String? = null, val prismicImage: String? = null, val imageMetadataList: List<DiscoveryImageMetadata>? = null, val shareURL: String? = null, var tmMarketDomain: TMMarketDomain? = null, val countryCode: String? = null) : Parcelable

Base class for entities like artists or teams in the Discovery API.

Represents common attributes for entities like attractions or venues.

Inheritors

Constructors

Link copied to clipboard
constructor(discoveryID: String? = null, hostID: String? = null, name: String? = null, isActive: Boolean? = null, isDiscoverable: Boolean? = null, type: String? = null, prismicImage: String? = null, imageMetadataList: List<DiscoveryImageMetadata>? = null, shareURL: String? = null, tmMarketDomain: TMMarketDomain? = null, countryCode: String? = null)

Properties

Link copied to clipboard
open val countryCode: String? = null

The country code, used for venues, if available.

Link copied to clipboard
open val discoveryID: String? = null

The entity's Discovery ID, if available.

Link copied to clipboard
open val hostID: String? = null

The entity's host ID, if available.

Link copied to clipboard

List of image metadata, if available.

Link copied to clipboard
open val isActive: Boolean? = null

Indicates if the entity is active, if available.

Link copied to clipboard
open val isDiscoverable: Boolean? = null

Indicates if the entity is discoverable, if available.

Link copied to clipboard
open val name: String? = null

The entity's name, if available.

Link copied to clipboard
open val prismicImage: String? = null

The Prismic image URL, if available.

Link copied to clipboard
open val shareURL: String? = null

The URL for sharing the entity, if available.

Link copied to clipboard

The market domain for the entity, if available.

Link copied to clipboard
open val type: String? = null

The entity's type, if available.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)