AlertStrategyResponse.fromMap constructor
AlertStrategyResponse.fromMap(
- Map<String, dynamic> map
)
Implementation
factory AlertStrategyResponse.fromMap(Map<String, dynamic> map) {
return AlertStrategyResponse(
autoClose: pulumi.Input.fromValue(map['autoClose'] as String),
notificationChannelStrategy: pulumi.Input.fromValue(pulumi.Input.decodeList<NotificationChannelStrategyResponse>(map['notificationChannelStrategy']!, (value) => NotificationChannelStrategyResponse.fromMap((value as Map).cast<String, dynamic>()))),
notificationRateLimit: pulumi.Input.fromValue(NotificationRateLimitResponse.fromMap((map['notificationRateLimit']! as Map).cast<String, dynamic>())),
);
}