SearchResultId

data 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.