/// <inheritdoc /> public Task <IValidateDetectorResponse> ValidateDetectorAsync(IValidateDetectorRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher .DispatchAsync <IValidateDetectorRequest, ValidateDetectorRequestParameters, ValidateDetectorResponse, IValidateDetectorResponse>( request, cancellationToken, LowLevelDispatch.XpackMlValidateDetectorDispatchAsync <ValidateDetectorResponse> );
/// <inheritdoc/> public IValidateDetectorResponse ValidateDetector(IValidateDetectorRequest request) => this.Dispatcher.Dispatch <IValidateDetectorRequest, ValidateDetectorRequestParameters, ValidateDetectorResponse>( request, this.LowLevelDispatch.XpackMlValidateDetectorDispatch <ValidateDetectorResponse> );
public static Task <ValidateDetectorResponse> ValidateDetectorAsync(this IElasticClient client, IValidateDetectorRequest request, CancellationToken ct = default ) => client.MachineLearning.ValidateDetectorAsync(request, ct);
public static ValidateDetectorResponse ValidateDetector(this IElasticClient client, IValidateDetectorRequest request) => client.MachineLearning.ValidateDetector(request);
/// <inheritdoc /> public Task <ValidateDetectorResponse> ValidateDetectorAsync(IValidateDetectorRequest request, CancellationToken ct = default) => DoRequestAsync <IValidateDetectorRequest, ValidateDetectorResponse> (request, request.RequestParameters, ct);
/// <inheritdoc /> public ValidateDetectorResponse ValidateDetector(IValidateDetectorRequest request) => DoRequest <IValidateDetectorRequest, ValidateDetectorResponse>(request, request.RequestParameters);