TripModifications
data class TripModifications(val selectedTrips: List<TripModifications.SelectedTrips> = emptyList(), val startTimes: List<String> = emptyList(), val serviceDates: List<String> = emptyList(), val modifications: List<TripModifications.Modification> = emptyList())(source)
Realtime trip modifications such as detours.
Constructors
Link copied to clipboard
constructor(selectedTrips: List<TripModifications.SelectedTrips> = emptyList(), startTimes: List<String> = emptyList(), serviceDates: List<String> = emptyList(), modifications: List<TripModifications.Modification> = emptyList())
Types
Link copied to clipboard
data class Modification(val startStopSelector: StopSelector? = null, val endStopSelector: StopSelector? = null, val propagatedModificationDelay: Int = 0, val replacementStops: List<ReplacementStop> = emptyList(), val serviceAlertId: String? = null, val lastModifiedTime: Long? = null)
A replacement applied to a span of stops on the original trip.
Link copied to clipboard
A set of trips affected by this modification set.