toMap method

Map<String, dynamic> toMap()

Implementation

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