HapiFrequency

data class HapiFrequency(journey: List<HapiJourney>, waitMinimum: Duration?, waitMaximum: Duration?, alternativeCount: Int?)

Alternatives for this leg by plan.

Constructors

HapiFrequency
Link copied to clipboard
fun HapiFrequency(journey: List<HapiJourney> = emptyList(), waitMinimum: Duration?, waitMaximum: Duration?, alternativeCount: Int?)

Properties

alternativeCount
Link copied to clipboard
val alternativeCount: Int?

Count of alternative legs.

journey
Link copied to clipboard
val journey: List<HapiJourney>

List of alternative legs.

waitMaximum
Link copied to clipboard
val waitMaximum: Duration?

Longest wait time (in minutes).

waitMinimum
Link copied to clipboard
val waitMinimum: Duration?

Shortest wait time (in minutes).