toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (natGatewayName != null) 'natGatewayName': natGatewayName!,
if (networkUri != null) 'networkUri': networkUri!,
if (newDestinationIp != null) 'newDestinationIp': newDestinationIp!,
if (newDestinationPort != null)
'newDestinationPort': newDestinationPort!,
if (newSourceIp != null) 'newSourceIp': newSourceIp!,
if (newSourcePort != null) 'newSourcePort': newSourcePort!,
if (oldDestinationIp != null) 'oldDestinationIp': oldDestinationIp!,
if (oldDestinationPort != null)
'oldDestinationPort': oldDestinationPort!,
if (oldSourceIp != null) 'oldSourceIp': oldSourceIp!,
if (oldSourcePort != null) 'oldSourcePort': oldSourcePort!,
if (protocol != null) 'protocol': protocol!,
if (routerUri != null) 'routerUri': routerUri!,
if (type != null) 'type': type!,
};