/// <inheritdoc /> public Task <IDeleteModelSnapshotResponse> DeleteModelSnapshotAsync(IDeleteModelSnapshotRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher .DispatchAsync <IDeleteModelSnapshotRequest, DeleteModelSnapshotRequestParameters, DeleteModelSnapshotResponse, IDeleteModelSnapshotResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackMlDeleteModelSnapshotDispatchAsync <DeleteModelSnapshotResponse>(p, c) );
/// <inheritdoc /> public Task <DeleteModelSnapshotResponse> DeleteModelSnapshotAsync(IDeleteModelSnapshotRequest request, CancellationToken ct = default) => DoRequestAsync <IDeleteModelSnapshotRequest, DeleteModelSnapshotResponse>(request, request.RequestParameters, ct);
/// <inheritdoc /> public DeleteModelSnapshotResponse DeleteModelSnapshot(IDeleteModelSnapshotRequest request) => DoRequest <IDeleteModelSnapshotRequest, DeleteModelSnapshotResponse>(request, request.RequestParameters);
/// <inheritdoc /> public IDeleteModelSnapshotResponse DeleteModelSnapshot(IDeleteModelSnapshotRequest request) => Dispatcher.Dispatch <IDeleteModelSnapshotRequest, DeleteModelSnapshotRequestParameters, DeleteModelSnapshotResponse>( request, (p, d) => LowLevelDispatch.XpackMlDeleteModelSnapshotDispatch <DeleteModelSnapshotResponse>(p) );
public static Task <DeleteModelSnapshotResponse> DeleteModelSnapshotAsync(this IElasticClient client, IDeleteModelSnapshotRequest request, CancellationToken ct = default ) => client.MachineLearning.DeleteModelSnapshotAsync(request, ct);
public static DeleteModelSnapshotResponse DeleteModelSnapshot(this IElasticClient client, IDeleteModelSnapshotRequest request) => client.MachineLearning.DeleteModelSnapshot(request);