Poi

class Poi

Class representing a Point Of Interest.

Constructors

Link copied to clipboard
constructor(names: Set<String>, phones: Set<String> = emptySet(), emails: Set<String> = emptySet(), brands: Set<Brand> = emptySet(), urls: Set<String> = emptySet(), categoryIds: Set<CategoryId> = emptySet(), openingHours: OpeningHours? = null, timeZone: TimeZone? = null, chargingPark: ChargingPark? = null)

Constructor to create a new Poi object.

constructor(names: Set<String>, phones: Set<String> = emptySet(), emails: Set<String> = emptySet(), brands: Set<Brand> = emptySet(), urls: Set<String> = emptySet(), categoryIds: Set<CategoryId> = emptySet(), openingHours: OpeningHours? = null, timeZone: TimeZone? = null, chargingPark: ChargingPark? = null, accessibleVehicleTypes: Set<VehicleType> = emptySet(), fuelTypes: Set<FuelType> = emptySet())

Constructor to create a new Poi object.

Properties

Link copied to clipboard

The types of vehicles that can access this Point Of Interest.

Link copied to clipboard

The brands this Point Of Interest belongs to.

Link copied to clipboard

The categories (identifiers) this Point Of Interest belongs to.

Link copied to clipboard

Present only when the Points of Interest are of the Electric Vehicle Station category type.

Link copied to clipboard

The email addresses of the Point Of Interest.

Link copied to clipboard

The types of fuel available at this Point Of Interest.

Link copied to clipboard

The names of the Point Of Interest.

Link copied to clipboard

The Point Of Interest's opening hours in its local time zone.

Link copied to clipboard

The phone numbers of the Point Of Interest.

Link copied to clipboard
val poiId: PoiId?
Link copied to clipboard

The time zone of the Point Of Interest.

Link copied to clipboard

The URL addresses of the Point Of Interest website(s).

Functions

Link copied to clipboard
operator fun component1(): Set<String>

Returns the names of the Point Of Interest.

Link copied to clipboard
operator fun component10(): Set<VehicleType>

Returns the Point of Interest's vehicle types.

Link copied to clipboard
operator fun component11(): Set<FuelType>

Returns the Point of Interest's fuel types.

Link copied to clipboard
operator fun component2(): Set<String>

Returns the phone numbers of the Point Of Interest.

Link copied to clipboard
operator fun component3(): Set<String>

Returns the email addresses of the Point Of Interest.

Link copied to clipboard
operator fun component4(): Set<Brand>

Returns the brands this Point Of Interest belongs to.

Link copied to clipboard
operator fun component5(): Set<String>

Returns the URL addresses of the Point Of Interest website(s).

Link copied to clipboard
operator fun component6(): Set<CategoryId>

Returns the categories (identifiers) this Point Of Interest belongs to.

Link copied to clipboard
operator fun component7(): OpeningHours?

Returns the Point Of Interest's opening hours.

Link copied to clipboard
operator fun component8(): TimeZone?

Returns the Point Of Interest's timezone.

Link copied to clipboard
operator fun component9(): ChargingPark?

Returns the charging park information if the Point Of Interest is an Electric Vehicle Station.

Link copied to clipboard
fun copy(names: Set<String> = this.names, phones: Set<String> = this.phones, emails: Set<String> = this.emails, brands: Set<Brand> = this.brands, urls: Set<String> = this.urls, categoryIds: Set<CategoryId> = this.categoryIds, openingHours: OpeningHours? = this.openingHours, timeZone: TimeZone? = this.timeZone, chargingPark: ChargingPark? = this.chargingPark, accessibleVehicleTypes: Set<VehicleType> = this.accessibleVehicleTypes, fuelTypes: Set<FuelType> = this.fuelTypes): Poi

Creates a copy of this Poi object.

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

Checks if this Poi object is equal to another object.

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

Generates a hash code for this Poi object.

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

Returns a string representation of this Poi object.