toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final autoAllocatedNatIps = this.autoAllocatedNatIps;
  final drainAutoAllocatedNatIps = this.drainAutoAllocatedNatIps;
  final drainUserAllocatedNatIps = this.drainUserAllocatedNatIps;
  final minExtraNatIpsNeeded = this.minExtraNatIpsNeeded;
  final name = this.name;
  final numVmEndpointsWithNatMappings = this.numVmEndpointsWithNatMappings;
  final ruleStatus = this.ruleStatus;
  final userAllocatedNatIpResources = this.userAllocatedNatIpResources;
  final userAllocatedNatIps = this.userAllocatedNatIps;
  return {
    'autoAllocatedNatIps': ?autoAllocatedNatIps,
    'drainAutoAllocatedNatIps': ?drainAutoAllocatedNatIps,
    'drainUserAllocatedNatIps': ?drainUserAllocatedNatIps,
    'minExtraNatIpsNeeded': ?minExtraNatIpsNeeded,
    'name': ?name,
    'numVmEndpointsWithNatMappings': ?numVmEndpointsWithNatMappings,
    'ruleStatus': ?ruleStatus,
    'userAllocatedNatIpResources': ?userAllocatedNatIpResources,
    'userAllocatedNatIps': ?userAllocatedNatIps,
  };
}