toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activeNatIps != null) 'activeNatIps': activeNatIps!,
      if (drainNatIps != null) 'drainNatIps': drainNatIps!,
      if (minExtraIpsNeeded != null) 'minExtraIpsNeeded': minExtraIpsNeeded!,
      if (numVmEndpointsWithNatMappings != null)
        'numVmEndpointsWithNatMappings': numVmEndpointsWithNatMappings!,
      if (ruleNumber != null) 'ruleNumber': ruleNumber!,
    };