AlertStrategy class
Control over how the notification channels in notification_channels are notified when this alert fires.
Constructors
-
AlertStrategy({String? autoClose, List<
NotificationChannelStrategy> ? notificationChannelStrategy, NotificationRateLimit? notificationRateLimit}) - AlertStrategy.fromJson(Map json_)
Properties
- autoClose ↔ String?
-
If an alert policy that was active has no data for this long, any open
incidents will close
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
notificationChannelStrategy
↔ List<
NotificationChannelStrategy> ? -
Control how notifications will be sent out, on a per-channel basis.
getter/setter pair
- notificationRateLimit ↔ NotificationRateLimit?
-
Required for alert policies with a LogMatch condition.This limit is not
implemented for alert policies that are not log-based.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited