diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index 62ed5b8b1a..136f619067 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.AsyncSearch; -public sealed class AsyncSearchStatusRequestParameters : RequestParameters +public sealed partial class AsyncSearchStatusRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index 2ee9fd642d..687814bce6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.AsyncSearch; -public sealed class DeleteAsyncSearchRequestParameters : RequestParameters +public sealed partial class DeleteAsyncSearchRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index 04e0a14ab3..08bdbc51b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.AsyncSearch; -public sealed class GetAsyncSearchRequestParameters : RequestParameters +public sealed partial class GetAsyncSearchRequestParameters : RequestParameters { /// /// Specifies how long the async search should be available in the cluster.
When not specified, the `keep_alive` set with the corresponding submit async request will be used.
Otherwise, it is possible to override the value and extend the validity of the request.
When this period expires, the search, if still running, is cancelled.
If the search is completed, its saved results are deleted.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index c05a7af3e6..922f4980a7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.AsyncSearch; -public sealed class SubmitAsyncSearchRequestParameters : RequestParameters +public sealed partial class SubmitAsyncSearchRequestParameters : RequestParameters { /// /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs index a00356a5f8..60a63cc757 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class BulkRequestParameters : RequestParameters +public sealed partial class BulkRequestParameters : RequestParameters { /// /// ID of the pipeline to use to preprocess incoming documents.
If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.
If a final pipeline is configured it will always run, regardless of the value of this parameter.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs index f8eae2bc7a..5405011e48 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ClearScrollRequestParameters : RequestParameters +public sealed partial class ClearScrollRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs index 6d990a5d10..ce718f1935 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ClosePointInTimeRequestParameters : RequestParameters +public sealed partial class ClosePointInTimeRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs index 53d80d8397..2c7a8b971c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Cluster; -public sealed class AllocationExplainRequestParameters : RequestParameters +public sealed partial class AllocationExplainRequestParameters : RequestParameters { /// /// If true, returns information about disk usage and shard sizes. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index 572d83d372..64384cc159 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Cluster; -public sealed class ClusterStatsRequestParameters : RequestParameters +public sealed partial class ClusterStatsRequestParameters : RequestParameters { /// /// If `true`, returns settings in flat format. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs index b156756b9b..375cb6fb3c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Cluster; -public sealed class GetClusterSettingsRequestParameters : RequestParameters +public sealed partial class GetClusterSettingsRequestParameters : RequestParameters { /// /// If `true`, returns settings in flat format. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs index 038ee227a4..9792106886 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Cluster; -public sealed class HealthRequestParameters : RequestParameters +public sealed partial class HealthRequestParameters : RequestParameters { /// /// Whether to expand wildcard expression to concrete indices that are open, closed or both. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs index 5e325a5c7a..456b088784 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Cluster; -public sealed class PendingTasksRequestParameters : RequestParameters +public sealed partial class PendingTasksRequestParameters : RequestParameters { /// /// If `true`, the request retrieves information from the local node only.
If `false`, information is retrieved from the master node.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs index a97925dbd3..ce3bd42f5d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class CountRequestParameters : RequestParameters +public sealed partial class CountRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs index 9f21d8c833..a2f99ab8d6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class CreateRequestParameters : RequestParameters +public sealed partial class CreateRequestParameters : RequestParameters { /// /// ID of the pipeline to use to preprocess incoming documents.
If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.
If a final pipeline is configured it will always run, regardless of the value of this parameter.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs index fe991951b2..b8456275be 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class DeleteByQueryRequestParameters : RequestParameters +public sealed partial class DeleteByQueryRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index 03cb387462..6645c8d6c3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class DeleteByQueryRethrottleRequestParameters : RequestParameters +public sealed partial class DeleteByQueryRethrottleRequestParameters : RequestParameters { /// /// The throttle for this request in sub-requests per second. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs index ea464e9da2..36179c9fef 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class DeleteRequestParameters : RequestParameters +public sealed partial class DeleteRequestParameters : RequestParameters { /// /// Only perform the operation if the document has this primary term. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs index 45659bd3a4..09b1af9cd5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class DeleteScriptRequestParameters : RequestParameters +public sealed partial class DeleteScriptRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs index db386971d6..c9b1666303 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich; -public sealed class DeletePolicyRequestParameters : RequestParameters +public sealed partial class DeletePolicyRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs index eed07e1946..49d55b84b6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich; -public sealed class EnrichStatsRequestParameters : RequestParameters +public sealed partial class EnrichStatsRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs index c41617fe60..f960ec6bd5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich; -public sealed class ExecutePolicyRequestParameters : RequestParameters +public sealed partial class ExecutePolicyRequestParameters : RequestParameters { /// /// If `true`, the request blocks other enrich policy execution requests until complete. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs index aeafb3d8e8..ec0ae7ccf2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich; -public sealed class GetPolicyRequestParameters : RequestParameters +public sealed partial class GetPolicyRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs index 0d53bf8b76..aad37cbafc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich; -public sealed class PutPolicyRequestParameters : RequestParameters +public sealed partial class PutPolicyRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs index 2f1de560e9..df709f8bdb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Eql; -public sealed class EqlDeleteRequestParameters : RequestParameters +public sealed partial class EqlDeleteRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs index 2b1e1adaa3..394906f569 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Eql; -public sealed class EqlGetRequestParameters : RequestParameters +public sealed partial class EqlGetRequestParameters : RequestParameters { /// /// Period for which the search and its results are stored on the cluster.
Defaults to the keep_alive value set by the search’s EQL search API request.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs index fb522b3a97..7fbb6ed500 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Eql; -public sealed class EqlSearchRequestParameters : RequestParameters +public sealed partial class EqlSearchRequestParameters : RequestParameters { public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); } public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs index fcbf3078ab..44689bbfe6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Eql; -public sealed class GetEqlStatusRequestParameters : RequestParameters +public sealed partial class GetEqlStatusRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs index 22f2741100..cc045bbe67 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ExistsRequestParameters : RequestParameters +public sealed partial class ExistsRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on.
Random by default.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs index d3dc2fa166..0ad4e2bcf7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ExistsSourceRequestParameters : RequestParameters +public sealed partial class ExistsSourceRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on.
Random by default.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs index d426638c64..6d04450ae3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ExplainRequestParameters : RequestParameters +public sealed partial class ExplainRequestParameters : RequestParameters { /// /// Analyzer to use for the query string.
This parameter can only be used when the `q` query string parameter is specified.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs index 23bbeeb9a0..0386ef80ce 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class FieldCapsRequestParameters : RequestParameters +public sealed partial class FieldCapsRequestParameters : RequestParameters { /// /// If false, the request returns an error if any wildcard expression, index alias,
or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request
targeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs index c011140f6a..e32f67a87b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class GetRequestParameters : RequestParameters +public sealed partial class GetRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on. Random by default. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs index f15d3841d3..a861c4cace 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class GetScriptRequestParameters : RequestParameters +public sealed partial class GetScriptRequestParameters : RequestParameters { /// /// Specify timeout for connection to master diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs index f8271920fe..a663be9b94 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class GetSourceRequestParameters : RequestParameters +public sealed partial class GetSourceRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on. Random by default. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs index 21dbb057bf..d4611c14fd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Graph; -public sealed class ExploreRequestParameters : RequestParameters +public sealed partial class ExploreRequestParameters : RequestParameters { /// /// Custom value used to route operations to a specific shard. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs index c1c710440e..aa703c0d48 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class CloseIndexRequestParameters : RequestParameters +public sealed partial class CloseIndexRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs index 87f95df881..be772c5247 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class CreateDataStreamRequestParameters : RequestParameters +public sealed partial class CreateDataStreamRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index 8cadf05369..a61b25751d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class CreateIndexRequestParameters : RequestParameters +public sealed partial class CreateIndexRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs index 9939d6e82c..797b1d44f1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class DeleteAliasRequestParameters : RequestParameters +public sealed partial class DeleteAliasRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs index 67435f2a5f..7222cfacdd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class DeleteDataLifecycleRequestParameters : RequestParameters +public sealed partial class DeleteDataLifecycleRequestParameters : RequestParameters { /// /// Whether wildcard expressions should get expanded to open or closed indices (default: open) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs index 7def3a951d..89c56ab621 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class DeleteDataStreamRequestParameters : RequestParameters +public sealed partial class DeleteDataStreamRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs index 250342eb61..a6082a3e87 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class DeleteIndexRequestParameters : RequestParameters +public sealed partial class DeleteIndexRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs index 6e3a3ac721..da1e6fcc06 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class DeleteIndexTemplateRequestParameters : RequestParameters +public sealed partial class DeleteIndexTemplateRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index 9f79a0a1ca..f6ceacd54e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class ExistsAliasRequestParameters : RequestParameters +public sealed partial class ExistsAliasRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs index 082e9b54bf..247572b2fc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class ExistsIndexTemplateRequestParameters : RequestParameters +public sealed partial class ExistsIndexTemplateRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs index 2fb62490f3..8947c10b1a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class ExistsRequestParameters : RequestParameters +public sealed partial class ExistsRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs index 68a5a4a206..fddef20d1b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class ExplainDataLifecycleRequestParameters : RequestParameters +public sealed partial class ExplainDataLifecycleRequestParameters : RequestParameters { /// /// indicates if the API should return the default values the system uses for the index's lifecycle diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs index 3ea670f913..469faed3a8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class FlushRequestParameters : RequestParameters +public sealed partial class FlushRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs index d562f03d5a..969f8b7a4a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class ForcemergeRequestParameters : RequestParameters +public sealed partial class ForcemergeRequestParameters : RequestParameters { /// /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index 25d28576a0..7c2127c61e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class GetAliasRequestParameters : RequestParameters +public sealed partial class GetAliasRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs index 08cd273776..8c8dae5548 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class GetDataLifecycleRequestParameters : RequestParameters +public sealed partial class GetDataLifecycleRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index ba6c4f8072..8b54f3d6cf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class GetDataStreamRequestParameters : RequestParameters +public sealed partial class GetDataStreamRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match.
Supports comma-separated values, such as `open,hidden`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs index e0f0d43329..68431b282b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class GetIndexRequestParameters : RequestParameters +public sealed partial class GetIndexRequestParameters : RequestParameters { /// /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only
missing or closed indices. This behavior applies even if the request targets other open indices. For example,
a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs index b523253be5..952d8f82f6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class GetIndexTemplateRequestParameters : RequestParameters +public sealed partial class GetIndexTemplateRequestParameters : RequestParameters { /// /// If true, returns settings in flat format. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs index e502d41a34..bb3e007369 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class GetMappingRequestParameters : RequestParameters +public sealed partial class GetMappingRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs index 7afd4f210e..b3a6a343eb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class IndicesStatsRequestParameters : RequestParameters +public sealed partial class IndicesStatsRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs index 40512dcd6c..cad604c872 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class MigrateToDataStreamRequestParameters : RequestParameters +public sealed partial class MigrateToDataStreamRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs index 0043579750..158bfa4d08 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class OpenIndexRequestParameters : RequestParameters +public sealed partial class OpenIndexRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs index 4e1498d483..d8f5a6dad4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class PutAliasRequestParameters : RequestParameters +public sealed partial class PutAliasRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index 9914aa8e7a..3213f21722 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class PutDataLifecycleRequestParameters : RequestParameters +public sealed partial class PutDataLifecycleRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `hidden`, `open`, `closed`, `none`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs index a1abd42d56..fe69eacdd0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class PutIndexTemplateRequestParameters : RequestParameters +public sealed partial class PutIndexTemplateRequestParameters : RequestParameters { /// /// If `true`, this request cannot replace or update existing index templates. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs index c22f22c95f..f856850db1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class PutMappingRequestParameters : RequestParameters +public sealed partial class PutMappingRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs index c57e56a8b7..70235ef536 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class PutTemplateRequestParameters : RequestParameters +public sealed partial class PutTemplateRequestParameters : RequestParameters { /// /// If true, this request cannot replace or update existing index templates. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs index 306796e378..f58f148f01 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class RefreshRequestParameters : RequestParameters +public sealed partial class RefreshRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs index 84127702c6..e9102d8691 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class RolloverRequestParameters : RequestParameters +public sealed partial class RolloverRequestParameters : RequestParameters { /// /// If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs index 3203e3425b..c02a1e6faf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class SimulateIndexTemplateRequestParameters : RequestParameters +public sealed partial class SimulateIndexTemplateRequestParameters : RequestParameters { /// /// If `true`, the template passed in the body is only used if no existing
templates match the same index patterns. If `false`, the simulation uses
the template with the highest priority. Note that the template is not
permanently added or updated in either case; it is only used for the
simulation.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs index c13e328662..1c7c82addb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class SimulateTemplateRequestParameters : RequestParameters +public sealed partial class SimulateTemplateRequestParameters : RequestParameters { /// /// If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs index 23c4a51a87..632793149d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; -public sealed class UpdateAliasesRequestParameters : RequestParameters +public sealed partial class UpdateAliasesRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs index 673fdf1db5..316c3c48a1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class IndexRequestParameters : RequestParameters +public sealed partial class IndexRequestParameters : RequestParameters { /// /// Only perform the operation if the document has this primary term. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs index a2e7a10a48..1cdf3ce6c4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class InfoRequestParameters : RequestParameters +public sealed partial class InfoRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs index 7760599c8c..e544d8d7fb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; -public sealed class DeletePipelineRequestParameters : RequestParameters +public sealed partial class DeletePipelineRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs index b507d73612..b55ef74a49 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; -public sealed class GeoIpStatsRequestParameters : RequestParameters +public sealed partial class GeoIpStatsRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs index 5790f3828d..3125b3b84b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; -public sealed class GetPipelineRequestParameters : RequestParameters +public sealed partial class GetPipelineRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs index fd80c142cf..4ca0d681e1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; -public sealed class ProcessorGrokRequestParameters : RequestParameters +public sealed partial class ProcessorGrokRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs index babd4ea9f8..a557b513a6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; -public sealed class PutPipelineRequestParameters : RequestParameters +public sealed partial class PutPipelineRequestParameters : RequestParameters { /// /// Required version for optimistic concurrency control for pipeline updates diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs index 50857c0bb2..9dc16af85a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; -public sealed class SimulateRequestParameters : RequestParameters +public sealed partial class SimulateRequestParameters : RequestParameters { /// /// If `true`, the response includes output data for each processor in the executed pipeline. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs index b3b20f4557..20f22fca82 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class MultiGetRequestParameters : RequestParameters +public sealed partial class MultiGetRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on. Random by default. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs index dab7b8b7d3..49f8236ca8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class MultiSearchRequestParameters : RequestParameters +public sealed partial class MultiSearchRequestParameters : RequestParameters { /// /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs index 4b186583aa..2fcc02a230 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class MultiSearchTemplateRequestParameters : RequestParameters +public sealed partial class MultiSearchTemplateRequestParameters : RequestParameters { /// /// If `true`, network round-trips are minimized for cross-cluster search requests. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs index 52605bd1bf..e78c226fca 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class MultiTermVectorsRequestParameters : RequestParameters +public sealed partial class MultiTermVectorsRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expressions of fields to include in the statistics.
Used as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs index b8edc33e55..ea6137b3be 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class OpenPointInTimeRequestParameters : RequestParameters +public sealed partial class OpenPointInTimeRequestParameters : RequestParameters { /// /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs index dbf645e08c..eb3e852b8b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class PingRequestParameters : RequestParameters +public sealed partial class PingRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs index e0d2896045..ae7dbd4a3a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class PutScriptRequestParameters : RequestParameters +public sealed partial class PutScriptRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs index 1f50f8e318..14eb3b2d76 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class RankEvalRequestParameters : RequestParameters +public sealed partial class RankEvalRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs index 349b159a1c..c3e974d0e8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ReindexRequestParameters : RequestParameters +public sealed partial class ReindexRequestParameters : RequestParameters { /// /// If `true`, the request refreshes affected shards to make this operation visible to search. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs index 2fbc278ac6..c209d9fb9c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ReindexRethrottleRequestParameters : RequestParameters +public sealed partial class ReindexRethrottleRequestParameters : RequestParameters { /// /// The throttle for this request in sub-requests per second. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs index b01b2c527e..5db025f384 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class RenderSearchTemplateRequestParameters : RequestParameters +public sealed partial class RenderSearchTemplateRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs index 5976689137..5542fbe32d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class ScrollRequestParameters : RequestParameters +public sealed partial class ScrollRequestParameters : RequestParameters { /// /// If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs index e394bfe738..9f69c163b6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class SearchRequestParameters : RequestParameters +public sealed partial class SearchRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs index a2b2a634a2..6144b2c675 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class SearchTemplateRequestParameters : RequestParameters +public sealed partial class SearchTemplateRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs index e4317ab27a..1bba5dadbb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Sql; -public sealed class ClearCursorRequestParameters : RequestParameters +public sealed partial class ClearCursorRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs index 7706dec0a7..a0993c6a9a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Sql; -public sealed class DeleteAsyncRequestParameters : RequestParameters +public sealed partial class DeleteAsyncRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs index de47c700ae..9290746bb2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Sql; -public sealed class GetAsyncRequestParameters : RequestParameters +public sealed partial class GetAsyncRequestParameters : RequestParameters { /// /// Separator for CSV results. The API only supports this parameter for CSV responses. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs index 8fc97d712d..8eb3a72ff3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Sql; -public sealed class GetAsyncStatusRequestParameters : RequestParameters +public sealed partial class GetAsyncStatusRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs index 9679e7e986..5896cac457 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Sql; -public sealed class QueryRequestParameters : RequestParameters +public sealed partial class QueryRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/CancelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/CancelRequest.g.cs index ec9b53ea48..96b7326077 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/CancelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/CancelRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Tasks; -public sealed class CancelRequestParameters : RequestParameters +public sealed partial class CancelRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expression of actions used to limit the request. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/GetTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/GetTasksRequest.g.cs index 59d3badd7d..d9f51ab75c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/GetTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/GetTasksRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Tasks; -public sealed class GetTasksRequestParameters : RequestParameters +public sealed partial class GetTasksRequestParameters : RequestParameters { /// /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/ListRequest.g.cs index 7e89471250..0ee9bb49f6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Tasks/ListRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Tasks; -public sealed class ListRequestParameters : RequestParameters +public sealed partial class ListRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expression of actions used to limit the request. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs index 390ea784ce..cd75f782b5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class TermVectorsRequestParameters : RequestParameters +public sealed partial class TermVectorsRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expressions of fields to include in the statistics.
Used as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs index 2965a157a2..fbd3c0bf93 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class TermsEnumRequestParameters : RequestParameters +public sealed partial class TermsEnumRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs index cc4449fb9a..7504c8c5e3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class UpdateByQueryRequestParameters : RequestParameters +public sealed partial class UpdateByQueryRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index c903311592..c792f8309a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class UpdateByQueryRethrottleRequestParameters : RequestParameters +public sealed partial class UpdateByQueryRethrottleRequestParameters : RequestParameters { /// /// The throttle for this request in sub-requests per second. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs index 830373fb05..a7fc1b1864 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed class UpdateRequestParameters : RequestParameters +public sealed partial class UpdateRequestParameters : RequestParameters { /// /// Only perform the operation if the document has this primary term. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/IcuTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/IcuTokenizer.g.cs index aa8b0a81b6..0b6d5937e7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/IcuTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/IcuTokenizer.g.cs @@ -27,7 +27,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Analysis; -public sealed partial class IcuTokenizer : ITokenFilter, ITokenizer +public sealed partial class IcuTokenizer : ITokenizer { [JsonInclude, JsonPropertyName("rule_files")] public string RuleFiles { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/TokenFilters.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/TokenFilters.g.cs index f0272e0e8d..6804f9f7dd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/TokenFilters.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/TokenFilters.g.cs @@ -105,9 +105,6 @@ public TokenFiltersDescriptor(TokenFilters tokenFilters) : base(tokenFilters ?? public TokenFiltersDescriptor IcuNormalization(string tokenFilterName) => AssignVariant(tokenFilterName, null); public TokenFiltersDescriptor IcuNormalization(string tokenFilterName, Action configure) => AssignVariant(tokenFilterName, configure); public TokenFiltersDescriptor IcuNormalization(string tokenFilterName, IcuNormalizationTokenFilter icuNormalizationTokenFilter) => AssignVariant(tokenFilterName, icuNormalizationTokenFilter); - public TokenFiltersDescriptor IcuTokenizer(string tokenFilterName) => AssignVariant(tokenFilterName, null); - public TokenFiltersDescriptor IcuTokenizer(string tokenFilterName, Action configure) => AssignVariant(tokenFilterName, configure); - public TokenFiltersDescriptor IcuTokenizer(string tokenFilterName, IcuTokenizer icuTokenizer) => AssignVariant(tokenFilterName, icuTokenizer); public TokenFiltersDescriptor IcuTransform(string tokenFilterName) => AssignVariant(tokenFilterName, null); public TokenFiltersDescriptor IcuTransform(string tokenFilterName, Action configure) => AssignVariant(tokenFilterName, configure); public TokenFiltersDescriptor IcuTransform(string tokenFilterName, IcuTransformTokenFilter icuTransformTokenFilter) => AssignVariant(tokenFilterName, icuTransformTokenFilter); @@ -238,8 +235,6 @@ public override ITokenFilter Read(ref Utf8JsonReader reader, Type typeToConvert, return JsonSerializer.Deserialize(ref reader, options); case "icu_collation": return JsonSerializer.Deserialize(ref reader, options); - case "icu_tokenizer": - return JsonSerializer.Deserialize(ref reader, options); case "kuromoji_part_of_speech": return JsonSerializer.Deserialize(ref reader, options); case "kuromoji_readingform": @@ -356,9 +351,6 @@ public override void Write(Utf8JsonWriter writer, ITokenFilter value, JsonSerial case "icu_collation": JsonSerializer.Serialize(writer, value, typeof(IcuCollationTokenFilter), options); return; - case "icu_tokenizer": - JsonSerializer.Serialize(writer, value, typeof(IcuTokenizer), options); - return; case "kuromoji_part_of_speech": JsonSerializer.Serialize(writer, value, typeof(KuromojiPartOfSpeechTokenFilter), options); return; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs index f299e44d66..f7b733f244 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs @@ -33,7 +33,7 @@ public sealed partial class Pipeline /// Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch. /// [JsonInclude, JsonPropertyName("_meta")] - public IDictionary Meta { get; set; } + public IDictionary? Meta { get; set; } /// /// Description of the ingest pipeline. @@ -69,7 +69,7 @@ public PipelineDescriptor() : base() } private string? DescriptionValue { get; set; } - private IDictionary MetaValue { get; set; } + private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } private ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } @@ -194,8 +194,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } - writer.WritePropertyName("_meta"); - JsonSerializer.Serialize(writer, MetaValue, options); + if (MetaValue is not null) + { + writer.WritePropertyName("_meta"); + JsonSerializer.Serialize(writer, MetaValue, options); + } + if (OnFailureDescriptor is not null) { writer.WritePropertyName("on_failure"); @@ -277,7 +281,7 @@ public PipelineDescriptor() : base() } private string? DescriptionValue { get; set; } - private IDictionary MetaValue { get; set; } + private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } private ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } @@ -402,8 +406,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } - writer.WritePropertyName("_meta"); - JsonSerializer.Serialize(writer, MetaValue, options); + if (MetaValue is not null) + { + writer.WritePropertyName("_meta"); + JsonSerializer.Serialize(writer, MetaValue, options); + } + if (OnFailureDescriptor is not null) { writer.WritePropertyName("on_failure"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RerouteProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RerouteProcessor.g.cs index 3f3603e8b4..0f883d5ac3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RerouteProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RerouteProcessor.g.cs @@ -129,9 +129,9 @@ public RerouteProcessorDescriptor IgnoreFailure(bool? ignoreFailure = /// Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).
When resolving field references, the processor replaces invalid characters with _. Uses the part
of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
/// default {{data_stream.namespace}} ///
- public RerouteProcessorDescriptor Namespace(ICollection? @namespace) + public RerouteProcessorDescriptor Namespace(ICollection? value) { - NamespaceValue = @namespace; + NamespaceValue = value; return Self; } @@ -320,9 +320,9 @@ public RerouteProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) /// Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).
When resolving field references, the processor replaces invalid characters with _. Uses the part
of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
/// default {{data_stream.namespace}} ///
- public RerouteProcessorDescriptor Namespace(ICollection? @namespace) + public RerouteProcessorDescriptor Namespace(ICollection? value) { - NamespaceValue = @namespace; + NamespaceValue = value; return Self; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnQuery.g.cs index 4cba0e0a0d..13914d8519 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnQuery.g.cs @@ -24,10 +24,11 @@ using System.Linq.Expressions; using System.Text.Json; using System.Text.Json.Serialization; +using Elastic.Clients.Elasticsearch.Serverless.QueryDsl; namespace Elastic.Clients.Elasticsearch.Serverless; -public sealed partial class KnnQuery +public sealed partial class KnnQuery : SearchQuery { /// /// Boost value to apply to kNN scores @@ -77,6 +78,10 @@ public sealed partial class KnnQuery /// [JsonInclude, JsonPropertyName("similarity")] public float? Similarity { get; set; } + + public static implicit operator Query(KnnQuery knnQuery) => QueryDsl.Query.Knn(knnQuery); + + internal override void InternalWrapInContainer(Query container) => container.WrapVariant("knn", this); } public sealed partial class KnnQueryDescriptor : SerializableDescriptor> @@ -540,4 +545,4 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteEndObject(); } -} \ No newline at end of file +} diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ObjectProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ObjectProperty.g.cs index bc0da77620..36da67f389 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ObjectProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ObjectProperty.g.cs @@ -47,6 +47,8 @@ public sealed partial class ObjectProperty : IProperty public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } + [JsonInclude, JsonPropertyName("subobjects")] + public bool? Subobjects { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "object"; @@ -69,6 +71,7 @@ public ObjectPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } + private bool? SubobjectsValue { get; set; } public ObjectPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) { @@ -152,6 +155,12 @@ public ObjectPropertyDescriptor Store(bool? store = true) return Self; } + public ObjectPropertyDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -209,6 +218,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(StoreValue.Value); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WritePropertyName("type"); writer.WriteStringValue("object"); writer.WriteEndObject(); @@ -224,7 +239,8 @@ ObjectProperty IBuildableDescriptor.Build() => new() Meta = MetaValue, Properties = PropertiesValue, Similarity = SimilarityValue, - Store = StoreValue + Store = StoreValue, + Subobjects = SubobjectsValue }; } @@ -245,6 +261,7 @@ public ObjectPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } + private bool? SubobjectsValue { get; set; } public ObjectPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) { @@ -328,6 +345,12 @@ public ObjectPropertyDescriptor Store(bool? store = true) return Self; } + public ObjectPropertyDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -385,6 +408,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(StoreValue.Value); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WritePropertyName("type"); writer.WriteStringValue("object"); writer.WriteEndObject(); @@ -400,6 +429,7 @@ ObjectProperty IBuildableDescriptor.Build() => new() Meta = MetaValue, Properties = PropertiesValue, Similarity = SimilarityValue, - Store = StoreValue + Store = StoreValue, + Subobjects = SubobjectsValue }; } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/TypeMapping.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/TypeMapping.g.cs index 1c528966cd..514f7d69fb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/TypeMapping.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/TypeMapping.g.cs @@ -61,6 +61,8 @@ public sealed partial class TypeMapping public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } [JsonInclude, JsonPropertyName("runtime")] public IDictionary? Runtime { get; set; } + [JsonInclude, JsonPropertyName("subobjects")] + public bool? Subobjects { get; set; } } public sealed partial class TypeMappingDescriptor : SerializableDescriptor> @@ -101,6 +103,7 @@ public TypeMappingDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Mapping.SourceField? SourceValue { get; set; } private SourceFieldDescriptor SourceDescriptor { get; set; } private Action SourceDescriptorAction { get; set; } + private bool? SubobjectsValue { get; set; } public TypeMappingDescriptor AllField(Elastic.Clients.Elasticsearch.Serverless.Mapping.AllField? allField) { @@ -338,6 +341,12 @@ public TypeMappingDescriptor Source(Action con return Self; } + public TypeMappingDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -507,6 +516,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, SourceValue, options); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WriteEndObject(); } } @@ -549,6 +564,7 @@ public TypeMappingDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Mapping.SourceField? SourceValue { get; set; } private SourceFieldDescriptor SourceDescriptor { get; set; } private Action SourceDescriptorAction { get; set; } + private bool? SubobjectsValue { get; set; } public TypeMappingDescriptor AllField(Elastic.Clients.Elasticsearch.Serverless.Mapping.AllField? allField) { @@ -786,6 +802,12 @@ public TypeMappingDescriptor Source(Action configure) return Self; } + public TypeMappingDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -955,6 +977,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, SourceValue, options); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs index fd4a712d57..71b90b2d9d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs @@ -67,6 +67,7 @@ internal void WrapVariant(string variantName, SearchQuery variant) public static Query HasParent(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.HasParentQuery hasParentQuery) => new Query("has_parent", hasParentQuery); public static Query Ids(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.IdsQuery idsQuery) => new Query("ids", idsQuery); public static Query Intervals(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.IntervalsQuery intervalsQuery) => new Query("intervals", intervalsQuery); + public static Query Knn(Elastic.Clients.Elasticsearch.Serverless.KnnQuery knnQuery) => new Query("knn", knnQuery); public static Query Match(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.MatchQuery matchQuery) => new Query("match", matchQuery); public static Query MatchAll(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.MatchAllQuery matchAllQuery) => new Query("match_all", matchAllQuery); public static Query MatchBoolPrefix(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.MatchBoolPrefixQuery matchBoolPrefixQuery) => new Query("match_bool_prefix", matchBoolPrefixQuery); @@ -234,6 +235,13 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe return new Query(propertyName, variant); } + if (propertyName == "knn") + { + var variant = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + return new Query(propertyName, variant); + } + if (propertyName == "match") { var variant = JsonSerializer.Deserialize(ref reader, options); @@ -551,6 +559,9 @@ public override void Write(Utf8JsonWriter writer, Query value, JsonSerializerOpt case "intervals": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.QueryDsl.IntervalsQuery)value.Variant, options); break; + case "knn": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.KnnQuery)value.Variant, options); + break; case "match": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.QueryDsl.MatchQuery)value.Variant, options); break; @@ -729,6 +740,8 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Ids(Action configure) => Set(configure, "ids"); public QueryDescriptor Intervals(IntervalsQuery intervalsQuery) => Set(intervalsQuery, "intervals"); public QueryDescriptor Intervals(Action> configure) => Set(configure, "intervals"); + public QueryDescriptor Knn(KnnQuery knnQuery) => Set(knnQuery, "knn"); + public QueryDescriptor Knn(Action> configure) => Set(configure, "knn"); public QueryDescriptor Match(MatchQuery matchQuery) => Set(matchQuery, "match"); public QueryDescriptor Match(Action> configure) => Set(configure, "match"); public QueryDescriptor MatchAll(MatchAllQuery matchAllQuery) => Set(matchAllQuery, "match_all"); @@ -907,6 +920,9 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Intervals(IntervalsQuery intervalsQuery) => Set(intervalsQuery, "intervals"); public QueryDescriptor Intervals(Action configure) => Set(configure, "intervals"); public QueryDescriptor Intervals(Action> configure) => Set(configure, "intervals"); + public QueryDescriptor Knn(KnnQuery knnQuery) => Set(knnQuery, "knn"); + public QueryDescriptor Knn(Action configure) => Set(configure, "knn"); + public QueryDescriptor Knn(Action> configure) => Set(configure, "knn"); public QueryDescriptor Match(MatchQuery matchQuery) => Set(matchQuery, "match"); public QueryDescriptor Match(Action configure) => Set(configure, "match"); public QueryDescriptor Match(Action> configure) => Set(configure, "match"); diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryRequest.cs b/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryRequest.cs new file mode 100644 index 0000000000..61cb5d61ac --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryRequest.cs @@ -0,0 +1,70 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. + +#if ELASTICSEARCH_STACK + +using System.IO; +using System.Runtime.CompilerServices; +using System.Threading; +using System.Threading.Tasks; + +using Elastic.Transport; + +namespace Elastic.Clients.Elasticsearch.Esql; + +internal sealed class EsqlResponseBuilder : CustomResponseBuilder +{ + public override object DeserializeResponse(Serializer serializer, ApiCallDetails response, Stream stream) + { + var bytes = stream switch + { + MemoryStream ms => ms.ToArray(), + _ => BytesFromStream(stream) + }; + + return new EsqlQueryResponse { Data = bytes }; + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + static byte[] BytesFromStream(Stream stream) + { + using var binaryReader = new BinaryReader(stream); + + return binaryReader.ReadBytes((int)stream.Length); + } + } + + public override async Task DeserializeResponseAsync(Serializer serializer, ApiCallDetails response, Stream stream, + CancellationToken ctx = new CancellationToken()) + { + var bytes = stream switch + { + MemoryStream ms => ms.ToArray(), + _ => await BytesFromStreamAsync(stream, ctx).ConfigureAwait(false) + }; + + return new EsqlQueryResponse { Data = bytes }; + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + static async Task BytesFromStreamAsync(Stream stream, CancellationToken cancellationToken) + { + using var ms = new MemoryStream(); +#if NETSTANDARD2_1_OR_GREATER || NET6_0_OR_GREATER + await stream.CopyToAsync(ms, cancellationToken).ConfigureAwait(false); +#else + await stream.CopyToAsync(ms).ConfigureAwait(false); +#endif + + return ms.ToArray(); + } + } +} + +public sealed partial class EsqlQueryRequestParameters +{ + private static readonly EsqlResponseBuilder ResponseBuilder = new(); + + public EsqlQueryRequestParameters() => CustomResponseBuilder = ResponseBuilder; +} + +#endif diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryResponse.cs b/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryResponse.cs new file mode 100644 index 0000000000..60266c506c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryResponse.cs @@ -0,0 +1,14 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. + +#if ELASTICSEARCH_STACK + +namespace Elastic.Clients.Elasticsearch.Esql; + +public sealed partial class EsqlQueryResponse +{ + public byte[] Data { get; init; } +} + +#endif diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index 323d648111..aee9861862 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch; -public sealed class AsyncSearchStatusRequestParameters : RequestParameters +public sealed partial class AsyncSearchStatusRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index dd9ecffb74..5ad879d908 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch; -public sealed class DeleteAsyncSearchRequestParameters : RequestParameters +public sealed partial class DeleteAsyncSearchRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index 52e0612ed4..fffe37bf22 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch; -public sealed class GetAsyncSearchRequestParameters : RequestParameters +public sealed partial class GetAsyncSearchRequestParameters : RequestParameters { /// /// Specifies how long the async search should be available in the cluster.
When not specified, the `keep_alive` set with the corresponding submit async request will be used.
Otherwise, it is possible to override the value and extend the validity of the request.
When this period expires, the search, if still running, is cancelled.
If the search is completed, its saved results are deleted.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index 00816ab817..a840cf29d4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch; -public sealed class SubmitAsyncSearchRequestParameters : RequestParameters +public sealed partial class SubmitAsyncSearchRequestParameters : RequestParameters { /// /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs index b5884533a6..f1dce9a15d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class BulkRequestParameters : RequestParameters +public sealed partial class BulkRequestParameters : RequestParameters { /// /// ID of the pipeline to use to preprocess incoming documents.
If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.
If a final pipeline is configured it will always run, regardless of the value of this parameter.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs index a16e7da0f7..70e13422a0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ClearScrollRequestParameters : RequestParameters +public sealed partial class ClearScrollRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs index 39f62ef745..254120c9e3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ClosePointInTimeRequestParameters : RequestParameters +public sealed partial class ClosePointInTimeRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs index 98277431ff..c888ddee9b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Cluster; -public sealed class AllocationExplainRequestParameters : RequestParameters +public sealed partial class AllocationExplainRequestParameters : RequestParameters { /// /// If true, returns information about disk usage and shard sizes. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index 917896a804..8d82b1b190 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Cluster; -public sealed class ClusterStatsRequestParameters : RequestParameters +public sealed partial class ClusterStatsRequestParameters : RequestParameters { /// /// If `true`, returns settings in flat format. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs index 253c247203..05d49039e8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Cluster; -public sealed class GetClusterSettingsRequestParameters : RequestParameters +public sealed partial class GetClusterSettingsRequestParameters : RequestParameters { /// /// If `true`, returns settings in flat format. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs index b1e9339626..16c17caa72 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Cluster; -public sealed class HealthRequestParameters : RequestParameters +public sealed partial class HealthRequestParameters : RequestParameters { /// /// Whether to expand wildcard expression to concrete indices that are open, closed or both. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs index c35a18b39d..22701ebb88 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Cluster; -public sealed class PendingTasksRequestParameters : RequestParameters +public sealed partial class PendingTasksRequestParameters : RequestParameters { /// /// If `true`, the request retrieves information from the local node only.
If `false`, information is retrieved from the master node.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs index 46eb5eaadf..a5ea385390 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class CountRequestParameters : RequestParameters +public sealed partial class CountRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs index 506b4fda85..959fc5d92d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class CreateRequestParameters : RequestParameters +public sealed partial class CreateRequestParameters : RequestParameters { /// /// ID of the pipeline to use to preprocess incoming documents.
If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.
If a final pipeline is configured it will always run, regardless of the value of this parameter.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs index 49d2685835..5f7ef4a658 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.DanglingIndices; -public sealed class ListDanglingIndicesRequestParameters : RequestParameters +public sealed partial class ListDanglingIndicesRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs index c5b6e7825d..5613d59157 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class DeleteByQueryRequestParameters : RequestParameters +public sealed partial class DeleteByQueryRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index 71cd430b8b..e63636b197 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class DeleteByQueryRethrottleRequestParameters : RequestParameters +public sealed partial class DeleteByQueryRethrottleRequestParameters : RequestParameters { /// /// The throttle for this request in sub-requests per second. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs index 5c732dbe51..d732053bd7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class DeleteRequestParameters : RequestParameters +public sealed partial class DeleteRequestParameters : RequestParameters { /// /// Only perform the operation if the document has this primary term. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs index 1bc36e9d91..6b64efcf4a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class DeleteScriptRequestParameters : RequestParameters +public sealed partial class DeleteScriptRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs index 3acf9d5a6a..1562259e60 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Enrich; -public sealed class DeletePolicyRequestParameters : RequestParameters +public sealed partial class DeletePolicyRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs index f2f3b3d7e1..7734e995d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Enrich; -public sealed class EnrichStatsRequestParameters : RequestParameters +public sealed partial class EnrichStatsRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs index a6bc46912f..48eebf1316 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Enrich; -public sealed class ExecutePolicyRequestParameters : RequestParameters +public sealed partial class ExecutePolicyRequestParameters : RequestParameters { /// /// If `true`, the request blocks other enrich policy execution requests until complete. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs index e8420825e9..8e6eba13b3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Enrich; -public sealed class GetPolicyRequestParameters : RequestParameters +public sealed partial class GetPolicyRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs index 238b808bbf..814ea4238c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Enrich; -public sealed class PutPolicyRequestParameters : RequestParameters +public sealed partial class PutPolicyRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs index 4e080ccf54..8c4f2969e4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Eql; -public sealed class EqlDeleteRequestParameters : RequestParameters +public sealed partial class EqlDeleteRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs index cef83e22a0..6fcf4b226e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Eql; -public sealed class EqlGetRequestParameters : RequestParameters +public sealed partial class EqlGetRequestParameters : RequestParameters { /// /// Period for which the search and its results are stored on the cluster.
Defaults to the keep_alive value set by the search’s EQL search API request.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs index bd6cf17078..cfe3c7d6cd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Eql; -public sealed class EqlSearchRequestParameters : RequestParameters +public sealed partial class EqlSearchRequestParameters : RequestParameters { public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); } public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs index fa307baf8e..05c4ca0a0b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Eql; -public sealed class GetEqlStatusRequestParameters : RequestParameters +public sealed partial class GetEqlStatusRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs index e74d5174cd..68ab70bc56 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Esql; -public sealed class EsqlQueryRequestParameters : RequestParameters +public sealed partial class EsqlQueryRequestParameters : RequestParameters { /// /// The character to use between values within a CSV row. Only valid for the CSV format. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs index 89aaa67fd7..8ca9c0a980 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ExistsRequestParameters : RequestParameters +public sealed partial class ExistsRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on.
Random by default.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs index 37bb413ed1..9135664f0f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ExistsSourceRequestParameters : RequestParameters +public sealed partial class ExistsSourceRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on.
Random by default.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs index 656fef989a..c26fff400c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ExplainRequestParameters : RequestParameters +public sealed partial class ExplainRequestParameters : RequestParameters { /// /// Analyzer to use for the query string.
This parameter can only be used when the `q` query string parameter is specified.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs index c24c2153e8..a0e4bcb1d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class FieldCapsRequestParameters : RequestParameters +public sealed partial class FieldCapsRequestParameters : RequestParameters { /// /// If false, the request returns an error if any wildcard expression, index alias,
or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request
targeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs index 206e833f5d..0117d030c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class GetRequestParameters : RequestParameters +public sealed partial class GetRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on. Random by default. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs index 10868b939e..4cce6d2c3b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class GetScriptContextRequestParameters : RequestParameters +public sealed partial class GetScriptContextRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs index 0af3e1a5d0..e235880c01 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class GetScriptLanguagesRequestParameters : RequestParameters +public sealed partial class GetScriptLanguagesRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs index db12603dab..d1068d4911 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class GetScriptRequestParameters : RequestParameters +public sealed partial class GetScriptRequestParameters : RequestParameters { /// /// Specify timeout for connection to master diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs index 4d30b6ee9b..f453543287 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class GetSourceRequestParameters : RequestParameters +public sealed partial class GetSourceRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on. Random by default. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs index a65bf803d0..631f13dd0c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Graph; -public sealed class ExploreRequestParameters : RequestParameters +public sealed partial class ExploreRequestParameters : RequestParameters { /// /// Custom value used to route operations to a specific shard. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs index 1472963dd8..0caf160cc8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class CloneIndexRequestParameters : RequestParameters +public sealed partial class CloneIndexRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs index 53f633e503..ac5fc2b73c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class CloseIndexRequestParameters : RequestParameters +public sealed partial class CloseIndexRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs index 69a9c9cc37..aa3d118a77 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class CreateDataStreamRequestParameters : RequestParameters +public sealed partial class CreateDataStreamRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index 7b2cc89f0f..cc91144fb7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class CreateIndexRequestParameters : RequestParameters +public sealed partial class CreateIndexRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs index 0b9b7b9b09..605d7ca9a6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class DeleteAliasRequestParameters : RequestParameters +public sealed partial class DeleteAliasRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs index bfa0f519a2..6671e6328e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class DeleteDataLifecycleRequestParameters : RequestParameters +public sealed partial class DeleteDataLifecycleRequestParameters : RequestParameters { /// /// Whether wildcard expressions should get expanded to open or closed indices (default: open) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs index 4cba84fa75..03884a7b27 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class DeleteDataStreamRequestParameters : RequestParameters +public sealed partial class DeleteDataStreamRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match. Supports comma-separated values,such as `open,hidden`. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs index 2f88ce7d5d..c86c976b3f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class DeleteIndexRequestParameters : RequestParameters +public sealed partial class DeleteIndexRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs index d9df5e0e50..3ffe4dae0f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class DeleteIndexTemplateRequestParameters : RequestParameters +public sealed partial class DeleteIndexTemplateRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs index b488173558..da800c37d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class DeleteTemplateRequestParameters : RequestParameters +public sealed partial class DeleteTemplateRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index c0e956812a..9d79658882 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class ExistsAliasRequestParameters : RequestParameters +public sealed partial class ExistsAliasRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs index 75104dd82b..06f2f44cd4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class ExistsIndexTemplateRequestParameters : RequestParameters +public sealed partial class ExistsIndexTemplateRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs index 9c0b5b5849..c9f1e12af4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class ExistsRequestParameters : RequestParameters +public sealed partial class ExistsRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs index da6dea5bef..4a631c7cf0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class ExistsTemplateRequestParameters : RequestParameters +public sealed partial class ExistsTemplateRequestParameters : RequestParameters { /// /// Return settings in flat format (default: false) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs index 740026a5dc..7ef406a100 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class ExplainDataLifecycleRequestParameters : RequestParameters +public sealed partial class ExplainDataLifecycleRequestParameters : RequestParameters { /// /// indicates if the API should return the default values the system uses for the index's lifecycle diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs index c6f7218231..c96c20bdb8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class FlushRequestParameters : RequestParameters +public sealed partial class FlushRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs index ff4fb4c2d6..e1af70b544 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class ForcemergeRequestParameters : RequestParameters +public sealed partial class ForcemergeRequestParameters : RequestParameters { /// /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index d857e53a46..d136b39b73 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetAliasRequestParameters : RequestParameters +public sealed partial class GetAliasRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs index 49083459b6..f3728afc51 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetDataLifecycleRequestParameters : RequestParameters +public sealed partial class GetDataLifecycleRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index e52115c600..294bc4ad04 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetDataStreamRequestParameters : RequestParameters +public sealed partial class GetDataStreamRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match.
Supports comma-separated values, such as `open,hidden`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs index bca246116e..812bb30d32 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetFieldMappingRequestParameters : RequestParameters +public sealed partial class GetFieldMappingRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs index a988fab322..c98745fe43 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetIndexRequestParameters : RequestParameters +public sealed partial class GetIndexRequestParameters : RequestParameters { /// /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only
missing or closed indices. This behavior applies even if the request targets other open indices. For example,
a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs index be9f70a808..c47881f28a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetIndexTemplateRequestParameters : RequestParameters +public sealed partial class GetIndexTemplateRequestParameters : RequestParameters { /// /// If true, returns settings in flat format. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs index 02c0a7cdd8..93c153af3f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetMappingRequestParameters : RequestParameters +public sealed partial class GetMappingRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs index beb2faf563..134ece5a0b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class GetTemplateRequestParameters : RequestParameters +public sealed partial class GetTemplateRequestParameters : RequestParameters { /// /// If `true`, returns settings in flat format. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs index 00020ae156..ef093af60f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class IndicesStatsRequestParameters : RequestParameters +public sealed partial class IndicesStatsRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs index 598eed9192..dd79636690 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class MigrateToDataStreamRequestParameters : RequestParameters +public sealed partial class MigrateToDataStreamRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs index 1933e267d1..561dc424b7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class OpenIndexRequestParameters : RequestParameters +public sealed partial class OpenIndexRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs index 5dff4f0cc3..3b004fb2a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class PutAliasRequestParameters : RequestParameters +public sealed partial class PutAliasRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index 0dbe0c398c..7f2f7efea5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class PutDataLifecycleRequestParameters : RequestParameters +public sealed partial class PutDataLifecycleRequestParameters : RequestParameters { /// /// Type of data stream that wildcard patterns can match.
Supports comma-separated values, such as `open,hidden`.
Valid values are: `all`, `hidden`, `open`, `closed`, `none`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs index 9340a04aab..e1070ed689 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class PutIndexTemplateRequestParameters : RequestParameters +public sealed partial class PutIndexTemplateRequestParameters : RequestParameters { /// /// If `true`, this request cannot replace or update existing index templates. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs index 838632b687..201481b71a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class PutMappingRequestParameters : RequestParameters +public sealed partial class PutMappingRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs index 330d9199ef..027e122239 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class PutTemplateRequestParameters : RequestParameters +public sealed partial class PutTemplateRequestParameters : RequestParameters { /// /// If true, this request cannot replace or update existing index templates. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs index e605e2a12c..20b10f712d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class RefreshRequestParameters : RequestParameters +public sealed partial class RefreshRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs index 11d81d0967..8c2f02e425 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class RolloverRequestParameters : RequestParameters +public sealed partial class RolloverRequestParameters : RequestParameters { /// /// If `true`, checks whether the current index satisfies the specified conditions but does not perform a rollover. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs index c6710c0ebc..fe401e7699 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class ShrinkIndexRequestParameters : RequestParameters +public sealed partial class ShrinkIndexRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs index b3b724e545..ae647c3f80 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class SimulateIndexTemplateRequestParameters : RequestParameters +public sealed partial class SimulateIndexTemplateRequestParameters : RequestParameters { /// /// If `true`, the template passed in the body is only used if no existing
templates match the same index patterns. If `false`, the simulation uses
the template with the highest priority. Note that the template is not
permanently added or updated in either case; it is only used for the
simulation.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs index 61d4b7a7a2..92c72c9a88 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class SimulateTemplateRequestParameters : RequestParameters +public sealed partial class SimulateTemplateRequestParameters : RequestParameters { /// /// If true, the template passed in the body is only used if no existing templates match the same index patterns. If false, the simulation uses the template with the highest priority. Note that the template is not permanently added or updated in either case; it is only used for the simulation. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs index ac971f1958..f292f1233a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class SplitIndexRequestParameters : RequestParameters +public sealed partial class SplitIndexRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs index 10015b8998..6f887a9bb2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; -public sealed class UpdateAliasesRequestParameters : RequestParameters +public sealed partial class UpdateAliasesRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs index 79aed03aa6..d55dd471c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class IndexRequestParameters : RequestParameters +public sealed partial class IndexRequestParameters : RequestParameters { /// /// Only perform the operation if the document has this primary term. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs index e8d702a45c..3bf4587e4b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class InfoRequestParameters : RequestParameters +public sealed partial class InfoRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs index 5a4a385bca..dc02007968 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Ingest; -public sealed class DeletePipelineRequestParameters : RequestParameters +public sealed partial class DeletePipelineRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs index 5deb001cff..6ab0906acc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Ingest; -public sealed class GeoIpStatsRequestParameters : RequestParameters +public sealed partial class GeoIpStatsRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs index 5cb0b6910b..c49c214adc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Ingest; -public sealed class GetPipelineRequestParameters : RequestParameters +public sealed partial class GetPipelineRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs index 00dfbf288a..3915afada9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Ingest; -public sealed class ProcessorGrokRequestParameters : RequestParameters +public sealed partial class ProcessorGrokRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs index 41036cc2d5..0b582088c3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Ingest; -public sealed class PutPipelineRequestParameters : RequestParameters +public sealed partial class PutPipelineRequestParameters : RequestParameters { /// /// Required version for optimistic concurrency control for pipeline updates diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs index 19d1ff1c5d..09b6d31db7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Ingest; -public sealed class SimulateRequestParameters : RequestParameters +public sealed partial class SimulateRequestParameters : RequestParameters { /// /// If `true`, the response includes output data for each processor in the executed pipeline. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs index a473a22bd7..dac954b98e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class MultiGetRequestParameters : RequestParameters +public sealed partial class MultiGetRequestParameters : RequestParameters { /// /// Specifies the node or shard the operation should be performed on. Random by default. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs index 834d9dd735..617ee9ac0a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class MultiSearchRequestParameters : RequestParameters +public sealed partial class MultiSearchRequestParameters : RequestParameters { /// /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs index 99f873c4ec..354f0d980e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class MultiSearchTemplateRequestParameters : RequestParameters +public sealed partial class MultiSearchTemplateRequestParameters : RequestParameters { /// /// If `true`, network round-trips are minimized for cross-cluster search requests. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs index ee81337706..cf46f4ff5c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class MultiTermVectorsRequestParameters : RequestParameters +public sealed partial class MultiTermVectorsRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expressions of fields to include in the statistics.
Used as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs index e2c0b35014..e89b21a6e3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class OpenPointInTimeRequestParameters : RequestParameters +public sealed partial class OpenPointInTimeRequestParameters : RequestParameters { /// /// Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`. Valid values are: `all`, `open`, `closed`, `hidden`, `none`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs index 2a2a742009..c871c9bd13 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class PingRequestParameters : RequestParameters +public sealed partial class PingRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs index 39bb66532c..035539caa2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class PutScriptRequestParameters : RequestParameters +public sealed partial class PutScriptRequestParameters : RequestParameters { /// /// Period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs index 4643d73371..b11bad17b8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class RankEvalRequestParameters : RequestParameters +public sealed partial class RankEvalRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices. This behavior applies even if the request targets other open indices. For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs index b01f5213dd..c5728b0e57 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ReindexRequestParameters : RequestParameters +public sealed partial class ReindexRequestParameters : RequestParameters { /// /// If `true`, the request refreshes affected shards to make this operation visible to search. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs index 723e1cbe4b..f797cee2bc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ReindexRethrottleRequestParameters : RequestParameters +public sealed partial class ReindexRethrottleRequestParameters : RequestParameters { /// /// The throttle for this request in sub-requests per second. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs index 47d163e750..46ef112bd6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class RenderSearchTemplateRequestParameters : RequestParameters +public sealed partial class RenderSearchTemplateRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs index 8c413844fe..1d3b63463e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class ScrollRequestParameters : RequestParameters +public sealed partial class ScrollRequestParameters : RequestParameters { /// /// If true, the API response’s hit.total property is returned as an integer. If false, the API response’s hit.total property is returned as an object. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs index 0dfe12697e..39e0318846 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class SearchRequestParameters : RequestParameters +public sealed partial class SearchRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs index 8dba13f6f1..67babc69f2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class SearchShardsRequestParameters : RequestParameters +public sealed partial class SearchShardsRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs index 303e56f6dd..3faf3eea4d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class SearchTemplateRequestParameters : RequestParameters +public sealed partial class SearchTemplateRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs index baf32df2d0..187a4b736f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Sql; -public sealed class ClearCursorRequestParameters : RequestParameters +public sealed partial class ClearCursorRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs index 770d312b80..304f3dad4a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Sql; -public sealed class DeleteAsyncRequestParameters : RequestParameters +public sealed partial class DeleteAsyncRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs index e8478b10a8..6c2e137c15 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Sql; -public sealed class GetAsyncRequestParameters : RequestParameters +public sealed partial class GetAsyncRequestParameters : RequestParameters { /// /// Separator for CSV results. The API only supports this parameter for CSV responses. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs index 29cade986d..6c438d4d86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Sql; -public sealed class GetAsyncStatusRequestParameters : RequestParameters +public sealed partial class GetAsyncStatusRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs index a99fb23b7c..bcf9c6961b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Sql; -public sealed class QueryRequestParameters : RequestParameters +public sealed partial class QueryRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs index 0a81be6fba..f50d0bbc7c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Tasks; -public sealed class CancelRequestParameters : RequestParameters +public sealed partial class CancelRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expression of actions used to limit the request. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs index 6314c9347a..d2bf322d7b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Tasks; -public sealed class GetTasksRequestParameters : RequestParameters +public sealed partial class GetTasksRequestParameters : RequestParameters { /// /// Period to wait for a response.
If no response is received before the timeout expires, the request fails and returns an error.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs index fd8da9bf47..1807b9e9e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Tasks; -public sealed class ListRequestParameters : RequestParameters +public sealed partial class ListRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expression of actions used to limit the request. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs index 5a010d230a..a1d18ba06c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class TermVectorsRequestParameters : RequestParameters +public sealed partial class TermVectorsRequestParameters : RequestParameters { /// /// Comma-separated list or wildcard expressions of fields to include in the statistics.
Used as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs index 497da50b09..5c9d45e553 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class TermsEnumRequestParameters : RequestParameters +public sealed partial class TermsEnumRequestParameters : RequestParameters { } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs index ca3a396638..69e18c56b9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class UpdateByQueryRequestParameters : RequestParameters +public sealed partial class UpdateByQueryRequestParameters : RequestParameters { /// /// If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
This behavior applies even if the request targets other open indices.
For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index 74986d8f74..6d633b77ad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class UpdateByQueryRethrottleRequestParameters : RequestParameters +public sealed partial class UpdateByQueryRethrottleRequestParameters : RequestParameters { /// /// The throttle for this request in sub-requests per second. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs index 5c80d3bb54..1b0deeb769 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch; -public sealed class UpdateRequestParameters : RequestParameters +public sealed partial class UpdateRequestParameters : RequestParameters { /// /// Only perform the operation if the document has this primary term. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/IcuTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/IcuTokenizer.g.cs index 1170166030..73b85eb4b3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/IcuTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/IcuTokenizer.g.cs @@ -27,7 +27,7 @@ namespace Elastic.Clients.Elasticsearch.Analysis; -public sealed partial class IcuTokenizer : ITokenFilter, ITokenizer +public sealed partial class IcuTokenizer : ITokenizer { [JsonInclude, JsonPropertyName("rule_files")] public string RuleFiles { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/TokenFilters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/TokenFilters.g.cs index f9eea4ada8..3be22f1fb9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/TokenFilters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/TokenFilters.g.cs @@ -105,9 +105,6 @@ public TokenFiltersDescriptor(TokenFilters tokenFilters) : base(tokenFilters ?? public TokenFiltersDescriptor IcuNormalization(string tokenFilterName) => AssignVariant(tokenFilterName, null); public TokenFiltersDescriptor IcuNormalization(string tokenFilterName, Action configure) => AssignVariant(tokenFilterName, configure); public TokenFiltersDescriptor IcuNormalization(string tokenFilterName, IcuNormalizationTokenFilter icuNormalizationTokenFilter) => AssignVariant(tokenFilterName, icuNormalizationTokenFilter); - public TokenFiltersDescriptor IcuTokenizer(string tokenFilterName) => AssignVariant(tokenFilterName, null); - public TokenFiltersDescriptor IcuTokenizer(string tokenFilterName, Action configure) => AssignVariant(tokenFilterName, configure); - public TokenFiltersDescriptor IcuTokenizer(string tokenFilterName, IcuTokenizer icuTokenizer) => AssignVariant(tokenFilterName, icuTokenizer); public TokenFiltersDescriptor IcuTransform(string tokenFilterName) => AssignVariant(tokenFilterName, null); public TokenFiltersDescriptor IcuTransform(string tokenFilterName, Action configure) => AssignVariant(tokenFilterName, configure); public TokenFiltersDescriptor IcuTransform(string tokenFilterName, IcuTransformTokenFilter icuTransformTokenFilter) => AssignVariant(tokenFilterName, icuTransformTokenFilter); @@ -238,8 +235,6 @@ public override ITokenFilter Read(ref Utf8JsonReader reader, Type typeToConvert, return JsonSerializer.Deserialize(ref reader, options); case "icu_collation": return JsonSerializer.Deserialize(ref reader, options); - case "icu_tokenizer": - return JsonSerializer.Deserialize(ref reader, options); case "kuromoji_part_of_speech": return JsonSerializer.Deserialize(ref reader, options); case "kuromoji_readingform": @@ -356,9 +351,6 @@ public override void Write(Utf8JsonWriter writer, ITokenFilter value, JsonSerial case "icu_collation": JsonSerializer.Serialize(writer, value, typeof(IcuCollationTokenFilter), options); return; - case "icu_tokenizer": - JsonSerializer.Serialize(writer, value, typeof(IcuTokenizer), options); - return; case "kuromoji_part_of_speech": JsonSerializer.Serialize(writer, value, typeof(KuromojiPartOfSpeechTokenFilter), options); return; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs index db5e43fc27..7952eb5da6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs @@ -33,7 +33,7 @@ public sealed partial class Pipeline /// Arbitrary metadata about the ingest pipeline. This map is not automatically generated by Elasticsearch. /// [JsonInclude, JsonPropertyName("_meta")] - public IDictionary Meta { get; set; } + public IDictionary? Meta { get; set; } /// /// Description of the ingest pipeline. @@ -69,7 +69,7 @@ public PipelineDescriptor() : base() } private string? DescriptionValue { get; set; } - private IDictionary MetaValue { get; set; } + private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } private ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } @@ -194,8 +194,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } - writer.WritePropertyName("_meta"); - JsonSerializer.Serialize(writer, MetaValue, options); + if (MetaValue is not null) + { + writer.WritePropertyName("_meta"); + JsonSerializer.Serialize(writer, MetaValue, options); + } + if (OnFailureDescriptor is not null) { writer.WritePropertyName("on_failure"); @@ -277,7 +281,7 @@ public PipelineDescriptor() : base() } private string? DescriptionValue { get; set; } - private IDictionary MetaValue { get; set; } + private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } private ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } @@ -402,8 +406,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } - writer.WritePropertyName("_meta"); - JsonSerializer.Serialize(writer, MetaValue, options); + if (MetaValue is not null) + { + writer.WritePropertyName("_meta"); + JsonSerializer.Serialize(writer, MetaValue, options); + } + if (OnFailureDescriptor is not null) { writer.WritePropertyName("on_failure"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs index 7f5be5e82c..67aef6d5de 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs @@ -129,9 +129,9 @@ public RerouteProcessorDescriptor IgnoreFailure(bool? ignoreFailure = /// Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).
When resolving field references, the processor replaces invalid characters with _. Uses the part
of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
/// default {{data_stream.namespace}} ///
- public RerouteProcessorDescriptor Namespace(ICollection? @namespace) + public RerouteProcessorDescriptor Namespace(ICollection? value) { - NamespaceValue = @namespace; + NamespaceValue = value; return Self; } @@ -320,9 +320,9 @@ public RerouteProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) /// Supports field references with a mustache-like syntax (denoted as {{double}} or {{{triple}}} curly braces).
When resolving field references, the processor replaces invalid characters with _. Uses the part
of the index name as a fallback if all field references resolve to a null, missing, or non-string value.
/// default {{data_stream.namespace}} ///
- public RerouteProcessorDescriptor Namespace(ICollection? @namespace) + public RerouteProcessorDescriptor Namespace(ICollection? value) { - NamespaceValue = @namespace; + NamespaceValue = value; return Self; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnQuery.g.cs index 77ba16ebbf..5b5933ad0f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnQuery.g.cs @@ -24,10 +24,11 @@ using System.Linq.Expressions; using System.Text.Json; using System.Text.Json.Serialization; +using Elastic.Clients.Elasticsearch.QueryDsl; namespace Elastic.Clients.Elasticsearch; -public sealed partial class KnnQuery +public sealed partial class KnnQuery : SearchQuery { /// /// Boost value to apply to kNN scores @@ -77,6 +78,10 @@ public sealed partial class KnnQuery /// [JsonInclude, JsonPropertyName("similarity")] public float? Similarity { get; set; } + + public static implicit operator Query(KnnQuery knnQuery) => QueryDsl.Query.Knn(knnQuery); + + internal override void InternalWrapInContainer(Query container) => container.WrapVariant("knn", this); } public sealed partial class KnnQueryDescriptor : SerializableDescriptor> @@ -540,4 +545,4 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteEndObject(); } -} \ No newline at end of file +} diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ObjectProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ObjectProperty.g.cs index 69716faed1..de7a5cbde2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ObjectProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ObjectProperty.g.cs @@ -47,6 +47,8 @@ public sealed partial class ObjectProperty : IProperty public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } + [JsonInclude, JsonPropertyName("subobjects")] + public bool? Subobjects { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "object"; @@ -69,6 +71,7 @@ public ObjectPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } + private bool? SubobjectsValue { get; set; } public ObjectPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) { @@ -152,6 +155,12 @@ public ObjectPropertyDescriptor Store(bool? store = true) return Self; } + public ObjectPropertyDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -209,6 +218,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(StoreValue.Value); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WritePropertyName("type"); writer.WriteStringValue("object"); writer.WriteEndObject(); @@ -224,7 +239,8 @@ ObjectProperty IBuildableDescriptor.Build() => new() Meta = MetaValue, Properties = PropertiesValue, Similarity = SimilarityValue, - Store = StoreValue + Store = StoreValue, + Subobjects = SubobjectsValue }; } @@ -245,6 +261,7 @@ public ObjectPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } + private bool? SubobjectsValue { get; set; } public ObjectPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) { @@ -328,6 +345,12 @@ public ObjectPropertyDescriptor Store(bool? store = true) return Self; } + public ObjectPropertyDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -385,6 +408,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(StoreValue.Value); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WritePropertyName("type"); writer.WriteStringValue("object"); writer.WriteEndObject(); @@ -400,6 +429,7 @@ ObjectProperty IBuildableDescriptor.Build() => new() Meta = MetaValue, Properties = PropertiesValue, Similarity = SimilarityValue, - Store = StoreValue + Store = StoreValue, + Subobjects = SubobjectsValue }; } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/TypeMapping.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/TypeMapping.g.cs index 0774af6216..2230421e84 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/TypeMapping.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/TypeMapping.g.cs @@ -61,6 +61,8 @@ public sealed partial class TypeMapping public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } [JsonInclude, JsonPropertyName("runtime")] public IDictionary? Runtime { get; set; } + [JsonInclude, JsonPropertyName("subobjects")] + public bool? Subobjects { get; set; } } public sealed partial class TypeMappingDescriptor : SerializableDescriptor> @@ -101,6 +103,7 @@ public TypeMappingDescriptor() : base() private Elastic.Clients.Elasticsearch.Mapping.SourceField? SourceValue { get; set; } private SourceFieldDescriptor SourceDescriptor { get; set; } private Action SourceDescriptorAction { get; set; } + private bool? SubobjectsValue { get; set; } public TypeMappingDescriptor AllField(Elastic.Clients.Elasticsearch.Mapping.AllField? allField) { @@ -338,6 +341,12 @@ public TypeMappingDescriptor Source(Action con return Self; } + public TypeMappingDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -507,6 +516,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, SourceValue, options); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WriteEndObject(); } } @@ -549,6 +564,7 @@ public TypeMappingDescriptor() : base() private Elastic.Clients.Elasticsearch.Mapping.SourceField? SourceValue { get; set; } private SourceFieldDescriptor SourceDescriptor { get; set; } private Action SourceDescriptorAction { get; set; } + private bool? SubobjectsValue { get; set; } public TypeMappingDescriptor AllField(Elastic.Clients.Elasticsearch.Mapping.AllField? allField) { @@ -786,6 +802,12 @@ public TypeMappingDescriptor Source(Action configure) return Self; } + public TypeMappingDescriptor Subobjects(bool? subobjects = true) + { + SubobjectsValue = subobjects; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -955,6 +977,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, SourceValue, options); } + if (SubobjectsValue.HasValue) + { + writer.WritePropertyName("subobjects"); + writer.WriteBooleanValue(SubobjectsValue.Value); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs index b459e87744..7f7302728e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs @@ -67,6 +67,7 @@ internal void WrapVariant(string variantName, SearchQuery variant) public static Query HasParent(Elastic.Clients.Elasticsearch.QueryDsl.HasParentQuery hasParentQuery) => new Query("has_parent", hasParentQuery); public static Query Ids(Elastic.Clients.Elasticsearch.QueryDsl.IdsQuery idsQuery) => new Query("ids", idsQuery); public static Query Intervals(Elastic.Clients.Elasticsearch.QueryDsl.IntervalsQuery intervalsQuery) => new Query("intervals", intervalsQuery); + public static Query Knn(Elastic.Clients.Elasticsearch.KnnQuery knnQuery) => new Query("knn", knnQuery); public static Query Match(Elastic.Clients.Elasticsearch.QueryDsl.MatchQuery matchQuery) => new Query("match", matchQuery); public static Query MatchAll(Elastic.Clients.Elasticsearch.QueryDsl.MatchAllQuery matchAllQuery) => new Query("match_all", matchAllQuery); public static Query MatchBoolPrefix(Elastic.Clients.Elasticsearch.QueryDsl.MatchBoolPrefixQuery matchBoolPrefixQuery) => new Query("match_bool_prefix", matchBoolPrefixQuery); @@ -234,6 +235,13 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe return new Query(propertyName, variant); } + if (propertyName == "knn") + { + var variant = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + return new Query(propertyName, variant); + } + if (propertyName == "match") { var variant = JsonSerializer.Deserialize(ref reader, options); @@ -551,6 +559,9 @@ public override void Write(Utf8JsonWriter writer, Query value, JsonSerializerOpt case "intervals": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.IntervalsQuery)value.Variant, options); break; + case "knn": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.KnnQuery)value.Variant, options); + break; case "match": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.MatchQuery)value.Variant, options); break; @@ -729,6 +740,8 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Ids(Action configure) => Set(configure, "ids"); public QueryDescriptor Intervals(IntervalsQuery intervalsQuery) => Set(intervalsQuery, "intervals"); public QueryDescriptor Intervals(Action> configure) => Set(configure, "intervals"); + public QueryDescriptor Knn(KnnQuery knnQuery) => Set(knnQuery, "knn"); + public QueryDescriptor Knn(Action> configure) => Set(configure, "knn"); public QueryDescriptor Match(MatchQuery matchQuery) => Set(matchQuery, "match"); public QueryDescriptor Match(Action> configure) => Set(configure, "match"); public QueryDescriptor MatchAll(MatchAllQuery matchAllQuery) => Set(matchAllQuery, "match_all"); @@ -907,6 +920,9 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Intervals(IntervalsQuery intervalsQuery) => Set(intervalsQuery, "intervals"); public QueryDescriptor Intervals(Action configure) => Set(configure, "intervals"); public QueryDescriptor Intervals(Action> configure) => Set(configure, "intervals"); + public QueryDescriptor Knn(KnnQuery knnQuery) => Set(knnQuery, "knn"); + public QueryDescriptor Knn(Action configure) => Set(configure, "knn"); + public QueryDescriptor Knn(Action> configure) => Set(configure, "knn"); public QueryDescriptor Match(MatchQuery matchQuery) => Set(matchQuery, "match"); public QueryDescriptor Match(Action configure) => Set(configure, "match"); public QueryDescriptor Match(Action> configure) => Set(configure, "match");