/// <inheritdoc/> public Task<ICatResponse<CatTemplatesRecord>> CatTemplatesAsync(ICatTemplatesRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.DoCatAsync<ICatTemplatesRequest, CatTemplatesRequestParameters, CatTemplatesRecord>(request, cancellationToken, this.LowLevelDispatch.CatTemplatesDispatchAsync<CatResponse<CatTemplatesRecord>>);
public static Task <CatResponse <CatTemplatesRecord> > CatTemplatesAsync(this IElasticClient client, ICatTemplatesRequest request, CancellationToken ct = default ) => client.Cat.TemplatesAsync(request, ct);
/// <inheritdoc/> public ICatResponse<CatTemplatesRecord> CatTemplates(ICatTemplatesRequest request) => this.DoCat<ICatTemplatesRequest, CatTemplatesRequestParameters, CatTemplatesRecord>(request, this.LowLevelDispatch.CatTemplatesDispatch<CatResponse<CatTemplatesRecord>>);
public static CatResponse <CatTemplatesRecord> CatTemplates(this IElasticClient client, ICatTemplatesRequest request) => client.Cat.Templates(request);
/// <inheritdoc/> public Task <ICatResponse <CatTemplatesRecord> > CatTemplatesAsync(ICatTemplatesRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.DoCatAsync <ICatTemplatesRequest, CatTemplatesRequestParameters, CatTemplatesRecord>(request, cancellationToken, this.LowLevelDispatch.CatTemplatesDispatchAsync <CatResponse <CatTemplatesRecord> >);
/// <inheritdoc/> public ICatResponse <CatTemplatesRecord> CatTemplates(ICatTemplatesRequest request) => this.DoCat <ICatTemplatesRequest, CatTemplatesRequestParameters, CatTemplatesRecord>(request, this.LowLevelDispatch.CatTemplatesDispatch <CatResponse <CatTemplatesRecord> >);
/// <summary> /// <c>GET</c> request to the <c>cat.templates</c> API, read more about this API online: /// <para></para> /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/</a> /// </summary> public Task <CatResponse <CatTemplatesRecord> > TemplatesAsync(ICatTemplatesRequest request, CancellationToken ct = default) => DoCatAsync <ICatTemplatesRequest, CatTemplatesRequestParameters, CatTemplatesRecord>(request, ct);
/// <summary> /// <c>GET</c> request to the <c>cat.templates</c> API, read more about this API online: /// <para></para> /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/</a> /// </summary> public CatResponse <CatTemplatesRecord> Templates(ICatTemplatesRequest request) => DoCat <ICatTemplatesRequest, CatTemplatesRequestParameters, CatTemplatesRecord>(request);