toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'fieldToMatch': ?pulumi.Input.mapOptionalInputValue<RuleGroupRuleStatementXssMatchStatementFieldToMatch, Map<String, dynamic>>(fieldToMatch, (value) => value.toMap()),
    'preParseTextTransformations': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleStatementXssMatchStatementPreParseTextTransformation>, List<Map<String, dynamic>>>(preParseTextTransformations, (value) => pulumi.Input.encodeList<RuleGroupRuleStatementXssMatchStatementPreParseTextTransformation, Map<String, dynamic>>(value, (value) => value.toMap())),
    'textTransformations': pulumi.Input.mapInputValue<List<RuleGroupRuleStatementXssMatchStatementTextTransformation>, List<Map<String, dynamic>>>(textTransformations, (value) => pulumi.Input.encodeList<RuleGroupRuleStatementXssMatchStatementTextTransformation, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}