/// <inheritdoc /> public Task<IClusterGetSettingsResponse> ClusterGetSettingsAsync(IClusterGetSettingsRequest clusterSettingsRequest = null) { return this.DispatchAsync<IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse, IClusterGetSettingsResponse>( clusterSettingsRequest ?? new ClusterGetSettingsRequest(), (p, d) => this.RawDispatch.ClusterGetSettingsDispatchAsync<ClusterGetSettingsResponse>(p) ); }
/// <inheritdoc /> public Task <IClusterGetSettingsResponse> ClusterGetSettingsAsync(IClusterGetSettingsRequest clusterSettingsRequest = null) { return(this.DispatchAsync <IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse, IClusterGetSettingsResponse>( clusterSettingsRequest ?? new ClusterGetSettingsRequest(), (p, d) => this.RawDispatch.ClusterGetSettingsDispatchAsync <ClusterGetSettingsResponse>(p) )); }
/// <inheritdoc /> public IClusterGetSettingsResponse ClusterGetSettings(IClusterGetSettingsRequest clusterSettingsRequest) { return this.Dispatch<IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse>( clusterSettingsRequest ?? new ClusterGetSettingsRequest(), (p, d) => this.RawDispatch.ClusterGetSettingsDispatch<ClusterGetSettingsResponse>(p) ); }
/// <inheritdoc /> public IClusterGetSettingsResponse ClusterGetSettings(IClusterGetSettingsRequest clusterSettingsRequest) { return(this.Dispatch <IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse>( clusterSettingsRequest ?? new ClusterGetSettingsRequest(), (p, d) => this.RawDispatch.ClusterGetSettingsDispatch <ClusterGetSettingsResponse>(p) )); }
/// <inheritdoc /> public Task <IClusterGetSettingsResponse> ClusterGetSettingsAsync(IClusterGetSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher .DispatchAsync <IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse, IClusterGetSettingsResponse>( request ?? new ClusterGetSettingsRequest(), cancellationToken, (p, d, c) => LowLevelDispatch.ClusterGetSettingsDispatchAsync <ClusterGetSettingsResponse>(p, c) );
/// <inheritdoc/> public Task<IClusterGetSettingsResponse> ClusterGetSettingsAsync(IClusterGetSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync<IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse, IClusterGetSettingsResponse>( request ?? new ClusterGetSettingsRequest(), cancellationToken, (p, d, c) => this.LowLevelDispatch.ClusterGetSettingsDispatchAsync<ClusterGetSettingsResponse>(p, c) );
/// <inheritdoc/> public IClusterGetSettingsResponse ClusterGetSettings(IClusterGetSettingsRequest request) => this.Dispatcher.Dispatch<IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse>( request ?? new ClusterGetSettingsRequest(), (p, d) => this.LowLevelDispatch.ClusterGetSettingsDispatch<ClusterGetSettingsResponse>(p) );
/// <inheritdoc/> public IClusterGetSettingsResponse ClusterGetSettings(IClusterGetSettingsRequest request) => this.Dispatcher.Dispatch <IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse>( request ?? new ClusterGetSettingsRequest(), (p, d) => this.LowLevelDispatch.ClusterGetSettingsDispatch <ClusterGetSettingsResponse>(p) );
/// <inheritdoc cref="ClusterGetSettings(System.Func{Nest.ClusterGetSettingsDescriptor,Nest.IClusterGetSettingsRequest})"/> public Task <ClusterGetSettingsResponse> ClusterGetSettingsAsync( IClusterGetSettingsRequest request, CancellationToken ct = default ) => DoRequestAsync <IClusterGetSettingsRequest, ClusterGetSettingsResponse>(request, request.RequestParameters, ct);
/// <inheritdoc cref="ClusterGetSettings(System.Func{Nest.ClusterGetSettingsDescriptor,Nest.IClusterGetSettingsRequest})"/> public ClusterGetSettingsResponse ClusterGetSettings(IClusterGetSettingsRequest request) => DoRequest <IClusterGetSettingsRequest, ClusterGetSettingsResponse>(request, request.RequestParameters);
public static void Update(ElasticsearchPathInfo <ClusterGetSettingsRequestParameters> pathInfo, IClusterGetSettingsRequest request) { pathInfo.HttpMethod = PathInfoHttpMethod.GET; }
/// <inheritdoc/> public Task <IClusterGetSettingsResponse> ClusterGetSettingsAsync(IClusterGetSettingsRequest request = null) => this.Dispatcher.DispatchAsync <IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse, IClusterGetSettingsResponse>( request ?? new ClusterGetSettingsRequest(), (p, d) => this.LowLevelDispatch.ClusterGetSettingsDispatchAsync <ClusterGetSettingsResponse>(p) );
/// <inheritdoc/> public Task<IClusterGetSettingsResponse> ClusterGetSettingsAsync(IClusterGetSettingsRequest request) => this.Dispatcher.DispatchAsync<IClusterGetSettingsRequest, ClusterGetSettingsRequestParameters, ClusterGetSettingsResponse, IClusterGetSettingsResponse>( request ?? new ClusterGetSettingsRequest(), (p, d) => this.LowLevelDispatch.ClusterGetSettingsDispatchAsync<ClusterGetSettingsResponse>(p) );
public static Task <ClusterGetSettingsResponse> ClusterGetSettingsAsync(this IElasticClient client, IClusterGetSettingsRequest request, CancellationToken ct = default ) => client.Cluster.GetSettingsAsync(request, ct);
public static ClusterGetSettingsResponse ClusterGetSettings(this IElasticClient client, IClusterGetSettingsRequest request) => client.Cluster.GetSettings(request);