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