/// <inheritdoc/> public Task <ICatResponse <CatRecoveryRecord> > CatRecoveryAsync(ICatRecoveryRequest request) => this.DoCatAsync <ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, this.LowLevelDispatch.CatRecoveryDispatchAsync <CatResponse <CatRecoveryRecord> >);
public Task <ICatResponse <CatRecoveryRecord> > CatRecoveryAsync(ICatRecoveryRequest request) { return(this.DoCatAsync <ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, this.RawDispatch.CatRecoveryDispatchAsync <CatResponse <CatRecoveryRecord> >)); }
/// <inheritdoc/> public ICatResponse <CatRecoveryRecord> CatRecovery(ICatRecoveryRequest request) => this.DoCat <ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, this.LowLevelDispatch.CatRecoveryDispatch <CatResponse <CatRecoveryRecord> >);
public static Task <CatResponse <CatRecoveryRecord> > CatRecoveryAsync(this IElasticClient client, ICatRecoveryRequest request, CancellationToken ct = default ) => client.Cat.RecoveryAsync(request, ct);
public ICatResponse <CatRecoveryRecord> CatRecovery(ICatRecoveryRequest request) { return(this.DoCat <ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, this.RawDispatch.CatRecoveryDispatch <CatResponse <CatRecoveryRecord> >)); }
/// <inheritdoc/> public Task<ICatResponse<CatRecoveryRecord>> CatRecoveryAsync(ICatRecoveryRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.DoCatAsync<ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, cancellationToken, this.LowLevelDispatch.CatRecoveryDispatchAsync<CatResponse<CatRecoveryRecord>>);
public static CatResponse <CatRecoveryRecord> CatRecovery(this IElasticClient client, ICatRecoveryRequest request) => client.Cat.Recovery(request);
/// <inheritdoc/> public ICatResponse<CatRecoveryRecord> CatRecovery(ICatRecoveryRequest request) => this.DoCat<ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, this.LowLevelDispatch.CatRecoveryDispatch<CatResponse<CatRecoveryRecord>>);
/// <inheritdoc/> public Task<ICatResponse<CatRecoveryRecord>> CatRecoveryAsync(ICatRecoveryRequest request) => this.DoCatAsync<ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, this.LowLevelDispatch.CatRecoveryDispatchAsync<CatResponse<CatRecoveryRecord>>);
/// <inheritdoc /> public Task <ICatResponse <CatRecoveryRecord> > CatRecoveryAsync(ICatRecoveryRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => DoCatAsync <ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, cancellationToken, LowLevelDispatch.CatRecoveryDispatchAsync <CatResponse <CatRecoveryRecord> >);
/// <summary> /// <c>GET</c> request to the <c>cat.recovery</c> API, read more about this API online: /// <para></para> /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-recovery/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-recovery/</a> /// </summary> public Task <CatResponse <CatRecoveryRecord> > RecoveryAsync(ICatRecoveryRequest request, CancellationToken ct = default) => DoCatAsync <ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request, ct);
/// <summary> /// <c>GET</c> request to the <c>cat.recovery</c> API, read more about this API online: /// <para></para> /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-recovery/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-recovery/</a> /// </summary> public CatResponse <CatRecoveryRecord> Recovery(ICatRecoveryRequest request) => DoCat <ICatRecoveryRequest, CatRecoveryRequestParameters, CatRecoveryRecord>(request);