/// <summary>
 /// Create Route associated to a specific Service
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='service'>
 /// The unique identifier or the name attribute of the Service that should be
 /// associated to the newly-created Route.
 /// </param>
 /// <param name='routeUpsert'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Route> AddRouteAsync(this IKongAdminAPI operations, string service, RouteUpsert routeUpsert, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.AddRouteWithHttpMessagesAsync(service, routeUpsert, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Create Route associated to a specific Service
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='service'>
 /// The unique identifier or the name attribute of the Service that should be
 /// associated to the newly-created Route.
 /// </param>
 /// <param name='routeUpsert'>
 /// </param>
 public static Route AddRoute(this IKongAdminAPI operations, string service, RouteUpsert routeUpsert)
 {
     return(operations.AddRouteAsync(service, routeUpsert).GetAwaiter().GetResult());
 }