Beispiel #1
0
 /// <inheritdoc />
 public Task <ICatResponse <CatAllocationRecord> > CatAllocationAsync(ICatAllocationRequest request,
                                                                      CancellationToken cancellationToken = default(CancellationToken)
                                                                      ) =>
 DoCatAsync <ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(
     request,
     cancellationToken,
     LowLevelDispatch.CatAllocationDispatchAsync <CatResponse <CatAllocationRecord> >
     );
		/// <inheritdoc/>
		public Task<ICatResponse<CatAllocationRecord>> CatAllocationAsync(ICatAllocationRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.DoCatAsync<ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(
				request,
				cancellationToken,
				this.LowLevelDispatch.CatAllocationDispatchAsync<CatResponse<CatAllocationRecord>>
			);
Beispiel #3
0
 /// <inheritdoc />
 public ICatResponse <CatAllocationRecord> CatAllocation(ICatAllocationRequest request) =>
 DoCat <ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request,
                                                                                    LowLevelDispatch.CatAllocationDispatch <CatResponse <CatAllocationRecord> >);
Beispiel #4
0
 public Task <ICatResponse <CatAllocationRecord> > CatAllocationAsync(ICatAllocationRequest request)
 {
     return(this.DoCatAsync <ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request, this.RawDispatch.CatAllocationDispatchAsync <CatResponse <CatAllocationRecord> >));
 }
		/// <inheritdoc/>
		public ICatResponse<CatAllocationRecord> CatAllocation(ICatAllocationRequest request) =>
			this.DoCat<ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request, this.LowLevelDispatch.CatAllocationDispatch<CatResponse<CatAllocationRecord>>);
		/// <inheritdoc/>
		public Task<ICatResponse<CatAllocationRecord>> CatAllocationAsync(ICatAllocationRequest request) =>
			this.DoCatAsync<ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request, this.LowLevelDispatch.CatAllocationDispatchAsync<CatResponse<CatAllocationRecord>>);
Beispiel #7
0
 public ICatResponse <CatAllocationRecord> CatAllocation(ICatAllocationRequest request)
 {
     return(this.DoCat <ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request, this.RawDispatch.CatAllocationDispatch <CatResponse <CatAllocationRecord> >));
 }
 /// <summary>
 /// <c>GET</c> request to the <c>cat.allocation</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-allocation/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-allocation/</a>
 /// </summary>
 public Task <CatResponse <CatAllocationRecord> > AllocationAsync(ICatAllocationRequest request, CancellationToken ct = default) => DoCatAsync <ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request, ct);
 /// <summary>
 /// <c>GET</c> request to the <c>cat.allocation</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-allocation/">https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-allocation/</a>
 /// </summary>
 public CatResponse <CatAllocationRecord> Allocation(ICatAllocationRequest request) => DoCat <ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request);
Beispiel #10
0
 public static Task <CatResponse <CatAllocationRecord> > CatAllocationAsync(this IElasticClient client, ICatAllocationRequest request,
                                                                            CancellationToken ct = default
                                                                            )
 => client.Cat.AllocationAsync(request, ct);
Beispiel #11
0
 public static CatResponse <CatAllocationRecord> CatAllocation(this IElasticClient client, ICatAllocationRequest request)
 => client.Cat.Allocation(request);
 /// <inheritdoc/>
 public Task <ICatResponse <CatAllocationRecord> > CatAllocationAsync(ICatAllocationRequest request) =>
 this.DoCatAsync <ICatAllocationRequest, CatAllocationRequestParameters, CatAllocationRecord>(request, this.LowLevelDispatch.CatAllocationDispatchAsync <CatResponse <CatAllocationRecord> >);