TCal::V3API::Alert::Attributes
Inherits JSON::Serializable < Struct < Value < Object
The attributes of an Alert resource.
The active_period and informed_entity attributes are remapped to align
with the convention that collections have plural names.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
active_periods
Sourcecreated_at
Sourceheader
Sourceimage
Sourceimage_alternative_text
Sourceinformed_entities
Sourceservice_effect
Sourcetransient?
Tries to guess whether this alert is "transient" (represents an unplanned disruption that is not expected to last very long).
An alert is transient if it has only one active period, with a start time within 1 hour of the alert's creation timestamp, a definite end time, and a duration of less than 12 hours. These are indicators that the alert was likely created in response to a short-term unplanned disruption which was already happening at the time of creation.
updated_at
Sourceurl
Source