Leg

sealed class Leg

Types

Individual
Link copied to clipboard
data class Individual(departure: Stop.Departure, arrival: Stop.Arrival, type: Leg.Individual.Type, gis: Gis) : Leg
Public
Link copied to clipboard
data class Public(departure: Stop.Departure, arrival: Stop.Arrival, journey: Journey, alternatives: List<Journey>?, frequency: Frequency?) : Leg
Transfer
Link copied to clipboard
data class Transfer(departure: Stop.Departure, arrival: Stop.Arrival) : Leg

Properties

arrival
Link copied to clipboard
abstract val arrival: Stop.Arrival
departure
Link copied to clipboard
abstract val departure: Stop.Departure

Inheritors

Leg
Link copied to clipboard
Leg
Link copied to clipboard
Leg
Link copied to clipboard

Extensions

realtimeDuration
Link copied to clipboard
val Leg.realtimeDuration: Duration
scheduledDuration
Link copied to clipboard
val Leg.scheduledDuration: Duration