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

Types

HapiJourney
Link copied to clipboard
data class HapiJourney(name: String, direction: String, lon: Double?, lat: Double?, trainNumber: String?, trainCategory: String?, Stops: List<HapiStop>, JourneyDetailRef: String?, Product: HapiProduct?, Notes: List<HapiNote>, Messages: List<HapiMessage>, Occupancy: List<HapiOccupancy>)

The element Journey contains all information about a journey like name, direction, lon, lat, train number and train category. It also contains a reference to journey details.

HapiJourneyStatus
Link copied to clipboard
enum HapiJourneyStatus : Enum<HapiJourneyStatus>

Contains the status of the journey.