/// <inheritdoc /> public Task <IForecastJobResponse> ForecastJobAsync(IForecastJobRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher.DispatchAsync <IForecastJobRequest, ForecastJobRequestParameters, ForecastJobResponse, IForecastJobResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackMlForecastDispatchAsync <ForecastJobResponse>(p, c) );
/// <inheritdoc /> public IForecastJobResponse ForecastJob(IForecastJobRequest request) => Dispatcher.Dispatch <IForecastJobRequest, ForecastJobRequestParameters, ForecastJobResponse>( request, (p, d) => LowLevelDispatch.XpackMlForecastDispatch <ForecastJobResponse>(p) );
public static Task <ForecastJobResponse> ForecastJobAsync(this IElasticClient client, IForecastJobRequest request, CancellationToken ct = default ) => client.MachineLearning.ForecastJobAsync(request, ct);
public static ForecastJobResponse ForecastJob(this IElasticClient client, IForecastJobRequest request) => client.MachineLearning.ForecastJob(request);
/// <inheritdoc /> public Task <ForecastJobResponse> ForecastJobAsync(IForecastJobRequest request, CancellationToken ct = default) => DoRequestAsync <IForecastJobRequest, ForecastJobResponse>(request, request.RequestParameters, ct);
/// <inheritdoc /> public ForecastJobResponse ForecastJob(IForecastJobRequest request) => DoRequest <IForecastJobRequest, ForecastJobResponse>(request, request.RequestParameters);