LocalitiesGeocodeResponse

data class LocalitiesGeocodeResponse(val formattedAddress: String? = null, val types: List<LocalitiesGeocodeTypes>? = null, val geometry: LocalitiesAddressGeometry? = null, val status: LocalitiesStatus? = null, val addressComponents: List<AddressComponentsInner>? = null, val subBuildings: List<LocalitiesAddressSummary>? = null)

Attributes describing a locality. Not all attributes will be available for all locality types.

Parameters

formattedAddress

Contains the readable text description of the result.

types

An array containing the types of the result

geometry
status
addressComponents

An array containing Address Components with additional information

Constructors

Link copied to clipboard
constructor(formattedAddress: String? = null, types: List<LocalitiesGeocodeTypes>? = null, geometry: LocalitiesAddressGeometry? = null, status: LocalitiesStatus? = null, addressComponents: List<AddressComponentsInner>? = null, subBuildings: List<LocalitiesAddressSummary>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "address_components")
val addressComponents: List<AddressComponentsInner>? = null
Link copied to clipboard
@SerializedName(value = "formatted_address")
val formattedAddress: String? = null
Link copied to clipboard
@SerializedName(value = "geometry")
val geometry: LocalitiesAddressGeometry? = null
Link copied to clipboard
@SerializedName(value = "status")
val status: LocalitiesStatus? = null
Link copied to clipboard
@SerializedName(value = "sub_buildings")
val subBuildings: List<LocalitiesAddressSummary>? = null
Link copied to clipboard
@SerializedName(value = "types")
val types: List<LocalitiesGeocodeTypes>? = null