RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.fromJson constructor
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.fromJson(
- Map json_
Implementation
RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.fromJson(
core.Map json_)
: this(
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
rules: json_.containsKey('rules')
? (json_['rules'] as core.List)
.map((value) => FirewallPolicyRule.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);