FirewallPolicyRuleMatcher.fromJson constructor

FirewallPolicyRuleMatcher.fromJson(
  1. Map json_
)

Implementation

FirewallPolicyRuleMatcher.fromJson(core.Map json_)
    : this(
        destAddressGroups: (json_['destAddressGroups'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        destFqdns: (json_['destFqdns'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        destIpRanges: (json_['destIpRanges'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        destRegionCodes: (json_['destRegionCodes'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        destThreatIntelligences:
            (json_['destThreatIntelligences'] as core.List?)
                ?.map((value) => value as core.String)
                .toList(),
        layer4Configs: (json_['layer4Configs'] as core.List?)
            ?.map((value) => FirewallPolicyRuleMatcherLayer4Config.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        srcAddressGroups: (json_['srcAddressGroups'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        srcFqdns: (json_['srcFqdns'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        srcIpRanges: (json_['srcIpRanges'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        srcRegionCodes: (json_['srcRegionCodes'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        srcSecureTags: (json_['srcSecureTags'] as core.List?)
            ?.map((value) => FirewallPolicyRuleSecureTag.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        srcThreatIntelligences:
            (json_['srcThreatIntelligences'] as core.List?)
                ?.map((value) => value as core.String)
                .toList(),
      );