Category

data class Category(    val id: CategoryId,     val mapSpecificId: String? = null,     val name: String,     val parents: Set<Category> = emptySet(),     val children: Set<Category> = emptySet(),     val synonyms: List<String> = emptyList())

Point of Interest(POI) category.

Parameters

id

The identifier for the category with semantic information.

mapSpecificId

The map specific identifier without any semantic information.

name

The name of the POI category.

parents

The parents of the category.

children

The children of the category.

synonyms

The synonyms for the POI category.

Constructors

Link copied to clipboard
fun Category(    id: CategoryId,     mapSpecificId: String? = null,     name: String,     parents: Set<Category> = emptySet(),     children: Set<Category> = emptySet(),     synonyms: List<String> = emptyList())

Properties

Link copied to clipboard
val children: Set<Category>
Link copied to clipboard
val id: CategoryId
Link copied to clipboard
val mapSpecificId: String? = null
Link copied to clipboard
val name: String
Link copied to clipboard
val parents: Set<Category>
Link copied to clipboard
val synonyms: List<String>