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