toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (ipRange != null) 'ipRange': ipRange!,
  if (ipVersion != null) 'ipVersion': ipVersion!,
  if (linkedInterconnectAttachment != null)
    'linkedInterconnectAttachment': linkedInterconnectAttachment!,
  if (linkedVpnTunnel != null) 'linkedVpnTunnel': linkedVpnTunnel!,
  if (managementType != null) 'managementType': managementType!,
  if (name != null) 'name': name!,
  if (privateIpAddress != null) 'privateIpAddress': privateIpAddress!,
  if (redundantInterface != null) 'redundantInterface': redundantInterface!,
  if (subnetwork != null) 'subnetwork': subnetwork!,
};