toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (destAddressGroups != null) 'destAddressGroups': destAddressGroups!,
      if (destFqdns != null) 'destFqdns': destFqdns!,
      if (destIpRanges != null) 'destIpRanges': destIpRanges!,
      if (destRegionCodes != null) 'destRegionCodes': destRegionCodes!,
      if (destThreatIntelligences != null)
        'destThreatIntelligences': destThreatIntelligences!,
      if (layer4Configs != null) 'layer4Configs': layer4Configs!,
      if (srcAddressGroups != null) 'srcAddressGroups': srcAddressGroups!,
      if (srcFqdns != null) 'srcFqdns': srcFqdns!,
      if (srcIpRanges != null) 'srcIpRanges': srcIpRanges!,
      if (srcRegionCodes != null) 'srcRegionCodes': srcRegionCodes!,
      if (srcSecureTags != null) 'srcSecureTags': srcSecureTags!,
      if (srcThreatIntelligences != null)
        'srcThreatIntelligences': srcThreatIntelligences!,
    };