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