LocalitiesNearbyResult

data class LocalitiesNearbyResult(val name: String? = null, val publicId: String? = null, val formattedAddress: String? = null, val types: List<LocalitiesTypesPOI>? = null, val categories: List<LocalitiesTypesPOI>? = null, val geometry: LocalitiesAddressGeometry? = null, val addressComponents: List<AddressComponentsInner>? = null)

Constructors

Link copied to clipboard
constructor(name: String? = null, publicId: String? = null, formattedAddress: String? = null, types: List<LocalitiesTypesPOI>? = null, categories: List<LocalitiesTypesPOI>? = null, geometry: LocalitiesAddressGeometry? = null, addressComponents: List<AddressComponentsInner>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "address_components")
val addressComponents: List<AddressComponentsInner>? = null

An array containing Address Components with additional information

Link copied to clipboard
@SerializedName(value = "categories")
val categories: List<LocalitiesTypesPOI>? = null

An array containing the categories of the result.

Link copied to clipboard
@SerializedName(value = "formatted_address")
val formattedAddress: String? = null

Contains the readable text description of the result.

Link copied to clipboard
@SerializedName(value = "geometry")
val geometry: LocalitiesAddressGeometry? = null

The location of the result, in latitude and longitude, eventually associated with a Viewport.

Link copied to clipboard
@SerializedName(value = "name")
val name: String? = null

The name of the result.

Link copied to clipboard
@SerializedName(value = "public_id")
val publicId: String? = null

Contains a unique ID for each result. Please use this ID to give feedbacks on results.

Link copied to clipboard
@SerializedName(value = "types")
val types: List<LocalitiesTypesPOI>? = null

An array containing the types of the result.