/// <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))
				)
			);
		}
Exemplo n.º 3
0
 public static void Update(ElasticsearchPathInfo <TemplateExistsRequestParameters> pathInfo, ITemplateExistsRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.HEAD;
 }