InstancesGetEffectiveFirewallsResponse.fromJson constructor

InstancesGetEffectiveFirewallsResponse.fromJson(
  1. Map json_
)

Implementation

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