DiscoveryEvent

data class DiscoveryEvent(val discoveryID: String? = null, val name: String? = null, val hostID: String? = null, val startDate: String? = null, val localStartDate: String? = null, val localStartTime: String? = null, val endDate: String? = null, val localEndDate: String? = null, val timeZone: String? = null, val spanMultipleDays: Boolean? = null, val dateTBA: Boolean? = null, val dateTBD: Boolean? = null, val timeTBA: Boolean? = null, val noSpecificTime: Boolean? = null, val isActive: Boolean? = null, val isVisible: Boolean? = null, val isDiscoverable: Boolean? = null, val isTestEvent: Boolean? = null, val onSaleStatusCode: String? = null, val type: String? = null, val hostEventType: String? = null, val seriesMaster: Boolean? = null, val domain: String? = null, val locale: String? = null, val info: String? = null, val notes: String? = null, val externalURL: String? = null, val resaleSoftLanding: Boolean? = null, val distance: Double? = null, val visibilityDateRange: DiscoveryDateRange? = null, val publicOnSaleDateRange: DiscoveryDateRange? = null, val presaleDateRangeArray: List<DiscoveryDateRange>? = null, val priceRangeList: List<DiscoveryPriceRange>? = null, val promoter: DiscoveryPromoter? = null, val classificationList: List<DiscoveryClassification>? = null, val imageMetadataList: List<DiscoveryImageMetadata>? = null, val attractions: List<DiscoveryAttraction>? = null, val venues: List<DiscoveryVenue>? = null, val error: TMDiscoveryAPIError? = null) : Parcelable

Represents an event in the Discovery API, such as a concert or sports game.

Holds event details, including dates, classifications, and venues.

Constructors

Link copied to clipboard
constructor(discoveryID: String? = null, name: String? = null, hostID: String? = null, startDate: String? = null, localStartDate: String? = null, localStartTime: String? = null, endDate: String? = null, localEndDate: String? = null, timeZone: String? = null, spanMultipleDays: Boolean? = null, dateTBA: Boolean? = null, dateTBD: Boolean? = null, timeTBA: Boolean? = null, noSpecificTime: Boolean? = null, isActive: Boolean? = null, isVisible: Boolean? = null, isDiscoverable: Boolean? = null, isTestEvent: Boolean? = null, onSaleStatusCode: String? = null, type: String? = null, hostEventType: String? = null, seriesMaster: Boolean? = null, domain: String? = null, locale: String? = null, info: String? = null, notes: String? = null, externalURL: String? = null, resaleSoftLanding: Boolean? = null, distance: Double? = null, visibilityDateRange: DiscoveryDateRange? = null, publicOnSaleDateRange: DiscoveryDateRange? = null, presaleDateRangeArray: List<DiscoveryDateRange>? = null, priceRangeList: List<DiscoveryPriceRange>? = null, promoter: DiscoveryPromoter? = null, classificationList: List<DiscoveryClassification>? = null, imageMetadataList: List<DiscoveryImageMetadata>? = null, attractions: List<DiscoveryAttraction>? = null, venues: List<DiscoveryVenue>? = null, error: TMDiscoveryAPIError? = null)

Properties

Link copied to clipboard

List of related attractions, if available.

Link copied to clipboard

List of classifications, if available.

Link copied to clipboard
val dateTBA: Boolean? = null

Indicates if the date is to be announced, if available.

Link copied to clipboard
val dateTBD: Boolean? = null

Indicates if the date is to be determined, if available.

Link copied to clipboard
val discoveryID: String? = null

The event's Discovery ID, if available.

Link copied to clipboard
val distance: Double? = null

The distance to the event, if available.

Link copied to clipboard
val domain: String? = null

The event's domain, if available.

Link copied to clipboard
val endDate: String? = null

The end date, if available.

Link copied to clipboard

Error details, if available.

Link copied to clipboard
val externalURL: String? = null

The external URL for the event, if available.

Link copied to clipboard
val hostEventType: String? = null

The host's event type, if available.

Link copied to clipboard
val hostID: String? = null

The event's host ID, if available.

Link copied to clipboard

List of image metadata, if available.

Link copied to clipboard
val info: String? = null

Additional event information, if available.

Link copied to clipboard
val isActive: Boolean? = null

Indicates if the event is active, if available.

Link copied to clipboard
val isDiscoverable: Boolean? = null

Indicates if the event is discoverable, if available.

Link copied to clipboard
val isTestEvent: Boolean? = null

Indicates if the event is for testing, if available.

Link copied to clipboard
val isVisible: Boolean? = null

Indicates if the event is visible, if available.

Link copied to clipboard
val locale: String? = null

The event's locale, if available.

Link copied to clipboard
val localEndDate: String? = null

The local end date, if available.

Link copied to clipboard
val localStartDate: String? = null

The local start date, if available.

Link copied to clipboard
val localStartTime: String? = null

The local start time, if available.

Link copied to clipboard
val name: String? = null

The event's name, if available.

Link copied to clipboard
val noSpecificTime: Boolean? = null

Indicates if no specific time is set, if available.

Link copied to clipboard
val notes: String? = null

Event notes, if available.

Link copied to clipboard

The on-sale status code, if available.

Link copied to clipboard

List of presale date ranges, if available.

Link copied to clipboard

List of price ranges, if available.

Link copied to clipboard

The event's promoter, if available.

Link copied to clipboard

The public on-sale date range, if available.

Link copied to clipboard

Indicates if resale soft landing is enabled, if available.

Link copied to clipboard
val seriesMaster: Boolean? = null

Indicates if the event is a series master, if available.

Link copied to clipboard

Indicates if the event spans multiple days, if available.

Link copied to clipboard
val startDate: String? = null

The start date, if available.

Link copied to clipboard
val timeTBA: Boolean? = null

Indicates if the time is to be announced, if available.

Link copied to clipboard
val timeZone: String? = null

The event's time zone, if available.

Link copied to clipboard
val type: String? = null

The event's type, if available.

Link copied to clipboard
val venues: List<DiscoveryVenue>? = null

List of related venues, if available.

Link copied to clipboard

The visibility date range, if available.

Functions

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