RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatement.fromMap constructor
RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatement.fromMap()
Implementation
factory RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatement.fromMap(Map<String, dynamic> map) {
return RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatement(
fieldToMatch: (() { final guardedValue = map['fieldToMatch']; if (guardedValue == null) return null; return pulumi.Input.fromValue(RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementFieldToMatch.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
positionalConstraint: pulumi.Input.fromValue(map['positionalConstraint'] as String),
preParseTextTransformations: (() { final guardedValue = map['preParseTextTransformations']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementPreParseTextTransformation>(guardedValue, (value) => RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementPreParseTextTransformation.fromMap((value as Map).cast<String, dynamic>()))); })(),
searchString: pulumi.Input.fromValue(map['searchString'] as String),
textTransformations: pulumi.Input.fromValue(pulumi.Input.decodeList<RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementTextTransformation>(map['textTransformations']!, (value) => RuleGroupRuleStatementRateBasedStatementScopeDownStatementByteMatchStatementTextTransformation.fromMap((value as Map).cast<String, dynamic>()))),
);
}