public static Task <DeleteJobResponse> DeleteJobAsync(this IElasticClient client, IDeleteJobRequest request, CancellationToken ct = default) => client.MachineLearning.DeleteJobAsync(request, ct);
public static DeleteJobResponse DeleteJob(this IElasticClient client, IDeleteJobRequest request) => client.MachineLearning.DeleteJob(request);
/// <inheritdoc/> public Task <IDeleteJobResponse> DeleteJobAsync(IDeleteJobRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync <IDeleteJobRequest, DeleteJobRequestParameters, DeleteJobResponse, IDeleteJobResponse>( request, cancellationToken, (p, d, c) => this.LowLevelDispatch.XpackMlDeleteJobDispatchAsync <DeleteJobResponse>(p, c) );
/// <inheritdoc/> public IDeleteJobResponse DeleteJob(IDeleteJobRequest request) => this.Dispatcher.Dispatch <IDeleteJobRequest, DeleteJobRequestParameters, DeleteJobResponse>( request, (p, d) => this.LowLevelDispatch.XpackMlDeleteJobDispatch <DeleteJobResponse>(p) );
/// <inheritdoc /> public Task <DeleteJobResponse> DeleteJobAsync(IDeleteJobRequest request, CancellationToken ct = default) => DoRequestAsync <IDeleteJobRequest, DeleteJobResponse>(request, request.RequestParameters, ct);
/// <inheritdoc /> public DeleteJobResponse DeleteJob(IDeleteJobRequest request) => DoRequest <IDeleteJobRequest, DeleteJobResponse>(request, request.RequestParameters);