SearchResultId

class SearchResultId(val id: String, val source: Source, var position: Int? = null, val fuelPriceId: FuelPriceId? = null, val evChargingAvailabilityId: EvChargingAvailabilityId? = null, val parkingDetailId: ParkingDetailId? = null, val geometryId: GeometryId? = null)

Identifier that represents the search result.

Constructors

Link copied to clipboard
constructor(id: String, source: Source, position: Int? = null, fuelPriceId: FuelPriceId? = null, evChargingAvailabilityId: EvChargingAvailabilityId? = null, parkingDetailId: ParkingDetailId? = null, geometryId: GeometryId? = null)

Properties

Link copied to clipboard

This is an optional source identifier which can be used for retrieving availability of Electric Vehicle (EV) connectors. This is applicable for EV stations only.

Link copied to clipboard

This is an optional source identifier that can be used for retrieving a fuel price. This is applicable for fuel stations only.

Link copied to clipboard
val geometryId: GeometryId? = null

This is an optional source identifier which can be used for retrieving geometries for search results.

Link copied to clipboard
val id: String

Identifier. In combination with the source it uniquely identifies a search result. It is available for all online search results and only offline POI search results.

Link copied to clipboard

This is an optional source identifier which can be used for retrieving availability of parking spots. This is applicable for parking stations only.

Link copied to clipboard

Optional position of the search result in the source list of results. It is not present for search results returned from poi details.

Link copied to clipboard

This is the source of the result.

Functions

Link copied to clipboard
operator fun component1(): String
Link copied to clipboard
operator fun component2(): Source
Link copied to clipboard
operator fun component3(): Int?
Link copied to clipboard
operator fun component4(): FuelPriceId?
Link copied to clipboard
Link copied to clipboard
operator fun component6(): ParkingDetailId?
Link copied to clipboard
operator fun component7(): GeometryId?
Link copied to clipboard
fun copy(id: String = this.id, source: Source = this.source, position: Int? = this.position, fuelPriceId: FuelPriceId? = this.fuelPriceId, evChargingAvailabilityId: EvChargingAvailabilityId? = this.evChargingAvailabilityId, parkingDetailId: ParkingDetailId? = this.parkingDetailId, geometryId: GeometryId? = this.geometryId): SearchResultId
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String