toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'customActions': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction>, List<Map<String, dynamic>>>(customActions, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction, Map<String, dynamic>>(value, (value) => value.toMap())),
    'statelessRules': pulumi.Input.mapInputValue<List<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule>, List<Map<String, dynamic>>>(statelessRules, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}