Category

data class Category(    val id: TTomCategoryId,     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 ID of the category.

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