HapiArrivalBoard

data class HapiArrivalBoard(Arrival: List<HapiArrival>, Message: List<HapiMessage>, stopid: String, stopExtId: String) : HapiResponse

The arrival board lists arrivals at a specific stop/station or group of stop/stations.

Constructors

HapiArrivalBoard
Link copied to clipboard
fun HapiArrivalBoard(Arrival: List<HapiArrival> = emptyList(), Message: List<HapiMessage> = emptyList(), stopid: String, stopExtId: String)

Properties

Arrival
Link copied to clipboard
val Arrival: List<HapiArrival>

The element Arrival contains all information about a arrival like time, date, stop/station name, track, realtime time, date and track, origin, 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