Reading Buses API V3.0.0
A C#, .net Standard Library for the Reading Buses Open Data API (https://reading-opendata.r2p.com/), available to use in your C# console, WPF, UWP or Win Form Applications.
ReadingBusesAPI.TimeTable.HistoricJourney Class Reference

A historical journey, one that has happened in the past. More...

Inheritance diagram for ReadingBusesAPI.TimeTable.HistoricJourney:
ReadingBusesAPI.TimeTable.Journey

Public Member Functions

 HistoricJourney ()
 The default constructor, used only for JSON Parsing. Will be made internal when System.Text.Json add support for internal constructors in a future update. More...
 
- Public Member Functions inherited from ReadingBusesAPI.TimeTable.Journey
 Journey ()
 The default constructor, used only for JSON Parsing. Will be made internal when System.Text.Json add support for internal constructors in a future update. More...
 
BusService GetService ()
 Gets a reference to the service that is associated with this journey. More...
 

Properties

string VehicleCode [get, set]
 The vehicle code/id of the bus that operated on this journey. More...
 
new HistoricVisit[] Visits [get, set]
 An array of timetabled visits contained within this journey. More...
 
- Properties inherited from ReadingBusesAPI.TimeTable.Journey
int Id [get, set]
 The unique identifier for a journey. More...
 
Company Company [get, set]
 The bus operator of the service. More...
 
string ServiceId [get, set]
 The name/id for the bus service. More...
 
string JourneyPattern [get, set]
 The JourneyPattern value. This seems unused within the API. More...
 
string RunningBoard [get, set]
 The Running Board ID. A running board refers to the trips that the vehicle will execute that day More...
 
string Duty [get, set]
 The Duty ID, which is a timetable of trips a driver is expected to execute that day. More...
 
string JourneyCode [get, set]
 The Journey Code. Seems to server same purpose as the Id value? More...
 
DateTime ScheduledStart [get, set]
 The Scheduled Start time of the journey. This is normally the time of the first stop visit. More...
 
Visit[] Visits [get, set]
 An array of timetabled visits contained within this journey. More...
 

Detailed Description

A historical journey, one that has happened in the past.

Constructor & Destructor Documentation

◆ HistoricJourney()

ReadingBusesAPI.TimeTable.HistoricJourney.HistoricJourney ( )

The default constructor, used only for JSON Parsing. Will be made internal when System.Text.Json add support for internal constructors in a future update.

Property Documentation

◆ VehicleCode

string ReadingBusesAPI.TimeTable.HistoricJourney.VehicleCode
getset

The vehicle code/id of the bus that operated on this journey.

◆ Visits

new HistoricVisit [] ReadingBusesAPI.TimeTable.HistoricJourney.Visits
getset

An array of timetabled visits contained within this journey.


The documentation for this class was generated from the following file: