LocalitiesDetailsResponseResult

data class LocalitiesDetailsResponseResult(val formattedAddress: String, val types: List<LocalitiesTypes>, val publicId: String, val geometry: LocalitiesDetailsResponseResultGeometry, val addressComponents: List<AddressComponentsInner>, val status: LocalitiesStatus? = null, val name: String? = null, val addresses: LocalitiesDetailsResponseResultAddresses? = null)

The Root Node for Localities Details

Parameters

formattedAddress

Contains the readable text description of the result.

types

available localities types

publicId

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

name

The postal code name

geometry
addressComponents

An array containing Address Components with additional information

addresses

Constructors

Link copied to clipboard
constructor(formattedAddress: String, types: List<LocalitiesTypes>, publicId: String, geometry: LocalitiesDetailsResponseResultGeometry, addressComponents: List<AddressComponentsInner>, status: LocalitiesStatus? = null, name: String? = null, addresses: LocalitiesDetailsResponseResultAddresses? = null)

Properties

Link copied to clipboard
@SerializedName(value = "address_components")
val addressComponents: List<AddressComponentsInner>
Link copied to clipboard
@SerializedName(value = "addresses")
val addresses: LocalitiesDetailsResponseResultAddresses? = null
Link copied to clipboard
@SerializedName(value = "formatted_address")
val formattedAddress: String
Link copied to clipboard
@SerializedName(value = "geometry")
val geometry: LocalitiesDetailsResponseResultGeometry
Link copied to clipboard
@SerializedName(value = "name")
val name: String? = null

Postal Code Response Only

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

Non Postal Code Response Only

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