DiscoveryAttraction

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

Represents an artist or sports team in the Discovery API.

Extends DiscoveryAbstractEntity with attraction-specific details.

Constructors

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

Properties

Link copied to clipboard

List of classifications, if available.

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

The country code, used for venues, if available.

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

The attraction's Discovery ID, if available.

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

The attraction's host ID, if available.

Link copied to clipboard
open override val imageMetadataList: List<DiscoveryImageMetadata>? = null

List of image metadata, if available.

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

Indicates if the attraction is active, if available.

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

Indicates if the attraction is discoverable, if available.

Link copied to clipboard

Indicates if the attraction is for testing, if available.

Link copied to clipboard
val locale: String? = null

The attraction's locale, if available.

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

The attraction's name, if available.

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

The Prismic image URL, if available.

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

The URL for sharing the attraction, if available.

Link copied to clipboard
open override var tmMarketDomain: TMMarketDomain?

The market domain, mutable for market changes, if available.

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

The attraction's type, if available.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard

Updates the name of the attraction entity.

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