/// <inheritdoc />
 public Task <IPutDatafeedResponse> PutDatafeedAsync(IPutDatafeedRequest request,
                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                     ) =>
 Dispatcher.DispatchAsync <IPutDatafeedRequest, PutDatafeedRequestParameters, PutDatafeedResponse, IPutDatafeedResponse>(
     request,
     cancellationToken,
     LowLevelDispatch.XpackMlPutDatafeedDispatchAsync <PutDatafeedResponse>
     );
 /// <inheritdoc />
 public IPutDatafeedResponse PutDatafeed(IPutDatafeedRequest request) =>
 Dispatcher.Dispatch <IPutDatafeedRequest, PutDatafeedRequestParameters, PutDatafeedResponse>(
     request,
     LowLevelDispatch.XpackMlPutDatafeedDispatch <PutDatafeedResponse>
     );
Ejemplo n.º 3
0
 public static Task <PutDatafeedResponse> PutDatafeedAsync(this IElasticClient client, IPutDatafeedRequest request,
                                                           CancellationToken ct = default
                                                           )
 => client.MachineLearning.PutDatafeedAsync(request, ct);
Ejemplo n.º 4
0
 public static PutDatafeedResponse PutDatafeed(this IElasticClient client, IPutDatafeedRequest request)
 => client.MachineLearning.PutDatafeed(request);
 /// <inheritdoc />
 public Task <PutDatafeedResponse> PutDatafeedAsync(IPutDatafeedRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IPutDatafeedRequest, PutDatafeedResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc />
 public PutDatafeedResponse PutDatafeed(IPutDatafeedRequest request) =>
 DoRequest <IPutDatafeedRequest, PutDatafeedResponse>(request, request.RequestParameters);