diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/Aggregation.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/Aggregation.g.cs index 6838dd9750b..236347389e2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/Aggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/Aggregation.g.cs @@ -686,7 +686,6 @@ public override Aggregation Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Aggregation' from the response."); } - reader.Read(); var result = new Aggregation(variantNameValue, variantValue); result.Aggregations = aggregationsValue; result.Meta = metaValue; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/InferenceConfig.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/InferenceConfig.g.cs index 58afe7f77b5..e0656593355 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/InferenceConfig.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/InferenceConfig.g.cs @@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response."); } - reader.Read(); var result = new InferenceConfig(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/FieldSuggester.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/FieldSuggester.g.cs index 20ac876317f..bc4be24578a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/FieldSuggester.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/FieldSuggester.g.cs @@ -151,7 +151,6 @@ public override FieldSuggester Read(ref Utf8JsonReader reader, Type typeToConver throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FieldSuggester' from the response."); } - reader.Read(); var result = new FieldSuggester(variantNameValue, variantValue); result.Prefix = prefixValue; result.Regex = regexValue; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SmoothingModel.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SmoothingModel.g.cs index b1babb4cde6..f41ccfe7207 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SmoothingModel.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SmoothingModel.g.cs @@ -112,7 +112,6 @@ public override SmoothingModel Read(ref Utf8JsonReader reader, Type typeToConver throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SmoothingModel' from the response."); } - reader.Read(); var result = new SmoothingModel(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs index 2332aca8977..1ae8a45a42f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs @@ -104,7 +104,6 @@ public override IndexModifyDataStreamAction Read(ref Utf8JsonReader reader, Type throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexModifyDataStreamAction' from the response."); } - reader.Read(); var result = new IndexModifyDataStreamAction(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs index e2f6103a2b6..009836d7915 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs @@ -112,7 +112,6 @@ public override IndexUpdateAliasesAction Read(ref Utf8JsonReader reader, Type ty throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexUpdateAliasesAction' from the response."); } - reader.Read(); var result = new IndexUpdateAliasesAction(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/InferenceConfig.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/InferenceConfig.g.cs index 92271505e34..7d79f093d47 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/InferenceConfig.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/InferenceConfig.g.cs @@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response."); } - reader.Read(); var result = new InferenceConfig(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs index 4592808ad0a..a59672225c4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs @@ -368,7 +368,6 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Processor' from the response."); } - reader.Read(); var result = new Processor(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs index 70d44634676..e6b6480fc24 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs @@ -112,7 +112,6 @@ public override DataframeAnalysis Read(ref Utf8JsonReader reader, Type typeToCon throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysis' from the response."); } - reader.Read(); var result = new DataframeAnalysis(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs index 759bcca648b..f9be4f3ac82 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs @@ -128,7 +128,6 @@ public override DataframeAnalysisFeatureProcessor Read(ref Utf8JsonReader reader throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysisFeatureProcessor' from the response."); } - reader.Read(); var result = new DataframeAnalysisFeatureProcessor(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs index ce94cd0565c..1d558249276 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs @@ -112,7 +112,6 @@ public override DataframeEvaluation Read(ref Utf8JsonReader reader, Type typeToC throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeEvaluation' from the response."); } - reader.Read(); var result = new DataframeEvaluation(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs index 4a98c67773c..d8ec1bfe87a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs @@ -171,7 +171,6 @@ public override InferenceConfigCreate Read(ref Utf8JsonReader reader, Type typeT throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigCreate' from the response."); } - reader.Read(); var result = new InferenceConfigCreate(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs index ebd2fa5fc5c..84a33ce0b83 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs @@ -168,7 +168,6 @@ public override InferenceConfigUpdate Read(ref Utf8JsonReader reader, Type typeT throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigUpdate' from the response."); } - reader.Read(); var result = new InferenceConfigUpdate(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/Preprocessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/Preprocessor.g.cs index 52d0bda3781..ffce803e061 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/Preprocessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/Preprocessor.g.cs @@ -112,7 +112,6 @@ public override Preprocessor Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Preprocessor' from the response."); } - reader.Read(); var result = new Preprocessor(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TokenizationConfig.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TokenizationConfig.g.cs index 84df5abc413..b0841e30ea1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TokenizationConfig.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TokenizationConfig.g.cs @@ -115,7 +115,6 @@ public override TokenizationConfig Read(ref Utf8JsonReader reader, Type typeToCo throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'TokenizationConfig' from the response."); } - reader.Read(); var result = new TokenizationConfig(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/FunctionScore.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/FunctionScore.g.cs index 0bb1a870e90..111761c4e56 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/FunctionScore.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/FunctionScore.g.cs @@ -131,7 +131,6 @@ public override FunctionScore Read(ref Utf8JsonReader reader, Type typeToConvert throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FunctionScore' from the response."); } - reader.Read(); var result = new FunctionScore(variantNameValue, variantValue); result.Filter = filterValue; result.Weight = weightValue; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Intervals.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Intervals.g.cs index 8f56bc03d9a..2fba17d43c9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Intervals.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Intervals.g.cs @@ -136,7 +136,6 @@ public override Intervals Read(ref Utf8JsonReader reader, Type typeToConvert, Js throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Intervals' from the response."); } - reader.Read(); var result = new Intervals(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsFilter.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsFilter.g.cs index c60292064fe..832e6d0083d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsFilter.g.cs @@ -160,7 +160,6 @@ public override IntervalsFilter Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsFilter' from the response."); } - reader.Read(); var result = new IntervalsFilter(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsQuery.g.cs index 47a9abda774..50905180755 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsQuery.g.cs @@ -158,7 +158,6 @@ public override IntervalsQuery Read(ref Utf8JsonReader reader, Type typeToConver throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsQuery' from the response."); } - reader.Read(); var result = new IntervalsQuery(variantNameValue, variantValue); result.Boost = boostValue; result.QueryName = queryNameValue; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/PinnedQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/PinnedQuery.g.cs index d581aed53aa..210da9ee3b5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/PinnedQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/PinnedQuery.g.cs @@ -139,7 +139,6 @@ public override PinnedQuery Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'PinnedQuery' from the response."); } - reader.Read(); var result = new PinnedQuery(variantNameValue, variantValue); result.Boost = boostValue; result.Organic = organicValue; 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 925971e5308..1ec17cd4d3a 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 @@ -523,7 +523,6 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Query' from the response."); } - reader.Read(); var result = new Query(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/SpanQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/SpanQuery.g.cs index 2eb5c91f5de..bb10051e17a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/SpanQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/SpanQuery.g.cs @@ -168,7 +168,6 @@ public override SpanQuery Read(ref Utf8JsonReader reader, Type typeToConvert, Js throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SpanQuery' from the response."); } - reader.Read(); var result = new SpanQuery(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryVectorBuilder.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryVectorBuilder.g.cs index eb8988343b4..52036aa17c6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryVectorBuilder.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryVectorBuilder.g.cs @@ -96,7 +96,6 @@ public override QueryVectorBuilder Read(ref Utf8JsonReader reader, Type typeToCo throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'QueryVectorBuilder' from the response."); } - reader.Read(); var result = new QueryVectorBuilder(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs index efee9c84574..1fa0ea7e982 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs @@ -96,7 +96,6 @@ public override Rank Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Rank' from the response."); } - reader.Read(); var result = new Rank(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/PivotGroupBy.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/PivotGroupBy.g.cs index c4157712674..18ae3954bf8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/PivotGroupBy.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/PivotGroupBy.g.cs @@ -120,7 +120,6 @@ public override PivotGroupBy Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'PivotGroupBy' from the response."); } - reader.Read(); var result = new PivotGroupBy(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/RetentionPolicy.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/RetentionPolicy.g.cs index 6d7d53acbda..9839e946239 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/RetentionPolicy.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/RetentionPolicy.g.cs @@ -96,7 +96,6 @@ public override RetentionPolicy Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'RetentionPolicy' from the response."); } - reader.Read(); var result = new RetentionPolicy(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/Sync.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/Sync.g.cs index bb5abd2b0b0..c55ee411781 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/Sync.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/Sync.g.cs @@ -96,7 +96,6 @@ public override Sync Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Sync' from the response."); } - reader.Read(); var result = new Sync(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs index dad977c029d..67154d8caa9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs @@ -710,7 +710,6 @@ public override Aggregation Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Aggregation' from the response."); } - reader.Read(); var result = new Aggregation(variantNameValue, variantValue); result.Aggregations = aggregationsValue; result.Meta = metaValue; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceConfig.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceConfig.g.cs index 65cdffb2ff4..431c4cac795 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceConfig.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceConfig.g.cs @@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response."); } - reader.Read(); var result = new InferenceConfig(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/FieldSuggester.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/FieldSuggester.g.cs index ab6c4a5f6c2..7fbc46ff7ba 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/FieldSuggester.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/FieldSuggester.g.cs @@ -151,7 +151,6 @@ public override FieldSuggester Read(ref Utf8JsonReader reader, Type typeToConver throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FieldSuggester' from the response."); } - reader.Read(); var result = new FieldSuggester(variantNameValue, variantValue); result.Prefix = prefixValue; result.Regex = regexValue; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SmoothingModel.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SmoothingModel.g.cs index 210c8a79115..9d3e6ebe178 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SmoothingModel.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SmoothingModel.g.cs @@ -112,7 +112,6 @@ public override SmoothingModel Read(ref Utf8JsonReader reader, Type typeToConver throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SmoothingModel' from the response."); } - reader.Read(); var result = new SmoothingModel(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs index 0ed71058805..e8b87c850cc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs @@ -104,7 +104,6 @@ public override IndexModifyDataStreamAction Read(ref Utf8JsonReader reader, Type throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexModifyDataStreamAction' from the response."); } - reader.Read(); var result = new IndexModifyDataStreamAction(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs index 578799e595b..df29e80b76f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs @@ -112,7 +112,6 @@ public override IndexUpdateAliasesAction Read(ref Utf8JsonReader reader, Type ty throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexUpdateAliasesAction' from the response."); } - reader.Read(); var result = new IndexUpdateAliasesAction(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceConfig.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceConfig.g.cs index 8f583aa4b12..ffa884fd3af 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceConfig.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceConfig.g.cs @@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response."); } - reader.Read(); var result = new InferenceConfig(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs index fa104f2357e..0f469a82653 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs @@ -368,7 +368,6 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Processor' from the response."); } - reader.Read(); var result = new Processor(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs index ebee058d2e2..f7a17f76691 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs @@ -112,7 +112,6 @@ public override DataframeAnalysis Read(ref Utf8JsonReader reader, Type typeToCon throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysis' from the response."); } - reader.Read(); var result = new DataframeAnalysis(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs index 1dcdd57f678..68a0de314d1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs @@ -128,7 +128,6 @@ public override DataframeAnalysisFeatureProcessor Read(ref Utf8JsonReader reader throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysisFeatureProcessor' from the response."); } - reader.Read(); var result = new DataframeAnalysisFeatureProcessor(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs index d1da52c363f..28d0462487e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs @@ -112,7 +112,6 @@ public override DataframeEvaluation Read(ref Utf8JsonReader reader, Type typeToC throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeEvaluation' from the response."); } - reader.Read(); var result = new DataframeEvaluation(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs index 3a744656dd1..6f5ec39feb7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs @@ -171,7 +171,6 @@ public override InferenceConfigCreate Read(ref Utf8JsonReader reader, Type typeT throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigCreate' from the response."); } - reader.Read(); var result = new InferenceConfigCreate(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs index 026e311ca20..fea26716443 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs @@ -168,7 +168,6 @@ public override InferenceConfigUpdate Read(ref Utf8JsonReader reader, Type typeT throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigUpdate' from the response."); } - reader.Read(); var result = new InferenceConfigUpdate(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/Preprocessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/Preprocessor.g.cs index ed90019f270..c20929f486d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/Preprocessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/Preprocessor.g.cs @@ -112,7 +112,6 @@ public override Preprocessor Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Preprocessor' from the response."); } - reader.Read(); var result = new Preprocessor(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TokenizationConfig.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TokenizationConfig.g.cs index c7e8a43699d..054fb10015d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TokenizationConfig.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TokenizationConfig.g.cs @@ -115,7 +115,6 @@ public override TokenizationConfig Read(ref Utf8JsonReader reader, Type typeToCo throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'TokenizationConfig' from the response."); } - reader.Read(); var result = new TokenizationConfig(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/FunctionScore.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/FunctionScore.g.cs index d0c08c16def..7af39077b63 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/FunctionScore.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/FunctionScore.g.cs @@ -131,7 +131,6 @@ public override FunctionScore Read(ref Utf8JsonReader reader, Type typeToConvert throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FunctionScore' from the response."); } - reader.Read(); var result = new FunctionScore(variantNameValue, variantValue); result.Filter = filterValue; result.Weight = weightValue; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Intervals.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Intervals.g.cs index d6da5645d0e..dc8261d52d0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Intervals.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Intervals.g.cs @@ -136,7 +136,6 @@ public override Intervals Read(ref Utf8JsonReader reader, Type typeToConvert, Js throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Intervals' from the response."); } - reader.Read(); var result = new Intervals(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsFilter.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsFilter.g.cs index 2f44d8af27b..ac75465cf98 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsFilter.g.cs @@ -160,7 +160,6 @@ public override IntervalsFilter Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsFilter' from the response."); } - reader.Read(); var result = new IntervalsFilter(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsQuery.g.cs index bb0a6334b5e..d7aa70b0fc5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsQuery.g.cs @@ -158,7 +158,6 @@ public override IntervalsQuery Read(ref Utf8JsonReader reader, Type typeToConver throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsQuery' from the response."); } - reader.Read(); var result = new IntervalsQuery(variantNameValue, variantValue); result.Boost = boostValue; result.QueryName = queryNameValue; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedQuery.g.cs index 7759f0d2092..95322e3031c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedQuery.g.cs @@ -139,7 +139,6 @@ public override PinnedQuery Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'PinnedQuery' from the response."); } - reader.Read(); var result = new PinnedQuery(variantNameValue, variantValue); result.Boost = boostValue; result.Organic = organicValue; 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 4879683b0ac..406640277db 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs @@ -523,7 +523,6 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Query' from the response."); } - reader.Read(); var result = new Query(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanQuery.g.cs index 00162dc6ceb..f48e07f6f7e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanQuery.g.cs @@ -168,7 +168,6 @@ public override SpanQuery Read(ref Utf8JsonReader reader, Type typeToConvert, Js throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SpanQuery' from the response."); } - reader.Read(); var result = new SpanQuery(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryVectorBuilder.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryVectorBuilder.g.cs index 130e50ef66e..77354d637e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryVectorBuilder.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryVectorBuilder.g.cs @@ -96,7 +96,6 @@ public override QueryVectorBuilder Read(ref Utf8JsonReader reader, Type typeToCo throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'QueryVectorBuilder' from the response."); } - reader.Read(); var result = new QueryVectorBuilder(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Rank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Rank.g.cs index 86991ef645d..272931dfaa7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Rank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Rank.g.cs @@ -96,7 +96,6 @@ public override Rank Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Rank' from the response."); } - reader.Read(); var result = new Rank(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/PivotGroupBy.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/PivotGroupBy.g.cs index 07b597d9553..94ea8f60c65 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/PivotGroupBy.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/PivotGroupBy.g.cs @@ -120,7 +120,6 @@ public override PivotGroupBy Read(ref Utf8JsonReader reader, Type typeToConvert, throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'PivotGroupBy' from the response."); } - reader.Read(); var result = new PivotGroupBy(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/RetentionPolicy.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/RetentionPolicy.g.cs index f42b0ff351c..3d3076933e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/RetentionPolicy.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/RetentionPolicy.g.cs @@ -96,7 +96,6 @@ public override RetentionPolicy Read(ref Utf8JsonReader reader, Type typeToConve throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'RetentionPolicy' from the response."); } - reader.Read(); var result = new RetentionPolicy(variantNameValue, variantValue); return result; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Sync.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Sync.g.cs index c3f62d90585..1cedf9c7a15 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Sync.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TransformManagement/Sync.g.cs @@ -96,7 +96,6 @@ public override Sync Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Sync' from the response."); } - reader.Read(); var result = new Sync(variantNameValue, variantValue); return result; }