FeedEntity

data class FeedEntity(val id: String, val isDeleted: Boolean = false, val tripUpdate: TripUpdate? = null, val vehicle: VehiclePosition? = null, val alert: Alert? = null, val shape: Shape? = null, val stop: Stop? = null, val tripModifications: TripModifications? = null)(source)

A single realtime entity in the feed.

Constructors

Link copied to clipboard
constructor(id: String, isDeleted: Boolean = false, tripUpdate: TripUpdate? = null, vehicle: VehiclePosition? = null, alert: Alert? = null, shape: Shape? = null, stop: Stop? = null, tripModifications: TripModifications? = null)

Properties

Link copied to clipboard
val alert: Alert?

Service alert data.

Link copied to clipboard
val id: String

Feed-unique identifier for this entity.

Link copied to clipboard

Whether this entity should be deleted (differential feeds only).

Link copied to clipboard
val shape: Shape?

Realtime shape data.

Link copied to clipboard
val stop: Stop?

Dynamically added stop data.

Link copied to clipboard

Trip modification data such as detours.

Link copied to clipboard

Realtime trip progress data.

Link copied to clipboard

Realtime vehicle position data.