PoiId

class PoiId(val id: String, val source: Source)

Class that represents the identifier of a Point Of Interest.

Constructors

Link copied to clipboard
constructor(id: String, source: Source)

Properties

Link copied to clipboard
val id: String

The identifier of the given POI.

Link copied to clipboard

Identifies the type of the search service used to retrieve the POI identifier.

Functions

Link copied to clipboard
operator fun component1(): String

Returns the identifier of the given POI.

Link copied to clipboard
operator fun component2(): Source

Returns the type of the search service used to retrieve the POI identifier.

Link copied to clipboard
fun copy(id: String = this.id, source: Source = this.source): PoiId

Creates a copy of this PoiId object.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this PoiId object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Generates a hash code for this PoiId object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this PoiId object.