toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bgpAlwaysCompareMed != null)
    'bgpAlwaysCompareMed': bgpAlwaysCompareMed!,
  if (bgpBestPathSelectionMode != null)
    'bgpBestPathSelectionMode': bgpBestPathSelectionMode!,
  if (bgpInterRegionCost != null) 'bgpInterRegionCost': bgpInterRegionCost!,
  if (effectiveBgpAlwaysCompareMed != null)
    'effectiveBgpAlwaysCompareMed': effectiveBgpAlwaysCompareMed!,
  if (effectiveBgpInterRegionCost != null)
    'effectiveBgpInterRegionCost': effectiveBgpInterRegionCost!,
  if (routingMode != null) 'routingMode': routingMode!,
};