Category

data class Category(    val id: CategoryId,     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 POI category.

name

The name of the POI category.

parents

The parents of the POI category.

children

The sub-categories of the POI category.

synonyms

The synonyms for the POI category.

Constructors

Link copied to clipboard
fun Category(    id: CategoryId,     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 name: String
Link copied to clipboard
val parents: Set<Category>
Link copied to clipboard
val synonyms: List<String>