toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (drainNatIpPortRanges != null)
        'drainNatIpPortRanges': drainNatIpPortRanges!,
      if (natIpPortRanges != null) 'natIpPortRanges': natIpPortRanges!,
      if (numTotalDrainNatPorts != null)
        'numTotalDrainNatPorts': numTotalDrainNatPorts!,
      if (numTotalNatPorts != null) 'numTotalNatPorts': numTotalNatPorts!,
      if (ruleMappings != null) 'ruleMappings': ruleMappings!,
      if (sourceAliasIpRange != null)
        'sourceAliasIpRange': sourceAliasIpRange!,
      if (sourceVirtualIp != null) 'sourceVirtualIp': sourceVirtualIp!,
    };