Vehicle class
Signature:
typescript
export declare class Vehicle
Constructors
Constructor | Modifiers | Description |
---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
Date | Return the arrival date of the vehicle | ||
string | Return the arrival time of the vehicle | ||
Calendar[] | Return the calendar of the vehicle | ||
Date | Return the departure date of the vehicle | ||
string | Return the departure time of the vehicle | ||
| Return the vehicle disruptions | ||
| string | ||
| string | ||
boolean | Return boolean if the vehicle has disruptions | ||
string | Return the vehicle headsign | ||
string | Return the vehicle id | ||
StopTime[] | Return the steps of the vehicle | ||
string | Return trip ID |