/// <inheritdoc /> public Task <IDeleteCalendarResponse> DeleteCalendarAsync(IDeleteCalendarRequest request, CancellationToken cancellationToken = default(CancellationToken)) => Dispatcher.DispatchAsync <IDeleteCalendarRequest, DeleteCalendarRequestParameters, DeleteCalendarResponse, IDeleteCalendarResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackMlDeleteCalendarDispatchAsync <DeleteCalendarResponse>(p, c) );
/// <inheritdoc /> public IDeleteCalendarResponse DeleteCalendar(IDeleteCalendarRequest request) => Dispatcher.Dispatch <IDeleteCalendarRequest, DeleteCalendarRequestParameters, DeleteCalendarResponse>( request, (p, d) => LowLevelDispatch.XpackMlDeleteCalendarDispatch <DeleteCalendarResponse>(p) );
public static Task <DeleteCalendarResponse> DeleteCalendarAsync(this IElasticClient client, IDeleteCalendarRequest request, CancellationToken ct = default ) => client.MachineLearning.DeleteCalendarAsync(request, ct);
public static DeleteCalendarResponse DeleteCalendar(this IElasticClient client, IDeleteCalendarRequest request) => client.MachineLearning.DeleteCalendar(request);