LocationQuery

data class LocationQuery(val limit: Int? = null, val offset: Int? = null, val searchQuery: String? = null, val countryCode: String? = null, val subdivisionCode: String? = null, val locationType: LocationType? = null)(source)

Query parameters for GET /v1/locations.

Constructors

Link copied to clipboard
constructor(limit: Int? = null, offset: Int? = null, searchQuery: String? = null, countryCode: String? = null, subdivisionCode: String? = null, locationType: LocationType? = null)

Properties

Link copied to clipboard

ISO 3166-1 alpha-2 country code.

Link copied to clipboard
val limit: Int?

Maximum number of locations to return. The catalog defaults to 100.

Link copied to clipboard

Country, subdivision, or municipality.

Link copied to clipboard
val offset: Int?

Offset of the first location to return.

Link copied to clipboard

Free-text location search.

Link copied to clipboard

ISO 3166-2 subdivision code.