HapiStopLocation

data class HapiStopLocation(id: String, extId: String, hasMainMast: Boolean?, mainMastId: String?, mainMastExtId: String?, name: String, lon: Double?, lat: Double?, track: String?, weight: Int?, dist: Int?, products: Int?, meta: Boolean, refinable: Boolean, matchValue: Int?, entry: Boolean?, LocationNotes: List<HapiLocationNote>, Message: List<HapiMessage>, productAtStop: List<HapiProduct>, TariffResult: HapiTariffResult?, links: List<HapiResourceLink>, altId: List<String>, mainMastAltId: List<String>, timezoneOffset: ZoneOffset?) : HapiStopOrCoordLocation

The element StopLocation specifies a stop/station in a result of a location request.

Constructors

HapiStopLocation
Link copied to clipboard
fun HapiStopLocation(id: String, extId: String, hasMainMast: Boolean?, mainMastId: String?, mainMastExtId: String?, name: String, lon: Double?, lat: Double?, track: String?, weight: Int?, dist: Int?, products: Int?, meta: Boolean = false, refinable: Boolean = false, matchValue: Int?, entry: Boolean?, LocationNotes: List<HapiLocationNote> = emptyList(), Message: List<HapiMessage> = emptyList(), productAtStop: List<HapiProduct> = emptyList(), TariffResult: HapiTariffResult?, links: List<HapiResourceLink> = emptyList(), altId: List<String> = emptyList(), mainMastAltId: List<String> = emptyList(), timezoneOffset: ZoneOffset?)

Properties

altId
Link copied to clipboard
val altId: List<String>
dist
Link copied to clipboard
val dist: Int?

This value specifies the distance to the given coordinate if called by a nearby search request.

entry
Link copied to clipboard
val entry: Boolean?

True, if the stop is an entry point.

extId
Link copied to clipboard
val extId: String

This ID defines an alternative ID for this stop location and can not be used to perform further requests.

hasMainMast
Link copied to clipboard
val hasMainMast: Boolean?

True if this stop belongs to a main mast.

id
Link copied to clipboard
val id: String

This ID can either be used as originId or destId to perform a trip request or to call a departure or arrival board.

lat
Link copied to clipboard
val lat: Double?

The WGS84 latitude of the geographical position of the stop/station.

links
Link copied to clipboard
val links: List<HapiResourceLink>
LocationNotes
Link copied to clipboard
val LocationNotes: List<HapiLocationNote>

Contains a list of notes to be displayed for this location, like attributes or footnotes.

lon
Link copied to clipboard
val lon: Double?

The WGS84 longitude of the geographical position of the stop/station.

mainMastAltId
Link copied to clipboard
val mainMastAltId: List<String>
mainMastExtId
Link copied to clipboard
val mainMastExtId: String?

External ID of the main mast this stop belongs to.

mainMastId
Link copied to clipboard
val mainMastId: String?

ID of the main mast this stop belongs to.

matchValue
Link copied to clipboard
val matchValue: Int?

A percentage value 0, 100 indicating how well the name of the given location matches the input location name. This attribute is only available in the location.name response

Message
Link copied to clipboard
val Message: List<HapiMessage>
meta
Link copied to clipboard
val meta: Boolean = false

True, if the stop is a meta stop.

name
Link copied to clipboard
val name: String

Contains the output name of this stop or station

productAtStop
Link copied to clipboard
val productAtStop: List<HapiProduct>

Products running at this stop.

products
Link copied to clipboard
val products: Int?

This value specifies the products available at this location.

refinable
Link copied to clipboard
val refinable: Boolean = false

True, if the stop is not resolved fully and could be refined.

TariffResult
Link copied to clipboard
val TariffResult: HapiTariffResult?
timezoneOffset
Link copied to clipboard
val timezoneOffset: ZoneOffset?
track
Link copied to clipboard
val track: String?

Track information, if available.

weight
Link copied to clipboard
val weight: Int?

This value specifies some kind of importance of this stop. The more traffic at this stop the higher the weight. The range is between 0 and 32767. This attribute is only available in the location.allstops response