LocalitiesAutocompleteMatchedFields

data class LocalitiesAutocompleteMatchedFields(val description: List<MatchedSubstring>? = null, val name: List<MatchedSubstring>? = null, val admin0: List<MatchedSubstring>? = null, val admin1: List<MatchedSubstring>? = null, val admin2: List<MatchedSubstring>? = null, val postalTown: List<MatchedSubstring>? = null)

Contains a set of substrings for each field (description, name, admin_0, admin_1, admin_2, postal_town) that match elements in the input. It can be used to highlight those substrings. Each substring is identified by an offset and a length.`

Parameters

description

match substrings for localities description

name

match substrings for name

admin0

match substrings for admin_0

admin1

match substrings for admin_1

admin2

match substrings for admin_2

postalTown

match substrings for postal_town

Constructors

Link copied to clipboard
constructor(description: List<MatchedSubstring>? = null, name: List<MatchedSubstring>? = null, admin0: List<MatchedSubstring>? = null, admin1: List<MatchedSubstring>? = null, admin2: List<MatchedSubstring>? = null, postalTown: List<MatchedSubstring>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "admin_0")
val admin0: List<MatchedSubstring>? = null
Link copied to clipboard
@SerializedName(value = "admin_1")
val admin1: List<MatchedSubstring>? = null
Link copied to clipboard
@SerializedName(value = "admin_2")
val admin2: List<MatchedSubstring>? = null
Link copied to clipboard
@SerializedName(value = "description")
val description: List<MatchedSubstring>? = null
Link copied to clipboard
@SerializedName(value = "name")
val name: List<MatchedSubstring>? = null
Link copied to clipboard
@SerializedName(value = "postal_town")
val postalTown: List<MatchedSubstring>? = null