PoiCategory
class PoiCategory(val id: CategoryId, val name: String, val parents: Set<CategoryId> = emptySet(), val children: Set<CategoryId> = emptySet(), val synonyms: List<String> = emptyList())
Class representing a Point Of Interest(POI) category.
Constructors
Link copied to clipboard
constructor(id: CategoryId, name: String, parents: Set<CategoryId> = emptySet(), children: Set<CategoryId> = emptySet(), synonyms: List<String> = emptyList())
create a new PoiCategory object.
Properties
Functions
Link copied to clipboard
fun copy(id: CategoryId = this.id, name: String = this.name, parents: Set<CategoryId> = this.parents, children: Set<CategoryId> = this.children, synonyms: List<String> = this.synonyms): PoiCategory
Creates a copy of this PoiCategory object.