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