NetworksGetEffectiveFirewallsResponse.fromJson constructor

NetworksGetEffectiveFirewallsResponse.fromJson(
  1. Map json_
)

Implementation

NetworksGetEffectiveFirewallsResponse.fromJson(core.Map json_)
    : this(
        firewallPolicys: json_.containsKey('firewallPolicys')
            ? (json_['firewallPolicys'] as core.List)
                .map((value) =>
                    NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
                        .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,
      );