/tripkit/TripKitAndroidUIData/com.skedgo.tripkit.ui.data.realtime/LatestServiceResponse

LatestServiceResponse

\ @Value.Immutable

@Gson.TypeAdapters

interface LatestServiceResponse

Functions

Name Summary
alerts abstract fun alerts(): List<RealtimeAlert>?
endStopCode abstract fun endStopCode(): String?
endTime open fun endTime(): Long?
lastUpdate abstract fun lastUpdate(): Long?
realtimeAlternativeVehicle abstract fun realtimeAlternativeVehicle(): List<RealTimeVehicle>?
realtimeVehicle abstract fun realtimeVehicle(): RealTimeVehicle?
realtimeVehicleAlternatives abstract fun realtimeVehicleAlternatives(): List<RealTimeVehicle>?
serviceTripID abstract fun serviceTripID(): String
startStopCode abstract fun startStopCode(): String?
startTime open fun startTime(): Long?
toMapRealTimeVehicles fun LatestServiceResponse.toMapRealTimeVehicles(): List<RealTimeVehicle>
Alternatives are locations for this request's map, not vehicles assigned to its trip.
toRealTimeVehicles fun LatestServiceResponse.toRealTimeVehicles(): List<RealTimeVehicle>
Only the service's assigned vehicle owns the response's trip, alerts and stop times.