DiscoveryVenueDetailsResponse

data class DiscoveryVenueDetailsResponse(var id: String? = null, var name: String? = null, var type: String? = null, var url: String? = null, var locale: String? = null, var postalCode: String? = null, var timezone: String? = null, var parkingDetail: String? = null, var active: Boolean = false, var test: Boolean = false, var source: DiscoveryVenueDetailsResponse.Source? = null, val lastUpdate: Long? = null, val entityChanges: EntityChanges? = null, val relationships: List<Relationship>? = null, val upcomingEvents: UpcomingEvents? = null, val links: Links? = null, var distance: Double = 0.0, var units: String? = null, var city: DiscoveryPlaceResponse.City? = null, var state: DiscoveryPlaceResponse.State? = null, var country: DiscoveryPlaceResponse.Country? = null, var location: DiscoveryPlaceResponse.Location? = null, var address: DiscoveryPlaceResponse.Address? = null, var markets: List<DiscoveryVenueDetailsResponse.Market?>? = null, var dmas: List<DiscoveryVenueDetailsResponse.Dma?>? = null, var generalInfo: DiscoveryVenueDetailsResponse.GeneralInfo? = null, var references: DiscoveryReferencesResponse? = null, var isDiscoverable: Boolean = false, var accessibleSeatingDetail: String? = null, var boxOfficeInfo: DiscoveryVenueDetailsResponse.BoxOfficeInfo? = null, var imageList: List<DiscoveryImageResponse>? = null)

Represents a venue details response from the Discovery API.

Holds detailed information about a venue, including address and images.

Constructors

Link copied to clipboard
constructor(id: String? = null, name: String? = null, type: String? = null, url: String? = null, locale: String? = null, postalCode: String? = null, timezone: String? = null, parkingDetail: String? = null, active: Boolean = false, test: Boolean = false, source: DiscoveryVenueDetailsResponse.Source? = null, lastUpdate: Long? = null, entityChanges: EntityChanges? = null, relationships: List<Relationship>? = null, upcomingEvents: UpcomingEvents? = null, links: Links? = null, distance: Double = 0.0, units: String? = null, city: DiscoveryPlaceResponse.City? = null, state: DiscoveryPlaceResponse.State? = null, country: DiscoveryPlaceResponse.Country? = null, location: DiscoveryPlaceResponse.Location? = null, address: DiscoveryPlaceResponse.Address? = null, markets: List<DiscoveryVenueDetailsResponse.Market?>? = null, dmas: List<DiscoveryVenueDetailsResponse.Dma?>? = null, generalInfo: DiscoveryVenueDetailsResponse.GeneralInfo? = null, references: DiscoveryReferencesResponse? = null, isDiscoverable: Boolean = false, accessibleSeatingDetail: String? = null, boxOfficeInfo: DiscoveryVenueDetailsResponse.BoxOfficeInfo? = null, imageList: List<DiscoveryImageResponse>? = null)

Types

Link copied to clipboard
data class BoxOfficeInfo(var boxOfficeHours: String? = null, var boxOfficePhoneNumber: String? = null, var boxOfficePaymentDetails: String? = null, var boxOfficeWillCallDetails: String? = null)

Represents box office information for the venue.

Link copied to clipboard
data class Dma(var id: String? = null)

Represents a DMA ID for the venue.

Link copied to clipboard
data class GeneralInfo(var generalRule: String? = null, var childRule: String? = null)

Represents general information and rules for the venue.

Link copied to clipboard
data class Market(var id: String? = null)

Represents a market ID for the venue.

Link copied to clipboard
data class Source(var id: String? = null, var name: String? = null)

Represents source details for the venue.

Properties

Link copied to clipboard
@SerializedName(value = "accessibleSeatingDetail")
var accessibleSeatingDetail: String?

Accessible seating details, if available.

Link copied to clipboard

Indicates if the venue is active, defaults to false.

Link copied to clipboard

Address details, if available.

Link copied to clipboard
@SerializedName(value = "boxOfficeInfo")
var boxOfficeInfo: DiscoveryVenueDetailsResponse.BoxOfficeInfo?

Box office information, if available.

Link copied to clipboard

City details, if available.

Link copied to clipboard

Country details, if available.

Link copied to clipboard

Distance to the venue, defaults to 0.0.

Link copied to clipboard

List of DMA IDs, if available.

Link copied to clipboard

Entity change details, if available.

Link copied to clipboard

General venue rules, if available.

Link copied to clipboard
var id: String?

The venue's ID, if available.

Link copied to clipboard
@SerializedName(value = "images")
var imageList: List<DiscoveryImageResponse>?

List of image responses, if available.

Link copied to clipboard
@SerializedName(value = "discoverable")
var isDiscoverable: Boolean

Indicates if the venue is discoverable, defaults to false.

Link copied to clipboard
val lastUpdate: Long? = null

The last update timestamp, if available.

Link copied to clipboard
@SerializedName(value = "_links")
val links: Links? = null

Associated links, if available.

Link copied to clipboard

The venue's locale, if available.

Link copied to clipboard

Geographic coordinates, if available.

Link copied to clipboard

List of market IDs, if available.

Link copied to clipboard
var name: String?

The venue's name, if available.

Link copied to clipboard

Parking information, if available.

Link copied to clipboard

The postal code, if available.

Link copied to clipboard

Reference IDs, if available.

Link copied to clipboard

List of relationships, if available.

Link copied to clipboard

The venue's source details, if available.

Link copied to clipboard

State details, if available.

Link copied to clipboard

Indicates if the venue is for testing, defaults to false.

Link copied to clipboard

The venue's timezone, if available.

Link copied to clipboard
var type: String?

The venue's type, if available.

Link copied to clipboard

Distance units, if available.

Link copied to clipboard

Upcoming events data, if available.

Link copied to clipboard
var url: String?

The venue's URL, if available.