HapiDeparture
data class HapiDeparture(name: String, type: HapiLocationType, stop: String, stopid: String, stopExtId: String?, prognosisType: HafasPrognosisType?, time: LocalTime, scheduledTimeChanged: Boolean, date: LocalDate, tz: ZoneOffset, track: String?, rtTime: LocalTime?, rtDate: LocalDate?, rtTz: ZoneOffset, rtTrack: String?, cancelled: Boolean, partCancelled: Boolean, reachable: Boolean, redirected: Boolean, direction: String?, timeAtArrival: LocalTime?, dateAtArrival: LocalDate?, rtTimeAtArrival: LocalTime?, rtDateAtArrival: LocalDate?, isFastest: Boolean?, isBorderStop: Boolean, entry: Boolean?, JourneyDetailRef: String, JourneyStatus: HapiJourneyStatus?, Product: List<HapiProduct>, Notes: List<HapiNote>, Messages: List<HapiMessage>, altId: List<String>, Stops: List<HapiStop>, Occupancy: List<HapiOccupancy>)
Content copied to clipboard
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.
Constructors
HapiDeparture
Link copied to clipboard
fun HapiDeparture(name: String, type: HapiLocationType, stop: String, stopid: String, stopExtId: String?, prognosisType: HafasPrognosisType?, time: LocalTime, scheduledTimeChanged: Boolean = false, date: LocalDate, tz: ZoneOffset = ZoneOffset(0.0), track: String?, rtTime: LocalTime?, rtDate: LocalDate?, rtTz: ZoneOffset = ZoneOffset(0.0), rtTrack: String?, cancelled: Boolean = false, partCancelled: Boolean = false, reachable: Boolean = true, redirected: Boolean = false, direction: String?, timeAtArrival: LocalTime?, dateAtArrival: LocalDate?, rtTimeAtArrival: LocalTime?, rtDateAtArrival: LocalDate?, isFastest: Boolean?, isBorderStop: Boolean = false, entry: Boolean?, JourneyDetailRef: String, JourneyStatus: HapiJourneyStatus?, Product: List<HapiProduct> = emptyList(), Notes: List<HapiNote> = emptyList(), Messages: List<HapiMessage> = emptyList(), altId: List<String> = emptyList(), Stops: List<HapiStop> = emptyList(), Occupancy: List<HapiOccupancy> = emptyList())
Content copied to clipboard
Properties
dateAtArrival
Link copied to clipboard
isBorderStop
Link copied to clipboard
JourneyDetailRef
Link copied to clipboard
JourneyStatus
Link copied to clipboard
Messages
Link copied to clipboard
Occupancy
Link copied to clipboard
partCancelled
Link copied to clipboard
Product
Link copied to clipboard
prognosisType
Link copied to clipboard
redirected
Link copied to clipboard
rtDateAtArrival
Link copied to clipboard
rtTimeAtArrival
Link copied to clipboard
rtTz
Link copied to clipboard
scheduledTimeChanged
Link copied to clipboard
timeAtArrival
Link copied to clipboard
type
Link copied to clipboard
tz
Link copied to clipboard