toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'rulesSourceList': ?pulumi.Input.mapOptionalInputValue<RuleGroupRuleGroupRulesSourceRulesSourceList, Map<String, dynamic>>(rulesSourceList, (value) => value.toMap()),
    'rulesString': ?rulesString,
    'statefulRules': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleGroupRulesSourceStatefulRule>, List<Map<String, dynamic>>>(statefulRules, (value) => pulumi.Input.encodeList<RuleGroupRuleGroupRulesSourceStatefulRule, Map<String, dynamic>>(value, (value) => value.toMap())),
    'statelessRulesAndCustomActions': ?pulumi.Input.mapOptionalInputValue<RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActions, Map<String, dynamic>>(statelessRulesAndCustomActions, (value) => value.toMap()),
  };
}