toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoAllocatedNatIps != null)
        'autoAllocatedNatIps': autoAllocatedNatIps!,
      if (drainAutoAllocatedNatIps != null)
        'drainAutoAllocatedNatIps': drainAutoAllocatedNatIps!,
      if (drainUserAllocatedNatIps != null)
        'drainUserAllocatedNatIps': drainUserAllocatedNatIps!,
      if (minExtraNatIpsNeeded != null)
        'minExtraNatIpsNeeded': minExtraNatIpsNeeded!,
      if (name != null) 'name': name!,
      if (numVmEndpointsWithNatMappings != null)
        'numVmEndpointsWithNatMappings': numVmEndpointsWithNatMappings!,
      if (ruleStatus != null) 'ruleStatus': ruleStatus!,
      if (userAllocatedNatIpResources != null)
        'userAllocatedNatIpResources': userAllocatedNatIpResources!,
      if (userAllocatedNatIps != null)
        'userAllocatedNatIps': userAllocatedNatIps!,
    };