/// <inheritdoc /> public Task <IExistsResponse> TemplateExistsAsync(ITemplateExistsRequest templateRequest) { return(this.DispatchAsync <ITemplateExistsRequest, TemplateExistsRequestParameters, ExistsResponse, IExistsResponse>( templateRequest, (p, d) => this.RawDispatch.IndicesExistsTemplateDispatchAsync <ExistsResponse>( p.DeserializationState(new TemplateExistConverter(DeserializeExistsResponse)) ) )); }
/// <inheritdoc /> public Task<IExistsResponse> TemplateExistsAsync(ITemplateExistsRequest templateRequest) { return this.DispatchAsync<ITemplateExistsRequest, TemplateExistsRequestParameters, ExistsResponse, IExistsResponse>( templateRequest, (p, d) => this.RawDispatch.IndicesExistsTemplateDispatchAsync<ExistsResponse>( p.DeserializationState(new TemplateExistConverter(DeserializeExistsResponse)) ) ); }
public static void Update(ElasticsearchPathInfo <TemplateExistsRequestParameters> pathInfo, ITemplateExistsRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.HEAD; }