/// <summary> /// Initializes a new instance of the <see cref="V3DirectionsResponse" /> class. /// </summary> /// <param name="Directions">Directions of travel of route.</param> /// <param name="Status">API Status / Metadata.</param> public V3DirectionsResponse(List <V3Direction> Directions = null, V3Status Status = null) { this.Directions = Directions; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3StoppingPattern" /> class. /// </summary> /// <param name="Departures">Timetabled and real-time service departures.</param> /// <param name="Disruptions">Disruption information applicable to relevant routes or stops.</param> /// <param name="Status">API Status / Metadata.</param> public V3StoppingPattern(List <V3Departure> Departures = null, List <V3Disruption> Disruptions = null, V3Status Status = null) { this.Departures = Departures; this.Disruptions = Disruptions; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3RouteResponse" /> class. /// </summary> /// <param name="Route">Train lines, tram routes, bus routes, regional coach routes, Night Bus routes.</param> /// <param name="Status">API Status / Metadata.</param> public V3RouteResponse(V3Route Route = null, V3Status Status = null) { this.Route = Route; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3RouteTypesResponse" /> class. /// </summary> /// <param name="RouteTypes">Transport mode identifiers.</param> /// <param name="Status">API Status / Metadata.</param> public V3RouteTypesResponse(List <V3RouteType> RouteTypes = null, V3Status Status = null) { this.RouteTypes = RouteTypes; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3RunResponse" /> class. /// </summary> /// <param name="Run">Individual trip/service of a route.</param> /// <param name="Status">API Status / Metadata.</param> public V3RunResponse(V3Run Run = null, V3Status Status = null) { this.Run = Run; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3StopResponse" /> class. /// </summary> /// <param name="Stop">A metropolitan or V/Line train station.</param> /// <param name="Status">API Status / Metadata.</param> public V3StopResponse(V3StopDetails Stop = null, V3Status Status = null) { this.Stop = Stop; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3DisruptionResponse" /> class. /// </summary> /// <param name="Disruption">Disruption information applicable to relevant routes or stops.</param> /// <param name="Status">API Status / Metadata.</param> public V3DisruptionResponse(V3Disruption Disruption = null, V3Status Status = null) { this.Disruption = Disruption; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3DisruptionsResponse" /> class. /// </summary> /// <param name="Disruptions">Disruption information applicable to relevant routes or stops.</param> /// <param name="Status">API Status / Metadata.</param> public V3DisruptionsResponse(V3Disruptions Disruptions = null, V3Status Status = null) { this.Disruptions = Disruptions; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3StopsByDistanceResponse" /> class. /// </summary> /// <param name="Stops">Train stations, tram stops, bus stops, regional coach stops or Night Bus stops.</param> /// <param name="Status">API Status / Metadata.</param> public V3StopsByDistanceResponse(List <V3StopGeosearch> Stops = null, V3Status Status = null) { this.Stops = Stops; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3StopsOnRouteResponse" /> class. /// </summary> /// <param name="Stops">Train stations, tram stops, bus stops, regional coach stops or Night Bus stops.</param> /// <param name="Status">API Status / Metadata.</param> public V3StopsOnRouteResponse(List <V3StopOnRoute> Stops = null, V3Status Status = null) { this.Stops = Stops; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3ErrorResponse" /> class. /// </summary> /// <param name="Message">Error message.</param> /// <param name="Status">API Status / Metadata.</param> public V3ErrorResponse(string Message = null, V3Status Status = null) { this.Message = Message; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3SearchResult" /> class. /// </summary> /// <param name="Stops">Train stations, tram stops, bus stops, regional coach stops or Night Bus stops.</param> /// <param name="Routes">Train lines, tram routes, bus routes, regional coach routes, Night Bus routes.</param> /// <param name="Outlets">myki ticket outlets.</param> /// <param name="Status">API Status / Metadata.</param> public V3SearchResult(List <V3ResultStop> Stops = null, List <V3ResultRoute> Routes = null, List <V3ResultOutlet> Outlets = null, V3Status Status = null) { this.Stops = Stops; this.Routes = Routes; this.Outlets = Outlets; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3RunsResponse" /> class. /// </summary> /// <param name="Runs">Individual trips/services of a route.</param> /// <param name="Status">API Status / Metadata.</param> public V3RunsResponse(List <V3Run> Runs = null, V3Status Status = null) { this.Runs = Runs; this.Status = Status; }
/// <summary> /// Initializes a new instance of the <see cref="V3DeparturesResponse" /> class. /// </summary> /// <param name="Departures">Timetabled and real-time service departures.</param> /// <param name="Stops">A train station, tram stop, bus stop, regional coach stop or Night Bus stop.</param> /// <param name="Routes">Train lines, tram routes, bus routes, regional coach routes, Night Bus routes.</param> /// <param name="Runs">Individual trips/services of a route.</param> /// <param name="Directions">Directions of travel of route.</param> /// <param name="Disruptions">Disruption information applicable to relevant routes or stops.</param> /// <param name="Status">API Status / Metadata.</param> public V3DeparturesResponse(List <V3Departure> Departures = null, Dictionary <string, V3ResultStop> Stops = null, Dictionary <string, V3Route> Routes = null, Dictionary <string, V3Run> Runs = null, Dictionary <string, V3Direction> Directions = null, Dictionary <string, V3Disruption> Disruptions = null, V3Status Status = null) { this.Departures = Departures; this.Stops = Stops; this.Routes = Routes; this.Runs = Runs; this.Directions = Directions; this.Disruptions = Disruptions; this.Status = Status; }