RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.fromJson constructor

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.fromJson(
  1. Map json_
)

Implementation

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.fromJson(
    core.Map json_)
    : this(
        firewallPolicys: json_.containsKey('firewallPolicys')
            ? (json_['firewallPolicys'] as core.List)
                .map((value) =>
                    RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        firewalls: json_.containsKey('firewalls')
            ? (json_['firewalls'] as core.List)
                .map((value) => Firewall.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );