tripkit-android / com.skedgo.tripkit.ui.model / DeparturesResponse

DeparturesResponse

open class DeparturesResponse

See Also <a href="https://redmine.buzzhives.com/projects/buzzhives/wiki/RealTime_API#DepartureServlet-new-servlet-departuresjson">departures.json API</a>

Types

Name Summary
ServicesResponse open class ServicesResponse

Constructors

Name Summary
<init> DeparturesResponse()

Properties

Name Summary
embarkationStopList var embarkationStopList:MutableList<ServicesResponse!>!
error (Optional)var error:String!
hasError (Optional)var hasError:Boolean
stopList (Optional)var stopList:MutableList<ScheduledStop!>!

Functions

Name Summary
getAlerts open fun getAlerts():MutableList<RealtimeAlert!>?
getParentInfo open fun getParentInfo():ScheduledStop?
getServiceList open fun getServiceList():MutableList<TimetableEntry!>?
processEmbarkationStopList Assigns stop code into corresponding service open fun processEmbarkationStopList():Unit
setAlerts open fun setAlerts(alerts:MutableList<RealtimeAlert!>!):Unit

Extension Functions

Name Summary
postProcess funDeparturesResponse.postProcess(embarkationStops:List<String>, disembarkationStops:List<String>?):DeparturesResponse