public static Task<IRestartWatcherResponse> RestartWatcherAsync(this IElasticClient client, IRestartWatcherRequest request)
 {
     return ((IHighLevelToLowLevelDispatcher)client).DispatchAsync<IRestartWatcherRequest, RestartWatcherRequestParameters, RestartWatcherResponse, IRestartWatcherResponse>(
         request,
         (p, d) => client.Raw.WatcherRestartDispatchAsync<RestartWatcherResponse>(p)
     );
 }
 /// <inheritdoc />
 public Task <IRestartWatcherResponse> RestartWatcherAsync(IRestartWatcherRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IRestartWatcherRequest, RestartWatcherRequestParameters, RestartWatcherResponse, IRestartWatcherResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackWatcherRestartDispatchAsync <RestartWatcherResponse>(p, c)
     );
 public static Task <IRestartWatcherResponse> RestartWatcherAsync(this IElasticClient client, IRestartWatcherRequest request)
 {
     return(((IHighLevelToLowLevelDispatcher)client).DispatchAsync <IRestartWatcherRequest, RestartWatcherRequestParameters, RestartWatcherResponse, IRestartWatcherResponse>(
                request,
                (p, d) => client.Raw.WatcherRestartDispatchAsync <RestartWatcherResponse>(p)
                ));
 }
 /// <inheritdoc />
 public IRestartWatcherResponse RestartWatcher(IRestartWatcherRequest request) =>
 Dispatcher.Dispatch <IRestartWatcherRequest, RestartWatcherRequestParameters, RestartWatcherResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackWatcherRestartDispatch <RestartWatcherResponse>(p)
     );