SecurityPolicyRuleMatcherResponse.fromMap constructor

SecurityPolicyRuleMatcherResponse.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory SecurityPolicyRuleMatcherResponse.fromMap(Map<String, dynamic> map) {
  return SecurityPolicyRuleMatcherResponse(
    config: pulumi.Input.fromValue(SecurityPolicyRuleMatcherConfigResponse.fromMap((map['config']! as Map).cast<String, dynamic>())),
    expr: pulumi.Input.fromValue(ExprResponse.fromMap((map['expr']! as Map).cast<String, dynamic>())),
    exprOptions: pulumi.Input.fromValue(SecurityPolicyRuleMatcherExprOptionsResponse.fromMap((map['exprOptions']! as Map).cast<String, dynamic>())),
    versionedExpr: pulumi.Input.fromValue(map['versionedExpr'] as String),
  );
}