sdk-search / com.tomtom.online.sdk.search.poicategories / PoiCategory

PoiCategory

@Beta(2020, 6) data class PoiCategory : Serializable

Describes the category returned by the POI Categories service.

Parameters

id - Unique ID for the category.

name - Name of the category.

children - List of child subcategories.

synonyms - List of alternative names of the category.

Constructors

<init>

PoiCategory(id: Long, name: String, children: List<PoiCategory>, synonyms: List<String>)

Describes the category returned by the POI Categories service.

Properties

children

val children: List<PoiCategory>

List of child subcategories.

id

val id: Long

Unique ID for the category.

name

val name: String

Name of the category.

synonyms

val synonyms: List<String>

List of alternative names of the category.