Exemple #1
0
 /// <inheritdoc />
 public Task <IRevertModelSnapshotResponse> RevertModelSnapshotAsync(IRevertModelSnapshotRequest request,
                                                                     CancellationToken cancellationToken = default(CancellationToken)
                                                                     ) =>
 Dispatcher
 .DispatchAsync <IRevertModelSnapshotRequest, RevertModelSnapshotRequestParameters, RevertModelSnapshotResponse,
                 IRevertModelSnapshotResponse>(
     request,
     cancellationToken,
     LowLevelDispatch.XpackMlRevertModelSnapshotDispatchAsync <RevertModelSnapshotResponse>
     );
 /// <inheritdoc/>
 public IRevertModelSnapshotResponse RevertModelSnapshot(IRevertModelSnapshotRequest request) =>
 this.Dispatcher.Dispatch <IRevertModelSnapshotRequest, RevertModelSnapshotRequestParameters, RevertModelSnapshotResponse>(
     request,
     this.LowLevelDispatch.XpackMlRevertModelSnapshotDispatch <RevertModelSnapshotResponse>
     );
 public static Task <RevertModelSnapshotResponse> RevertModelSnapshotAsync(this IElasticClient client, IRevertModelSnapshotRequest request,
                                                                           CancellationToken ct = default
                                                                           )
 => client.MachineLearning.RevertModelSnapshotAsync(request, ct);
 public static RevertModelSnapshotResponse RevertModelSnapshot(this IElasticClient client, IRevertModelSnapshotRequest request)
 => client.MachineLearning.RevertModelSnapshot(request);
 /// <inheritdoc />
 public Task <RevertModelSnapshotResponse> RevertModelSnapshotAsync(IRevertModelSnapshotRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IRevertModelSnapshotRequest, RevertModelSnapshotResponse>
     (request, request.RequestParameters, ct);
 /// <inheritdoc />
 public RevertModelSnapshotResponse RevertModelSnapshot(IRevertModelSnapshotRequest request) =>
 DoRequest <IRevertModelSnapshotRequest, RevertModelSnapshotResponse>(request, request.RequestParameters);