Modification

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)(source)

A replacement applied to a span of stops on the original trip.

Constructors

Link copied to clipboard
constructor(startStopSelector: StopSelector? = null, endStopSelector: StopSelector? = null, propagatedModificationDelay: Int = 0, replacementStops: List<ReplacementStop> = emptyList(), serviceAlertId: String? = null, lastModifiedTime: Long? = null)

Properties

Link copied to clipboard

Last stop in the span to replace.

Link copied to clipboard

POSIX timestamp when this modification was last updated.

Link copied to clipboard

Delay in seconds propagated to stops after the modification.

Link copied to clipboard

Stops inserted in place of the replaced span.

Link copied to clipboard

Feed entity ID of the related service alert.

Link copied to clipboard

First stop in the span to replace.