AlertDetail interface

A list of alert details.

Properties

activeFrom

The start time of the alert in the local time in ISO format (2019-04-05T14:24:18-04:00).

activeTo

The estimated end time of the alert in the local time in ISO format (2019-04-05T14:24:18-04:00).

agencyId

The Id of the relevant transit agency, for example, '5872'.

agencyName

Name of the relevant transit agency, e.g. Metro Transit.

description

A short description of the alert.

effect

Service Alert effect - one of SA_NO_SERVICE, SA_REDUCED_SERVICE, SA_SIGNIFICANT_DELAYS, SA_DETOUR, SA_ADDITIONAL_SERVICE, SA_MODIFIED_SERVICE, SA_OTHER_EFFECT, SA_STOP_MOVED, SA_GOOD_SERVICE, SA_SLEEPING, SA_OTHER_EFFECT

title

The title of the alert.

Property Details

activeFrom

The start time of the alert in the local time in ISO format (2019-04-05T14:24:18-04:00).

activeFrom?: Date

Property Value

Date

activeTo

The estimated end time of the alert in the local time in ISO format (2019-04-05T14:24:18-04:00).

activeTo?: Date

Property Value

Date

agencyId

The Id of the relevant transit agency, for example, '5872'.

agencyId?: string

Property Value

string

agencyName

Name of the relevant transit agency, e.g. Metro Transit.

agencyName?: string

Property Value

string

description

A short description of the alert.

description?: AlertDescription

Property Value

effect

Service Alert effect - one of SA_NO_SERVICE, SA_REDUCED_SERVICE, SA_SIGNIFICANT_DELAYS, SA_DETOUR, SA_ADDITIONAL_SERVICE, SA_MODIFIED_SERVICE, SA_OTHER_EFFECT, SA_STOP_MOVED, SA_GOOD_SERVICE, SA_SLEEPING, SA_OTHER_EFFECT

effect?: string

Property Value

string

title

The title of the alert.

title?: string

Property Value

string