Discovery Place Response
data class DiscoveryPlaceResponse(var area: DiscoveryPlaceResponse.Area? = null, var address: DiscoveryPlaceResponse.Address? = null, var city: DiscoveryPlaceResponse.City? = null, var state: DiscoveryPlaceResponse.State? = null, var country: DiscoveryPlaceResponse.Country? = null, var postalCode: String? = null, var location: DiscoveryPlaceResponse.Location? = null, var name: String? = null)
Represents a place response from the Discovery API.
Holds location details such as address, city, and coordinates.
Constructors
Link copied to clipboard
constructor(area: DiscoveryPlaceResponse.Area? = null, address: DiscoveryPlaceResponse.Address? = null, city: DiscoveryPlaceResponse.City? = null, state: DiscoveryPlaceResponse.State? = null, country: DiscoveryPlaceResponse.Country? = null, postalCode: String? = null, location: DiscoveryPlaceResponse.Location? = null, name: String? = null)
Properties
Link copied to clipboard
The address details, if available.
Link copied to clipboard
The area details, if available.
Link copied to clipboard
The city details, if available.
Link copied to clipboard
The country details, if available.
Link copied to clipboard
The geographic coordinates, if available.
Link copied to clipboard
The postal code, if available.
Link copied to clipboard
The state details, if available.