AutomationRuleAction.fromMap constructor

AutomationRuleAction.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory AutomationRuleAction.fromMap(Map<String, dynamic> map) {
  return AutomationRuleAction(
    findingFieldsUpdate: (() { final guardedValue = map['findingFieldsUpdate']; if (guardedValue == null) return null; return pulumi.Input.fromValue(AutomationRuleActionFindingFieldsUpdate.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    type: (() { final guardedValue = map['type']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}