diff --git a/src/ApiGenerator/Configuration/CodeConfiguration.cs b/src/ApiGenerator/Configuration/CodeConfiguration.cs
index 758473e7b7..b09c34bb95 100644
--- a/src/ApiGenerator/Configuration/CodeConfiguration.cs
+++ b/src/ApiGenerator/Configuration/CodeConfiguration.cs
@@ -42,14 +42,7 @@ public static class CodeConfiguration
new("{create,delete}_pit"),
new("{delete,get}_all_pits"),
- new("cluster.allocation_explain"),
- new("cluster.delete_voting_config_exclusions"),
- new("cluster.get_settings"),
- new("cluster.health"),
- new("cluster.pending_tasks"),
-
- new("cluster.*_component_template"),
-
+ new("cluster.*"),
new("dangling_indices.*"),
new("indices.{delete,exists,get,put}_index_template"),
diff --git a/src/OpenSearch.Client/ApiUrlsLookup.cs b/src/OpenSearch.Client/ApiUrlsLookup.cs
index 4bb7d9d61a..1d8ba9ee50 100644
--- a/src/OpenSearch.Client/ApiUrlsLookup.cs
+++ b/src/OpenSearch.Client/ApiUrlsLookup.cs
@@ -70,12 +70,6 @@ internal static partial class ApiUrlsLookups
internal static ApiUrls CatTemplates = new ApiUrls(new[]{"_cat/templates", "_cat/templates/{name}"});
internal static ApiUrls CatThreadPool = new ApiUrls(new[]{"_cat/thread_pool", "_cat/thread_pool/{thread_pool_patterns}"});
internal static ApiUrls NoNamespaceClearScroll = new ApiUrls(new[]{"_search/scroll"});
- internal static ApiUrls ClusterPostVotingConfigExclusions = new ApiUrls(new[]{"_cluster/voting_config_exclusions"});
- internal static ApiUrls ClusterPutSettings = new ApiUrls(new[]{"_cluster/settings"});
- internal static ApiUrls ClusterRemoteInfo = new ApiUrls(new[]{"_remote/info"});
- internal static ApiUrls ClusterReroute = new ApiUrls(new[]{"_cluster/reroute"});
- internal static ApiUrls ClusterState = new ApiUrls(new[]{"_cluster/state", "_cluster/state/{metric}", "_cluster/state/{metric}/{index}"});
- internal static ApiUrls ClusterStats = new ApiUrls(new[]{"_cluster/stats", "_cluster/stats/nodes/{node_id}"});
internal static ApiUrls NoNamespaceCount = new ApiUrls(new[]{"_count", "{index}/_count"});
internal static ApiUrls NoNamespaceCreate = new ApiUrls(new[]{"{index}/_create/{id}"});
internal static ApiUrls NoNamespaceDelete = new ApiUrls(new[]{"{index}/_doc/{id}"});
diff --git a/src/OpenSearch.Client/Descriptors.Cluster.cs b/src/OpenSearch.Client/Descriptors.Cluster.cs
deleted file mode 100644
index 68f33d2819..0000000000
--- a/src/OpenSearch.Client/Descriptors.Cluster.cs
+++ /dev/null
@@ -1,206 +0,0 @@
-/* SPDX-License-Identifier: Apache-2.0
-*
-* The OpenSearch Contributors require contributions made to
-* this file be licensed under the Apache-2.0 license or a
-* compatible open source license.
-*/
-/*
-* Modifications Copyright OpenSearch Contributors. See
-* GitHub history for details.
-*
-* Licensed to Elasticsearch B.V. under one or more contributor
-* license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright
-* ownership. Elasticsearch B.V. licenses this file to you under
-* the Apache License, Version 2.0 (the "License"); you may
-* not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
-// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
-// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
-// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
-// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
-// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
-// -----------------------------------------------
-//
-// This file is automatically generated
-// Please do not edit these files manually
-// Run the following in the root of the repos:
-//
-// *NIX : ./build.sh codegen
-// Windows : build.bat codegen
-//
-// -----------------------------------------------
-// ReSharper disable RedundantUsingDirective
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Linq.Expressions;
-using OpenSearch.Net;
-using OpenSearch.Net.Utf8Json;
-using OpenSearch.Net.Specification.ClusterApi;
-
-// ReSharper disable RedundantBaseConstructorCall
-// ReSharper disable UnusedTypeParameter
-// ReSharper disable PartialMethodWithSinglePart
-// ReSharper disable RedundantNameQualifier
-namespace OpenSearch.Client
-{
- ///Descriptor for PostVotingConfigExclusions
- public partial class PostVotingConfigExclusionsDescriptor : RequestDescriptorBase, IPostVotingConfigExclusionsRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.ClusterPostVotingConfigExclusions;
- // values part of the url path
- // Request parameters
- ///A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_names.
- public PostVotingConfigExclusionsDescriptor NodeIds(string nodeids) => Qs("node_ids", nodeids);
- ///A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_ids.
- public PostVotingConfigExclusionsDescriptor NodeNames(string nodenames) => Qs("node_names", nodenames);
- ///Explicit operation timeout
- public PostVotingConfigExclusionsDescriptor Timeout(Time timeout) => Qs("timeout", timeout);
- }
-
- ///Descriptor for PutSettings https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/
- public partial class ClusterPutSettingsDescriptor : RequestDescriptorBase, IClusterPutSettingsRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.ClusterPutSettings;
- // values part of the url path
- // Request parameters
- ///Return settings in flat format (default: false)
- public ClusterPutSettingsDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings);
- ///Explicit operation timeout for connection to master node
- ///Deprecated as of OpenSearch 2.0, use instead
- public ClusterPutSettingsDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
- ///Explicit operation timeout for connection to cluster_manager node
- ///Introduced in OpenSearch 2.0 instead of
- public ClusterPutSettingsDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout);
- ///Explicit operation timeout
- public ClusterPutSettingsDescriptor Timeout(Time timeout) => Qs("timeout", timeout);
- }
-
- ///Descriptor for RemoteInfo https://opensearch.org/docs/latest/opensearch/rest-api/remote-info/
- public partial class RemoteInfoDescriptor : RequestDescriptorBase, IRemoteInfoRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.ClusterRemoteInfo;
- // values part of the url path
- // Request parameters
- }
-
- ///Descriptor for Reroute
- public partial class ClusterRerouteDescriptor : RequestDescriptorBase, IClusterRerouteRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.ClusterReroute;
- // values part of the url path
- // Request parameters
- ///Simulate the operation only and return the resulting state
- public ClusterRerouteDescriptor DryRun(bool? dryrun = true) => Qs("dry_run", dryrun);
- ///Return an explanation of why the commands can or cannot be executed
- public ClusterRerouteDescriptor Explain(bool? explain = true) => Qs("explain", explain);
- ///Explicit operation timeout for connection to master node
- ///Deprecated as of OpenSearch 2.0, use instead
- public ClusterRerouteDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
- ///Explicit operation timeout for connection to cluster_manager node
- ///Introduced in OpenSearch 2.0 instead of
- public ClusterRerouteDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout);
- ///Limit the information returned to the specified metrics. Defaults to all but metadata
- public ClusterRerouteDescriptor Metric(params string[] metric) => Qs("metric", metric);
- ///Retries allocation of shards that are blocked due to too many subsequent allocation failures
- public ClusterRerouteDescriptor RetryFailed(bool? retryfailed = true) => Qs("retry_failed", retryfailed);
- ///Explicit operation timeout
- public ClusterRerouteDescriptor Timeout(Time timeout) => Qs("timeout", timeout);
- }
-
- ///Descriptor for State
- public partial class ClusterStateDescriptor : RequestDescriptorBase, IClusterStateRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.ClusterState;
- ////_cluster/state
- public ClusterStateDescriptor(): base()
- {
- }
-
- ////_cluster/state/{metric}
- ///Optional, accepts null
- public ClusterStateDescriptor(Metrics metric): base(r => r.Optional("metric", metric))
- {
- }
-
- ////_cluster/state/{metric}/{index}
- ///Optional, accepts null
- ///Optional, accepts null
- public ClusterStateDescriptor(Metrics metric, Indices index): base(r => r.Optional("metric", metric).Optional("index", index))
- {
- }
-
- // values part of the url path
- Metrics IClusterStateRequest.Metric => Self.RouteValues.Get("metric");
- Indices IClusterStateRequest.Index => Self.RouteValues.Get("index");
- ///Limit the information returned to the specified metrics
- public ClusterStateDescriptor Metric(Metrics metric) => Assign(metric, (a, v) => a.RouteValues.Optional("metric", v));
- ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices
- public ClusterStateDescriptor Index(Indices index) => Assign(index, (a, v) => a.RouteValues.Optional("index", v));
- ///a shortcut into calling Index(typeof(TOther))
- public ClusterStateDescriptor Index()
- where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Optional("index", (Indices)v));
- ///A shortcut into calling Index(Indices.All)
- public ClusterStateDescriptor AllIndices() => Index(Indices.All);
- // Request parameters
- ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
- public ClusterStateDescriptor AllowNoIndices(bool? allownoindices = true) => Qs("allow_no_indices", allownoindices);
- ///Whether to expand wildcard expression to concrete indices that are open, closed or both.
- public ClusterStateDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards);
- ///Return settings in flat format (default: false)
- public ClusterStateDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings);
- ///Whether specified concrete indices should be ignored when unavailable (missing or closed)
- public ClusterStateDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable);
- ///Return local information, do not retrieve the state from cluster_manager node (default: false)
- public ClusterStateDescriptor Local(bool? local = true) => Qs("local", local);
- ///Explicit operation timeout for connection to master node
- ///Deprecated as of OpenSearch 2.0, use instead
- public ClusterStateDescriptor MasterTimeout(Time mastertimeout) => Qs("master_timeout", mastertimeout);
- ///Explicit operation timeout for connection to cluster_manager node
- ///Introduced in OpenSearch 2.0 instead of
- public ClusterStateDescriptor ClusterManagerTimeout(Time timeout) => Qs("cluster_manager_timeout", timeout);
- ///Wait for the metadata version to be equal or greater than the specified metadata version
- public ClusterStateDescriptor WaitForMetadataVersion(long? waitformetadataversion) => Qs("wait_for_metadata_version", waitformetadataversion);
- ///The maximum time to wait for wait_for_metadata_version before timing out
- public ClusterStateDescriptor WaitForTimeout(Time waitfortimeout) => Qs("wait_for_timeout", waitfortimeout);
- }
-
- ///Descriptor for Stats
- public partial class ClusterStatsDescriptor : RequestDescriptorBase, IClusterStatsRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.ClusterStats;
- ////_cluster/stats
- public ClusterStatsDescriptor(): base()
- {
- }
-
- ////_cluster/stats/nodes/{node_id}
- ///Optional, accepts null
- public ClusterStatsDescriptor(NodeIds nodeId): base(r => r.Optional("node_id", nodeId))
- {
- }
-
- // values part of the url path
- NodeIds IClusterStatsRequest.NodeId => Self.RouteValues.Get("node_id");
- ///A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
- public ClusterStatsDescriptor NodeId(NodeIds nodeId) => Assign(nodeId, (a, v) => a.RouteValues.Optional("node_id", v));
- // Request parameters
- ///Return settings in flat format (default: false)
- public ClusterStatsDescriptor FlatSettings(bool? flatsettings = true) => Qs("flat_settings", flatsettings);
- ///Explicit operation timeout
- public ClusterStatsDescriptor Timeout(Time timeout) => Qs("timeout", timeout);
- }
-}
diff --git a/src/OpenSearch.Client/OpenSearchClient.Cluster.cs b/src/OpenSearch.Client/OpenSearchClient.Cluster.cs
deleted file mode 100644
index 22d773b053..0000000000
--- a/src/OpenSearch.Client/OpenSearchClient.Cluster.cs
+++ /dev/null
@@ -1,207 +0,0 @@
-/* SPDX-License-Identifier: Apache-2.0
-*
-* The OpenSearch Contributors require contributions made to
-* this file be licensed under the Apache-2.0 license or a
-* compatible open source license.
-*/
-/*
-* Modifications Copyright OpenSearch Contributors. See
-* GitHub history for details.
-*
-* Licensed to Elasticsearch B.V. under one or more contributor
-* license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright
-* ownership. Elasticsearch B.V. licenses this file to you under
-* the Apache License, Version 2.0 (the "License"); you may
-* not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
-// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
-// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
-// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
-// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
-// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
-// -----------------------------------------------
-//
-// This file is automatically generated
-// Please do not edit these files manually
-// Run the following in the root of the repos:
-//
-// *NIX : ./build.sh codegen
-// Windows : build.bat codegen
-//
-// -----------------------------------------------
-// ReSharper disable RedundantUsingDirective
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-using OpenSearch.Net.Specification.ClusterApi;
-
-// ReSharper disable once CheckNamespace
-// ReSharper disable RedundantTypeArgumentsOfMethod
-namespace OpenSearch.Client.Specification.ClusterApi
-{
- ///
- /// Cluster APIs.
- /// Not intended to be instantiated directly. Use the property
- /// on .
- ///
- ///
- public partial class ClusterNamespace : NamespacedClientProxy
- {
- ///
- /// POST request to the cluster.post_voting_config_exclusions API, read more about this API online:
- ///
- ///
- ///
- public PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Func selector = null) => PostVotingConfigExclusions(selector.InvokeOrDefault(new PostVotingConfigExclusionsDescriptor()));
- ///
- /// POST request to the cluster.post_voting_config_exclusions API, read more about this API online:
- ///
- ///
- ///
- public Task PostVotingConfigExclusionsAsync(Func selector = null, CancellationToken ct = default) => PostVotingConfigExclusionsAsync(selector.InvokeOrDefault(new PostVotingConfigExclusionsDescriptor()), ct);
- ///
- /// POST request to the cluster.post_voting_config_exclusions API, read more about this API online:
- ///
- ///
- ///
- public PostVotingConfigExclusionsResponse PostVotingConfigExclusions(IPostVotingConfigExclusionsRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// POST request to the cluster.post_voting_config_exclusions API, read more about this API online:
- ///
- ///
- ///
- public Task PostVotingConfigExclusionsAsync(IPostVotingConfigExclusionsRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- ///
- /// PUT request to the cluster.put_settings API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/
- ///
- public ClusterPutSettingsResponse PutSettings(Func selector) => PutSettings(selector.InvokeOrDefault(new ClusterPutSettingsDescriptor()));
- ///
- /// PUT request to the cluster.put_settings API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/
- ///
- public Task PutSettingsAsync(Func selector, CancellationToken ct = default) => PutSettingsAsync(selector.InvokeOrDefault(new ClusterPutSettingsDescriptor()), ct);
- ///
- /// PUT request to the cluster.put_settings API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/
- ///
- public ClusterPutSettingsResponse PutSettings(IClusterPutSettingsRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// PUT request to the cluster.put_settings API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/
- ///
- public Task PutSettingsAsync(IClusterPutSettingsRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- ///
- /// GET request to the cluster.remote_info API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/remote-info/
- ///
- public RemoteInfoResponse RemoteInfo(Func selector = null) => RemoteInfo(selector.InvokeOrDefault(new RemoteInfoDescriptor()));
- ///
- /// GET request to the cluster.remote_info API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/remote-info/
- ///
- public Task RemoteInfoAsync(Func selector = null, CancellationToken ct = default) => RemoteInfoAsync(selector.InvokeOrDefault(new RemoteInfoDescriptor()), ct);
- ///
- /// GET request to the cluster.remote_info API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/remote-info/
- ///
- public RemoteInfoResponse RemoteInfo(IRemoteInfoRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// GET request to the cluster.remote_info API, read more about this API online:
- ///
- /// https://opensearch.org/docs/latest/opensearch/rest-api/remote-info/
- ///
- public Task RemoteInfoAsync(IRemoteInfoRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- ///
- /// POST request to the cluster.reroute API, read more about this API online:
- ///
- ///
- ///
- public ClusterRerouteResponse Reroute(Func selector = null) => Reroute(selector.InvokeOrDefault(new ClusterRerouteDescriptor()));
- ///
- /// POST request to the cluster.reroute API, read more about this API online:
- ///
- ///
- ///
- public Task RerouteAsync(Func selector = null, CancellationToken ct = default) => RerouteAsync(selector.InvokeOrDefault(new ClusterRerouteDescriptor()), ct);
- ///
- /// POST request to the cluster.reroute API, read more about this API online:
- ///
- ///
- ///
- public ClusterRerouteResponse Reroute(IClusterRerouteRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// POST request to the cluster.reroute API, read more about this API online:
- ///
- ///
- ///
- public Task RerouteAsync(IClusterRerouteRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- ///
- /// GET request to the cluster.state API, read more about this API online:
- ///
- ///
- ///
- public ClusterStateResponse State(Indices index = null, Func selector = null) => State(selector.InvokeOrDefault(new ClusterStateDescriptor().Index(index: index)));
- ///
- /// GET request to the cluster.state API, read more about this API online:
- ///
- ///
- ///
- public Task StateAsync(Indices index = null, Func selector = null, CancellationToken ct = default) => StateAsync(selector.InvokeOrDefault(new ClusterStateDescriptor().Index(index: index)), ct);
- ///
- /// GET request to the cluster.state API, read more about this API online:
- ///
- ///
- ///
- public ClusterStateResponse State(IClusterStateRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// GET request to the cluster.state API, read more about this API online:
- ///
- ///
- ///
- public Task StateAsync(IClusterStateRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- ///
- /// GET request to the cluster.stats API, read more about this API online:
- ///
- ///
- ///
- public ClusterStatsResponse Stats(Func selector = null) => Stats(selector.InvokeOrDefault(new ClusterStatsDescriptor()));
- ///
- /// GET request to the cluster.stats API, read more about this API online:
- ///
- ///
- ///
- public Task StatsAsync(Func selector = null, CancellationToken ct = default) => StatsAsync(selector.InvokeOrDefault(new ClusterStatsDescriptor()), ct);
- ///
- /// GET request to the cluster.stats API, read more about this API online:
- ///
- ///
- ///
- public ClusterStatsResponse Stats(IClusterStatsRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// GET request to the cluster.stats API, read more about this API online:
- ///
- ///
- ///
- public Task StatsAsync(IClusterStatsRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- }
-}
diff --git a/src/OpenSearch.Client/Requests.Cluster.cs b/src/OpenSearch.Client/Requests.Cluster.cs
deleted file mode 100644
index 4a88cad6af..0000000000
--- a/src/OpenSearch.Client/Requests.Cluster.cs
+++ /dev/null
@@ -1,380 +0,0 @@
-/* SPDX-License-Identifier: Apache-2.0
-*
-* The OpenSearch Contributors require contributions made to
-* this file be licensed under the Apache-2.0 license or a
-* compatible open source license.
-*/
-/*
-* Modifications Copyright OpenSearch Contributors. See
-* GitHub history for details.
-*
-* Licensed to Elasticsearch B.V. under one or more contributor
-* license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright
-* ownership. Elasticsearch B.V. licenses this file to you under
-* the Apache License, Version 2.0 (the "License"); you may
-* not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing,
-* software distributed under the License is distributed on an
-* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-* KIND, either express or implied. See the License for the
-* specific language governing permissions and limitations
-* under the License.
-*/
-// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
-// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
-// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
-// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
-// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
-// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
-// -----------------------------------------------
-//
-// This file is automatically generated
-// Please do not edit these files manually
-// Run the following in the root of the repos:
-//
-// *NIX : ./build.sh codegen
-// Windows : build.bat codegen
-//
-// -----------------------------------------------
-// ReSharper disable RedundantUsingDirective
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Linq.Expressions;
-using System.Runtime.Serialization;
-using OpenSearch.Net;
-using OpenSearch.Net.Utf8Json;
-using OpenSearch.Net.Specification.ClusterApi;
-
-// ReSharper disable RedundantBaseConstructorCall
-// ReSharper disable UnusedTypeParameter
-// ReSharper disable PartialMethodWithSinglePart
-// ReSharper disable RedundantNameQualifier
-namespace OpenSearch.Client
-{
- [InterfaceDataContract]
- public partial interface IPostVotingConfigExclusionsRequest : IRequest
- {
- }
-
- ///Request for PostVotingConfigExclusions
- public partial class PostVotingConfigExclusionsRequest : PlainRequestBase, IPostVotingConfigExclusionsRequest
- {
- protected IPostVotingConfigExclusionsRequest Self => this;
- internal override ApiUrls ApiUrls => ApiUrlsLookups.ClusterPostVotingConfigExclusions;
- // values part of the url path
- // Request parameters
- ///
- /// A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify
- /// ?node_names.
- ///
- public string NodeIds
- {
- get => Q("node_ids");
- set => Q("node_ids", value);
- }
-
- ///
- /// A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify
- /// ?node_ids.
- ///
- public string NodeNames
- {
- get => Q("node_names");
- set => Q("node_names", value);
- }
-
- ///Explicit operation timeout
- public Time Timeout
- {
- get => Q