RuleGroupRuleGroupRuleVariables.fromMap constructor
RuleGroupRuleGroupRuleVariables.fromMap(
- Map<String, dynamic> map
)
Implementation
factory RuleGroupRuleGroupRuleVariables.fromMap(Map<String, dynamic> map) {
return RuleGroupRuleGroupRuleVariables(
ipSets: (() { final guardedValue = map['ipSets']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<RuleGroupRuleGroupRuleVariablesIpSet>(guardedValue, (value) => RuleGroupRuleGroupRuleVariablesIpSet.fromMap((value as Map).cast<String, dynamic>()))); })(),
portSets: (() { final guardedValue = map['portSets']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<RuleGroupRuleGroupRuleVariablesPortSet>(guardedValue, (value) => RuleGroupRuleGroupRuleVariablesPortSet.fromMap((value as Map).cast<String, dynamic>()))); })(),
);
}