/// <inheritdoc/>
		public Task<ICatResponse<CatHelpRecord>> CatHelpAsync(ICatHelpRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<ICatHelpRequest, CatHelpRequestParameters, CatResponse<CatHelpRecord>, ICatResponse<CatHelpRecord>>(
				request,
				cancellationToken,
				new Func<IApiCallDetails, Stream, CatResponse<CatHelpRecord>>(this.DeserializeCatHelpResponse),
				(p, d, c) => this.LowLevelDispatch.CatHelpDispatchAsync<CatResponse<CatHelpRecord>>(p, c)
			);
 /// <inheritdoc />
 public Task <ICatResponse <CatHelpRecord> > CatHelpAsync(ICatHelpRequest request,
                                                          CancellationToken cancellationToken = default(CancellationToken)
                                                          ) =>
 Dispatcher.DispatchAsync <ICatHelpRequest, CatHelpRequestParameters, CatResponse <CatHelpRecord>, ICatResponse <CatHelpRecord> >(
     request,
     cancellationToken,
     new Func <IApiCallDetails, Stream, CatResponse <CatHelpRecord> >(DeserializeCatHelpResponse),
     (p, d, c) => LowLevelDispatch.CatHelpDispatchAsync <CatResponse <CatHelpRecord> >(p, c)
     );
		/// <inheritdoc/>
		public ICatResponse<CatHelpRecord> CatHelp(ICatHelpRequest request) =>
			this.Dispatcher.Dispatch<ICatHelpRequest, CatHelpRequestParameters, CatResponse<CatHelpRecord>>(
				request,
				new Func<IApiCallDetails, Stream, CatResponse<CatHelpRecord>>(this.DeserializeCatHelpResponse),
				(p, d) => this.LowLevelDispatch.CatHelpDispatch<CatResponse<CatHelpRecord>>(p)
			);
 public static Task <CatResponse <CatHelpRecord> > CatHelpAsync(this IElasticClient client, ICatHelpRequest request,
                                                                CancellationToken ct = default
                                                                )
 => client.Cat.HelpAsync(request, ct);
 public static CatResponse <CatHelpRecord> CatHelp(this IElasticClient client, ICatHelpRequest request)
 => client.Cat.Help(request);
Esempio n. 6
0
 /// <inheritdoc />
 public ICatResponse <CatHelpRecord> CatHelp(ICatHelpRequest request) =>
 Dispatcher.Dispatch <ICatHelpRequest, CatHelpRequestParameters, CatResponse <CatHelpRecord> >(
     request,
     new Func <IApiCallDetails, Stream, CatResponse <CatHelpRecord> >(DeserializeCatHelpResponse),
     (p, d) => LowLevelDispatch.CatHelpDispatch <CatResponse <CatHelpRecord> >(p)
     );
Esempio n. 7
0
 /// <inheritdoc />
 public Task <CatResponse <CatHelpRecord> > CatHelpAsync(ICatHelpRequest request, CancellationToken ct = default)
 {
     request.RequestParameters.DeserializationOverride = DeserializeCatHelpResponse;
     return(DoRequestAsync <ICatHelpRequest, CatResponse <CatHelpRecord> >(request, request.RequestParameters, ct));
 }
Esempio n. 8
0
 /// <inheritdoc />
 public CatResponse <CatHelpRecord> CatHelp(ICatHelpRequest request)
 {
     request.RequestParameters.DeserializationOverride = DeserializeCatHelpResponse;
     return(DoRequest <ICatHelpRequest, CatResponse <CatHelpRecord> >(request, request.RequestParameters));
 }
 /// <summary>
 /// <c>GET</c> request to the <c>cat.help</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/index/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/index/</a>
 /// </summary>
 public Task <CatResponse <CatHelpRecord> > HelpAsync(ICatHelpRequest request, CancellationToken ct = default) => DoCatAsync <ICatHelpRequest, CatHelpRequestParameters, CatHelpRecord>(request, ct);
 /// <summary>
 /// <c>GET</c> request to the <c>cat.help</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/index/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/index/</a>
 /// </summary>
 public CatResponse <CatHelpRecord> Help(ICatHelpRequest request) => DoCat <ICatHelpRequest, CatHelpRequestParameters, CatHelpRecord>(request);
Esempio n. 11
0
 /// <inheritdoc/>
 public Task <ICatResponse <CatHelpRecord> > CatHelpAsync(ICatHelpRequest request) =>
 this.Dispatcher.DispatchAsync <ICatHelpRequest, CatHelpRequestParameters, CatResponse <CatHelpRecord>, ICatResponse <CatHelpRecord> >(
     request,
     new Func <IApiCallDetails, Stream, CatResponse <CatHelpRecord> >(this.DeserializeCatHelpResponse),
     (p, d) => this.LowLevelDispatch.CatHelpDispatchAsync <CatResponse <CatHelpRecord> >(p)
     );