toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (activeNatIps.isNotDefault) 'activeNatIps': activeNatIps,
  if (drainNatIps.isNotDefault) 'drainNatIps': drainNatIps,
  'minExtraIpsNeeded': ?minExtraIpsNeeded,
  'numVmEndpointsWithNatMappings': ?numVmEndpointsWithNatMappings,
  'ruleNumber': ?ruleNumber,
};