diff --git a/CHANGELOG.md b/CHANGELOG.md index 5912f94372..7012964ad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### ⚠️ Breaking Changes ⚠️ - Moved `OpenSearch.Client` request classes into their respective namespaces to match those in `OpenSearch.Net` ([#200](https://github.com/opensearch-project/opensearch-net/pull/200), [#202](https://github.com/opensearch-project/opensearch-net/pull/202), [#203](https://github.com/opensearch-project/opensearch-net/pull/203), [#205](https://github.com/opensearch-project/opensearch-net/pull/205), [#206](https://github.com/opensearch-project/opensearch-net/pull/206), [#207](https://github.com/opensearch-project/opensearch-net/pull/207), [#208](https://github.com/opensearch-project/opensearch-net/pull/208), [#209](https://github.com/opensearch-project/opensearch-net/pull/209)) - Removed support for the `net461` target ([#256](https://github.com/opensearch-project/opensearch-net/pull/256)) +- Fixed naming of `ClusterManagerTimeout` and `MasterTimeout` properties from `*TimeSpanout` in the low-level client ([#332](https://github.com/opensearch-project/opensearch-net/pull/332)) ### Fixed - Fix highlight max_analyzer_offset field name to match with the one introduced in OpenSearch 2.2.0 ([#322](https://github.com/opensearch-project/opensearch-net/pull/322)) diff --git a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cat.cs b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cat.cs index 4fe2bb04cf..fe66f89aa4 100644 --- a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cat.cs +++ b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cat.cs @@ -27,13 +27,13 @@ */ // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ -// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ -// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // ----------------------------------------------- -// -// This file is automatically generated +// +// This file is automatically generated // Please do not edit these files manually // Run the following in the root of the repos: // @@ -155,16 +155,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -427,16 +427,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -503,16 +503,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -631,16 +631,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -706,16 +706,16 @@ public bool? Help } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -774,16 +774,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -849,16 +849,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -990,16 +990,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1117,16 +1117,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1185,16 +1185,16 @@ public bool? IgnoreUnavailable } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1329,16 +1329,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1397,16 +1397,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); diff --git a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cluster.cs b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cluster.cs index e1fa75c14c..720586fd85 100644 --- a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cluster.cs +++ b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Cluster.cs @@ -27,13 +27,13 @@ */ // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ -// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ -// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // ----------------------------------------------- -// -// This file is automatically generated +// +// This file is automatically generated // Please do not edit these files manually // Run the following in the root of the repos: // @@ -77,16 +77,16 @@ public class DeleteComponentTemplateRequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -126,16 +126,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -155,16 +155,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -191,16 +191,16 @@ public bool? IncludeDefaults } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -241,16 +241,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -319,16 +319,16 @@ public bool? Local } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -381,16 +381,16 @@ public bool? Create } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -417,16 +417,16 @@ public bool? FlatSettings } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -467,16 +467,16 @@ public bool? Explain } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -548,16 +548,16 @@ public bool? Local } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); diff --git a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.DanglingIndices.cs b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.DanglingIndices.cs index 0845af7dfb..4a1c504a1f 100644 --- a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.DanglingIndices.cs +++ b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.DanglingIndices.cs @@ -27,13 +27,13 @@ */ // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ -// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ -// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // ----------------------------------------------- -// -// This file is automatically generated +// +// This file is automatically generated // Please do not edit these files manually // Run the following in the root of the repos: // @@ -64,16 +64,16 @@ public bool? AcceptDataLoss } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -100,16 +100,16 @@ public bool? AcceptDataLoss } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); diff --git a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Indices.cs b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Indices.cs index 0718d196e3..491bee7bfd 100644 --- a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Indices.cs +++ b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Indices.cs @@ -27,13 +27,13 @@ */ // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ -// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ -// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // ----------------------------------------------- -// -// This file is automatically generated +// +// This file is automatically generated // Please do not edit these files manually // Run the following in the root of the repos: // @@ -81,16 +81,16 @@ public bool? IgnoreUnavailable } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -188,16 +188,16 @@ public class CloneIndexRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -248,16 +248,16 @@ public bool? IgnoreUnavailable } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -295,16 +295,16 @@ public bool? IncludeTypeName } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -352,16 +352,16 @@ public bool? IgnoreUnavailable } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -381,16 +381,16 @@ public class DeleteAliasRequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -410,16 +410,16 @@ public class DeleteIndexTemplateV2RequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -439,16 +439,16 @@ public class DeleteIndexTemplateRequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -567,16 +567,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -603,16 +603,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -844,16 +844,16 @@ public bool? Local } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -969,16 +969,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1023,16 +1023,16 @@ public bool? IncludeTypeName } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1090,16 +1090,16 @@ public bool? Local } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1134,16 +1134,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1180,16 +1180,16 @@ public bool? IgnoreUnavailable } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1216,16 +1216,16 @@ public class PutAliasRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1259,16 +1259,16 @@ public bool? Create } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1313,16 +1313,16 @@ public bool? IncludeTypeName } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1380,16 +1380,16 @@ public bool? IgnoreUnavailable } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1431,16 +1431,16 @@ public bool? IncludeTypeName } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1531,16 +1531,16 @@ public bool? IncludeTypeName } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1641,16 +1641,16 @@ public class ShrinkIndexRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1691,16 +1691,16 @@ public bool? Create } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1727,16 +1727,16 @@ public bool? Create } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1749,16 +1749,16 @@ public class SplitIndexRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1854,16 +1854,16 @@ public class BulkAliasRequestParameters : RequestParameters HttpMethod.POST; public override bool SupportsBody => true; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); diff --git a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Ingest.cs b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Ingest.cs index 648da0c9dc..cd5eb26968 100644 --- a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Ingest.cs +++ b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Ingest.cs @@ -27,13 +27,13 @@ */ // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ -// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ -// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // ----------------------------------------------- -// -// This file is automatically generated +// +// This file is automatically generated // Please do not edit these files manually // Run the following in the root of the repos: // @@ -57,16 +57,16 @@ public class DeletePipelineRequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -86,16 +86,16 @@ public class GetPipelineRequestParameters : RequestParameters HttpMethod.GET; public override bool SupportsBody => false; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -115,16 +115,16 @@ public class PutPipelineRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); diff --git a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs index 1a52c7bcae..9c0783cadb 100644 --- a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs +++ b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs @@ -27,13 +27,13 @@ */ // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ -// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ -// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // ----------------------------------------------- -// -// This file is automatically generated +// +// This file is automatically generated // Please do not edit these files manually // Run the following in the root of the repos: // @@ -628,16 +628,16 @@ public class DeleteScriptRequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1012,16 +1012,16 @@ public class GetScriptRequestParameters : RequestParameters HttpMethod.GET; public override bool SupportsBody => false; ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -1489,16 +1489,16 @@ public string Context } ///Specify timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Specify timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); diff --git a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs index e4ae9b2211..3b1460ece7 100644 --- a/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs +++ b/src/OpenSearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs @@ -27,13 +27,13 @@ */ // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ -// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ -// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // ----------------------------------------------- -// -// This file is automatically generated +// +// This file is automatically generated // Please do not edit these files manually // Run the following in the root of the repos: // @@ -57,16 +57,16 @@ public class CleanupRepositoryRequestParameters : RequestParameters HttpMethod.POST; public override bool SupportsBody => true; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -79,16 +79,16 @@ public class CloneSnapshotRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -101,16 +101,16 @@ public class SnapshotRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -130,16 +130,16 @@ public class CreateRepositoryRequestParameters : RequestParameters HttpMethod.PUT; public override bool SupportsBody => true; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -166,16 +166,16 @@ public class DeleteSnapshotRequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -188,16 +188,16 @@ public class DeleteRepositoryRequestParameters : RequestParameters HttpMethod.DELETE; public override bool SupportsBody => false; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -224,16 +224,16 @@ public bool? IgnoreUnavailable } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -260,16 +260,16 @@ public bool? Local } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -282,16 +282,16 @@ public class RestoreRequestParameters : RequestParameters HttpMethod.POST; public override bool SupportsBody => true; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -318,16 +318,16 @@ public bool? IgnoreUnavailable } ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value); @@ -340,16 +340,16 @@ public class VerifyRepositoryRequestParameters : RequestParameters HttpMethod.POST; public override bool SupportsBody => false; ///Explicit operation timeout for connection to master node - ///Deprecated as of OpenSearch 2.0, use instead - public TimeSpan MasterTimeSpanout + ///Deprecated as of OpenSearch 2.0, use instead + public TimeSpan MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } ///Explicit operation timeout for connection to cluster_manager node - ///Introduced in OpenSearch 2.0 instead of - public TimeSpan ClusterManagerTimeSpanout + ///Introduced in OpenSearch 2.0 instead of + public TimeSpan ClusterManagerTimeout { get => Q("cluster_manager_timeout"); set => Q("cluster_manager_timeout", value);