toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (destIpRange != null) 'destIpRange': destIpRange!,
      if (destPortRanges != null) 'destPortRanges': destPortRanges!,
      if (displayName != null) 'displayName': displayName!,
      if (instanceTags != null) 'instanceTags': instanceTags!,
      if (nccHubUri != null) 'nccHubUri': nccHubUri!,
      if (nccSpokeUri != null) 'nccSpokeUri': nccSpokeUri!,
      if (networkUri != null) 'networkUri': networkUri!,
      if (nextHop != null) 'nextHop': nextHop!,
      if (nextHopType != null) 'nextHopType': nextHopType!,
      if (priority != null) 'priority': priority!,
      if (protocols != null) 'protocols': protocols!,
      if (routeScope != null) 'routeScope': routeScope!,
      if (routeType != null) 'routeType': routeType!,
      if (srcIpRange != null) 'srcIpRange': srcIpRange!,
      if (srcPortRanges != null) 'srcPortRanges': srcPortRanges!,
      if (uri != null) 'uri': uri!,
    };