Category

data class Category(val id: CategoryId, val name: String, val parents: Set<CategoryId> = emptySet(), val children: Set<CategoryId> = 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 list of parent ids of the POI category.

children

The list of sub-category ids of the POI category.

synonyms

The synonyms for the POI category.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard