/// <inheritdoc /> public Task <IFlushJobResponse> FlushJobAsync(IFlushJobRequest request, CancellationToken cancellationToken = default(CancellationToken)) => Dispatcher.DispatchAsync <IFlushJobRequest, FlushJobRequestParameters, FlushJobResponse, IFlushJobResponse>( request, cancellationToken, LowLevelDispatch.XpackMlFlushJobDispatchAsync <FlushJobResponse> );
/// <inheritdoc /> public IFlushJobResponse FlushJob(IFlushJobRequest request) => Dispatcher.Dispatch <IFlushJobRequest, FlushJobRequestParameters, FlushJobResponse>( request, LowLevelDispatch.XpackMlFlushJobDispatch <FlushJobResponse> );
/// <inheritdoc /> public Task <FlushJobResponse> FlushJobAsync(IFlushJobRequest request, CancellationToken ct = default) => DoRequestAsync <IFlushJobRequest, FlushJobResponse>(request, request.RequestParameters, ct);
/// <inheritdoc /> public FlushJobResponse FlushJob(IFlushJobRequest request) => DoRequest <IFlushJobRequest, FlushJobResponse>(request, request.RequestParameters);
public static Task <FlushJobResponse> FlushJobAsync(this IElasticClient client, IFlushJobRequest request, CancellationToken ct = default) => client.MachineLearning.FlushJobAsync(request, ct);
public static FlushJobResponse FlushJob(this IElasticClient client, IFlushJobRequest request) => client.MachineLearning.FlushJob(request);