toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final autoNetworkTier = this.autoNetworkTier;
final drainNatIps = this.drainNatIps;
final enableDynamicPortAllocation = this.enableDynamicPortAllocation;
final enableEndpointIndependentMapping =
this.enableEndpointIndependentMapping;
final endpointTypes = this.endpointTypes;
final icmpIdleTimeoutSec = this.icmpIdleTimeoutSec;
final logConfig = this.logConfig;
final maxPortsPerVm = this.maxPortsPerVm;
final minPortsPerVm = this.minPortsPerVm;
final name = this.name;
final nat64Subnetworks = this.nat64Subnetworks;
final natIpAllocateOption = this.natIpAllocateOption;
final natIps = this.natIps;
final rules = this.rules;
final sourceSubnetworkIpRangesToNat = this.sourceSubnetworkIpRangesToNat;
final sourceSubnetworkIpRangesToNat64 =
this.sourceSubnetworkIpRangesToNat64;
final subnetworks = this.subnetworks;
final tcpEstablishedIdleTimeoutSec = this.tcpEstablishedIdleTimeoutSec;
final tcpTimeWaitTimeoutSec = this.tcpTimeWaitTimeoutSec;
final tcpTransitoryIdleTimeoutSec = this.tcpTransitoryIdleTimeoutSec;
final type = this.type;
final udpIdleTimeoutSec = this.udpIdleTimeoutSec;
return {
'autoNetworkTier': ?autoNetworkTier,
'drainNatIps': ?drainNatIps,
'enableDynamicPortAllocation': ?enableDynamicPortAllocation,
'enableEndpointIndependentMapping': ?enableEndpointIndependentMapping,
'endpointTypes': ?endpointTypes,
'icmpIdleTimeoutSec': ?icmpIdleTimeoutSec,
'logConfig': ?logConfig,
'maxPortsPerVm': ?maxPortsPerVm,
'minPortsPerVm': ?minPortsPerVm,
'name': ?name,
'nat64Subnetworks': ?nat64Subnetworks,
'natIpAllocateOption': ?natIpAllocateOption,
'natIps': ?natIps,
'rules': ?rules,
'sourceSubnetworkIpRangesToNat': ?sourceSubnetworkIpRangesToNat,
'sourceSubnetworkIpRangesToNat64': ?sourceSubnetworkIpRangesToNat64,
'subnetworks': ?subnetworks,
'tcpEstablishedIdleTimeoutSec': ?tcpEstablishedIdleTimeoutSec,
'tcpTimeWaitTimeoutSec': ?tcpTimeWaitTimeoutSec,
'tcpTransitoryIdleTimeoutSec': ?tcpTransitoryIdleTimeoutSec,
'type': ?type,
'udpIdleTimeoutSec': ?udpIdleTimeoutSec,
};
}