Exemplo n.º 1
0
 /// <inheritdoc />
 public Task <IGetDatafeedsResponse> GetDatafeedsAsync(IGetDatafeedsRequest request,
                                                       CancellationToken cancellationToken = default(CancellationToken)
                                                       ) =>
 Dispatcher.DispatchAsync <IGetDatafeedsRequest, GetDatafeedsRequestParameters, GetDatafeedsResponse, IGetDatafeedsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackMlGetDatafeedsDispatchAsync <GetDatafeedsResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <GetDatafeedsResponse> GetDatafeedsAsync(IGetDatafeedsRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IGetDatafeedsRequest, GetDatafeedsResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc />
 public GetDatafeedsResponse GetDatafeeds(IGetDatafeedsRequest request) =>
 DoRequest <IGetDatafeedsRequest, GetDatafeedsResponse>(request, request.RequestParameters);
Exemplo n.º 4
0
 /// <inheritdoc />
 public IGetDatafeedsResponse GetDatafeeds(IGetDatafeedsRequest request) =>
 Dispatcher.Dispatch <IGetDatafeedsRequest, GetDatafeedsRequestParameters, GetDatafeedsResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackMlGetDatafeedsDispatch <GetDatafeedsResponse>(p)
     );
Exemplo n.º 5
0
 public static Task <GetDatafeedsResponse> GetDatafeedsAsync(this IElasticClient client, IGetDatafeedsRequest request,
                                                             CancellationToken ct = default
                                                             )
 => client.MachineLearning.GetDatafeedsAsync(request, ct);
Exemplo n.º 6
0
 public static GetDatafeedsResponse GetDatafeeds(this IElasticClient client, IGetDatafeedsRequest request)
 => client.MachineLearning.GetDatafeeds(request);