Home > sncf.js > Disruption
Disruption class
Signature:
typescript
export declare class Disruption
Constructors
Constructor | Modifiers | Description |
---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
boolean | Return true if the train was canceled | ||
string | Return the cause of the disruption | ||
boolean | Return true if the train was delayed | ||
Date | Return the end date of the disruption | ||
string | Return the id of the disruption | ||
Return the impacted stops of the disruption | |||
string[] | Return the messages of the disruption | ||
Return the severity of the disruption | |||
Date | Return the start date of the disruption | ||
string | Return the status of the disruption | ||
Date | Return the updated date of the disruption |