DiscoveryAttractionDetailsResponse

data class DiscoveryAttractionDetailsResponse(val id: String?, val name: String?, val type: String?, val url: String?, val locale: String?, val references: DiscoveryReferencesResponse?, val classifications: List<DiscoveryClassificationResponse>?, val images: List<DiscoveryImageResponse>?, val active: Boolean?, val test: Boolean?, val isDiscoverable: Boolean?, val legacyId: String?, val legacyIdUS: String?, val legacyIdUK: String?)

Represents an attraction details response from the Discovery API.

Holds details for an attraction, such as ID, name, and classifications.

Constructors

Link copied to clipboard
constructor(id: String?, name: String?, type: String?, url: String?, locale: String?, references: DiscoveryReferencesResponse?, classifications: List<DiscoveryClassificationResponse>?, images: List<DiscoveryImageResponse>?, active: Boolean?, test: Boolean?, isDiscoverable: Boolean?, legacyId: String?, legacyIdUS: String?, legacyIdUK: String?)

Properties

Link copied to clipboard

Indicates if the attraction is active, if available.

Link copied to clipboard

List of classifications, if available.

Link copied to clipboard
val id: String?

The attraction's ID, if available.

Link copied to clipboard

List of image responses, if available.

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

Indicates if the attraction is discoverable, if available.

Link copied to clipboard

The legacy ID for the attraction, if available.

Link copied to clipboard

The UK-specific legacy ID, if available.

Link copied to clipboard

The US-specific legacy ID, if available.

Link copied to clipboard

The attraction's locale, if available.

Link copied to clipboard
val name: String?

The attraction's name, if available.

Link copied to clipboard

References for the attraction, if available.

Link copied to clipboard

Indicates if the attraction is for testing, if available.

Link copied to clipboard
val type: String?

The attraction's type, if available.

Link copied to clipboard
val url: String?

The attraction's URL, if available.