public Task <ICatResponse <CatShardsRecord> > CatShardsAsync(ICatShardsRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, cancellationToken, this.LowLevelDispatch.CatShardsDispatchAsync <CatResponse <CatShardsRecord> >);
public Task<ICatResponse<CatShardsRecord>> CatShardsAsync(ICatShardsRequest request) => this.DoCatAsync<ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatchAsync<CatResponse<CatShardsRecord>>);
/// <inheritdoc/> public ICatResponse <CatShardsRecord> CatShards(ICatShardsRequest request) => this.DoCat <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatch <CatResponse <CatShardsRecord> >);
public Task <ICatResponse <CatShardsRecord> > CatShardsAsync(ICatShardsRequest request) => this.DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatchAsync <CatResponse <CatShardsRecord> >);
/// <inheritdoc/> public ICatResponse<CatShardsRecord> CatShards(ICatShardsRequest request) => this.DoCat<ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.LowLevelDispatch.CatShardsDispatch<CatResponse<CatShardsRecord>>);
public static CatResponse <CatShardsRecord> CatShards(this IElasticClient client, ICatShardsRequest request) => client.Cat.Shards(request);
public static Task <CatResponse <CatShardsRecord> > CatShardsAsync(this IElasticClient client, ICatShardsRequest request, CancellationToken ct = default ) => client.Cat.ShardsAsync(request, ct);
public Task <ICatResponse <CatShardsRecord> > CatShardsAsync(ICatShardsRequest request) { return(this.DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.RawDispatch.CatShardsDispatchAsync <CatResponse <CatShardsRecord> >)); }
public ICatResponse <CatShardsRecord> CatShards(ICatShardsRequest request) { return(this.DoCat <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, this.RawDispatch.CatShardsDispatch <CatResponse <CatShardsRecord> >)); }
/// <summary> /// <c>GET</c> request to the <c>cat.shards</c> API, read more about this API online: /// <para></para> /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/</a> /// </summary> public Task <CatResponse <CatShardsRecord> > ShardsAsync(ICatShardsRequest request, CancellationToken ct = default) => DoCatAsync <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, ct);
/// <summary> /// <c>GET</c> request to the <c>cat.shards</c> API, read more about this API online: /// <para></para> /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/</a> /// </summary> public CatResponse <CatShardsRecord> Shards(ICatShardsRequest request) => DoCat <ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request);
public Task<ICatResponse<CatShardsRecord>> CatShardsAsync(ICatShardsRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.DoCatAsync<ICatShardsRequest, CatShardsRequestParameters, CatShardsRecord>(request, cancellationToken, this.LowLevelDispatch.CatShardsDispatchAsync<CatResponse<CatShardsRecord>>);