LocationSearchResult
data class LocationSearchResult(val locationId: Int? = null, val parentLocationId: Int? = null, val name: String? = null, val altName: String? = null, val locationType: LocationType? = null, val countryName: String? = null, val countryCode: String? = null, val subdivisionName: String? = null, val subdivisionCode: String? = null, val pathNames: List<String>? = null, val displayName: String? = null)(source)
One location in a search result page.
Constructors
Link copied to clipboard
constructor(locationId: Int? = null, parentLocationId: Int? = null, name: String? = null, altName: String? = null, locationType: LocationType? = null, countryName: String? = null, countryCode: String? = null, subdivisionName: String? = null, subdivisionCode: String? = null, pathNames: List<String>? = null, displayName: String? = null)
Properties
Link copied to clipboard
Alternate or local name.
Link copied to clipboard
ISO 3166-1 alpha-2 code of the containing country.
Link copied to clipboard
Name of the containing country.
Link copied to clipboard
Human-readable hierarchy joined from the broadest area to this location.
Link copied to clipboard
Stable location identifier.
Link copied to clipboard
Whether this row is a country, subdivision, or municipality.
Link copied to clipboard
Identifier of the nearest containing location.
Link copied to clipboard
Names from the broadest containing area down to this location.
Link copied to clipboard
ISO 3166-2 code of the containing subdivision.
Link copied to clipboard
Name of the containing subdivision.