RemoveRuleFirewallPolicyRequest.fromJson constructor

RemoveRuleFirewallPolicyRequest.fromJson(
  1. Object? j
)

Implementation

factory RemoveRuleFirewallPolicyRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return RemoveRuleFirewallPolicyRequest(
    firewallPolicy: switch (json['firewallPolicy']) {
      null => '',
      Object $1 => decodeString($1),
    },
    priority: switch (json['priority']) {
      null => null,
      Object $1 => decodeInt($1),
    },
    requestId: switch (json['requestId']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}