HapiDepartureBoard

data class HapiDepartureBoard(Departure: List<HapiDeparture>, Message: List<HapiMessage>, stopid: String, stopExtId: String) : HapiResponse

The departure board lists departures at a specific stop/station or group of stop/stations.

Constructors

HapiDepartureBoard
Link copied to clipboard
fun HapiDepartureBoard(Departure: List<HapiDeparture> = emptyList(), Message: List<HapiMessage> = emptyList(), stopid: String, stopExtId: String)

Properties

Departure
Link copied to clipboard
val Departure: List<HapiDeparture>

The element Departure contains all information about a departure like time, date, stop/station name, track, realtime time, date and track, direction, name and type of the journey. It also contains a reference to journey details.

dialectVersion
Link copied to clipboard
val dialectVersion: String? = null
errorCode
Link copied to clipboard
val errorCode: String? = null
errorText
Link copied to clipboard
val errorText: String? = null
Message
Link copied to clipboard
val Message: List<HapiMessage>
planRtTs
Link copied to clipboard
val planRtTs: Long? = null
requestId
Link copied to clipboard
val requestId: String? = null
serverVersion
Link copied to clipboard
val serverVersion: String? = null
stopExtId
Link copied to clipboard
val stopExtId: String

External ID of this stop/station

stopid
Link copied to clipboard
val stopid: String

Contains the ID of the stop/station.

TechnicalMessages
Link copied to clipboard
val TechnicalMessages: List<HapiPair>
version
Link copied to clipboard
val version: String? = null