Package de.jlnstrk.transit.api.hapi.model.stop

Types

HapiDestination
Link copied to clipboard
typealias HapiDestination = HapiOriginDest

Destination of a leg including location name, location type, location route index (if available), arrival time and date, realtime arrival time (if available), track and realtime track (if available)

HapiOrigin
Link copied to clipboard
typealias HapiOrigin = HapiOriginDest

Origin of a leg including location name, location type, location route index (if available), departure time and date, realtime departure (if available), track and realtime track (if available)

HapiOriginDest
Link copied to clipboard
data class HapiOriginDest(name: String, type: HapiLocationType, id: String?, extId: String?, lon: Double?, lat: Double?, routeIdx: Int?, prognosisType: HafasPrognosisType?, time: LocalTime, date: LocalDate, tz: ZoneOffset, scheduledTimeChanged: Boolean, track: String?, rtTime: LocalTime?, rtDate: LocalDate?, rtTz: ZoneOffset, rtTrack: String?, hasMainMast: Boolean?, mainMastId: String?, mainMastExtId: String?, alighting: Boolean?, boarding: Boolean?, rtAlighting: Boolean?, rtBoarding: Boolean?, cancelled: Boolean, cancelledDeparture: Boolean, cancelledArrival: Boolean, additional: Boolean, isBorderStop: Boolean, entry: Boolean?, mcp: Boolean, Notes: List<HapiNote>, mcpData: List<HapiPair>, Message: List<HapiMessage>, altId: List<String>, mainMastAltId: List<String>, Occupancy: List<HapiOccupancy>)
HapiStop
Link copied to clipboard
data class HapiStop(name: String, id: String, extId: String, routeIdx: Int?, lon: Double?, lat: Double?, arrPrognosisType: HafasPrognosisType?, depPrognosisType: HafasPrognosisType?, depTime: LocalTime?, depDate: LocalDate?, depTz: ZoneOffset, scheduledDepTimeChanged: Boolean, arrTime: LocalTime?, arrDate: LocalDate?, arrTz: ZoneOffset, scheduledArrTimeChanged: Boolean, passingTime: LocalTime?, passingDate: LocalDate?, passingTz: ZoneOffset, arrTrack: String?, depTrack: String?, rtDepTime: LocalTime?, rtDepDate: LocalDate?, rtDepTz: ZoneOffset, rtArrTime: LocalTime?, rtArrDate: LocalDate?, rtArrTz: ZoneOffset, rtArrTrack: String?, rtDepTrack: String?, rtPassingTime: LocalTime?, rtPassingDate: LocalDate?, rtPassingTz: ZoneOffset, cancelled: Boolean, cancelledDeparture: Boolean, cancelledArrival: Boolean, hasMainMast: Boolean?, mainMastId: String?, mainMastExtId: String?, alighting: Boolean?, boarding: Boolean?, rtAlighting: Boolean?, rtBoarding: Boolean?, additional: Boolean, isBorderStop: Boolean, depDir: String?, entry: Boolean?, Notes: List<HapiNote>, altId: List<String>, mainMastAltId: List<String>, Occupancy: List<HapiOccupancy>)

The element Stop contains the name of the stop/station, the route index, the latitude, the longitude, the departure time and date, the arrival time and date, the track, the realtime departure time and date, the realtime arrival time and date and the realtime track.