/// <inheritdoc /> public Task <IDeleteDatafeedResponse> DeleteDatafeedAsync(IDeleteDatafeedRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher.DispatchAsync <IDeleteDatafeedRequest, DeleteDatafeedRequestParameters, DeleteDatafeedResponse, IDeleteDatafeedResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackMlDeleteDatafeedDispatchAsync <DeleteDatafeedResponse>(p, c) );
/// <inheritdoc /> public IDeleteDatafeedResponse DeleteDatafeed(IDeleteDatafeedRequest request) => Dispatcher.Dispatch <IDeleteDatafeedRequest, DeleteDatafeedRequestParameters, DeleteDatafeedResponse>( request, (p, d) => LowLevelDispatch.XpackMlDeleteDatafeedDispatch <DeleteDatafeedResponse>(p) );
/// <inheritdoc /> public Task <DeleteDatafeedResponse> DeleteDatafeedAsync(IDeleteDatafeedRequest request, CancellationToken ct = default) => DoRequestAsync <IDeleteDatafeedRequest, DeleteDatafeedResponse>(request, request.RequestParameters, ct);
/// <inheritdoc /> public DeleteDatafeedResponse DeleteDatafeed(IDeleteDatafeedRequest request) => DoRequest <IDeleteDatafeedRequest, DeleteDatafeedResponse>(request, request.RequestParameters);
public static Task <DeleteDatafeedResponse> DeleteDatafeedAsync(this IElasticClient client, IDeleteDatafeedRequest request, CancellationToken ct = default ) => client.MachineLearning.DeleteDatafeedAsync(request, ct);
public static DeleteDatafeedResponse DeleteDatafeed(this IElasticClient client, IDeleteDatafeedRequest request) => client.MachineLearning.DeleteDatafeed(request);