Skip to content

Commit 8602253

Browse files
Fix deserialization of container classes (#8087) (#8089)
Co-authored-by: Florian Bernd <[email protected]>
1 parent 2494fa8 commit 8602253

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+0
-54
lines changed

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/Aggregation.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ public override Aggregation Read(ref Utf8JsonReader reader, Type typeToConvert,
686686
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Aggregation' from the response.");
687687
}
688688

689-
reader.Read();
690689
var result = new Aggregation(variantNameValue, variantValue);
691690
result.Aggregations = aggregationsValue;
692691
result.Meta = metaValue;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/InferenceConfig.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve
104104
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response.");
105105
}
106106

107-
reader.Read();
108107
var result = new InferenceConfig(variantNameValue, variantValue);
109108
return result;
110109
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/FieldSuggester.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ public override FieldSuggester Read(ref Utf8JsonReader reader, Type typeToConver
151151
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FieldSuggester' from the response.");
152152
}
153153

154-
reader.Read();
155154
var result = new FieldSuggester(variantNameValue, variantValue);
156155
result.Prefix = prefixValue;
157156
result.Regex = regexValue;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SmoothingModel.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override SmoothingModel Read(ref Utf8JsonReader reader, Type typeToConver
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SmoothingModel' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new SmoothingModel(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public override IndexModifyDataStreamAction Read(ref Utf8JsonReader reader, Type
104104
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexModifyDataStreamAction' from the response.");
105105
}
106106

107-
reader.Read();
108107
var result = new IndexModifyDataStreamAction(variantNameValue, variantValue);
109108
return result;
110109
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override IndexUpdateAliasesAction Read(ref Utf8JsonReader reader, Type ty
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexUpdateAliasesAction' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new IndexUpdateAliasesAction(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/InferenceConfig.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve
104104
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response.");
105105
}
106106

107-
reader.Read();
108107
var result = new InferenceConfig(variantNameValue, variantValue);
109108
return result;
110109
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js
368368
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Processor' from the response.");
369369
}
370370

371-
reader.Read();
372371
var result = new Processor(variantNameValue, variantValue);
373372
return result;
374373
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override DataframeAnalysis Read(ref Utf8JsonReader reader, Type typeToCon
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysis' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new DataframeAnalysis(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ public override DataframeAnalysisFeatureProcessor Read(ref Utf8JsonReader reader
128128
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysisFeatureProcessor' from the response.");
129129
}
130130

131-
reader.Read();
132131
var result = new DataframeAnalysisFeatureProcessor(variantNameValue, variantValue);
133132
return result;
134133
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override DataframeEvaluation Read(ref Utf8JsonReader reader, Type typeToC
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeEvaluation' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new DataframeEvaluation(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ public override InferenceConfigCreate Read(ref Utf8JsonReader reader, Type typeT
171171
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigCreate' from the response.");
172172
}
173173

174-
reader.Read();
175174
var result = new InferenceConfigCreate(variantNameValue, variantValue);
176175
return result;
177176
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ public override InferenceConfigUpdate Read(ref Utf8JsonReader reader, Type typeT
168168
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigUpdate' from the response.");
169169
}
170170

171-
reader.Read();
172171
var result = new InferenceConfigUpdate(variantNameValue, variantValue);
173172
return result;
174173
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/Preprocessor.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override Preprocessor Read(ref Utf8JsonReader reader, Type typeToConvert,
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Preprocessor' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new Preprocessor(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TokenizationConfig.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ public override TokenizationConfig Read(ref Utf8JsonReader reader, Type typeToCo
115115
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'TokenizationConfig' from the response.");
116116
}
117117

118-
reader.Read();
119118
var result = new TokenizationConfig(variantNameValue, variantValue);
120119
return result;
121120
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/FunctionScore.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ public override FunctionScore Read(ref Utf8JsonReader reader, Type typeToConvert
131131
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FunctionScore' from the response.");
132132
}
133133

134-
reader.Read();
135134
var result = new FunctionScore(variantNameValue, variantValue);
136135
result.Filter = filterValue;
137136
result.Weight = weightValue;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Intervals.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ public override Intervals Read(ref Utf8JsonReader reader, Type typeToConvert, Js
136136
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Intervals' from the response.");
137137
}
138138

139-
reader.Read();
140139
var result = new Intervals(variantNameValue, variantValue);
141140
return result;
142141
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsFilter.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ public override IntervalsFilter Read(ref Utf8JsonReader reader, Type typeToConve
160160
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsFilter' from the response.");
161161
}
162162

163-
reader.Read();
164163
var result = new IntervalsFilter(variantNameValue, variantValue);
165164
return result;
166165
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/IntervalsQuery.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ public override IntervalsQuery Read(ref Utf8JsonReader reader, Type typeToConver
158158
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsQuery' from the response.");
159159
}
160160

161-
reader.Read();
162161
var result = new IntervalsQuery(variantNameValue, variantValue);
163162
result.Boost = boostValue;
164163
result.QueryName = queryNameValue;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/PinnedQuery.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ public override PinnedQuery Read(ref Utf8JsonReader reader, Type typeToConvert,
139139
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'PinnedQuery' from the response.");
140140
}
141141

142-
reader.Read();
143142
var result = new PinnedQuery(variantNameValue, variantValue);
144143
result.Boost = boostValue;
145144
result.Organic = organicValue;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe
523523
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Query' from the response.");
524524
}
525525

526-
reader.Read();
527526
var result = new Query(variantNameValue, variantValue);
528527
return result;
529528
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/SpanQuery.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ public override SpanQuery Read(ref Utf8JsonReader reader, Type typeToConvert, Js
168168
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SpanQuery' from the response.");
169169
}
170170

171-
reader.Read();
172171
var result = new SpanQuery(variantNameValue, variantValue);
173172
return result;
174173
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryVectorBuilder.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public override QueryVectorBuilder Read(ref Utf8JsonReader reader, Type typeToCo
9696
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'QueryVectorBuilder' from the response.");
9797
}
9898

99-
reader.Read();
10099
var result = new QueryVectorBuilder(variantNameValue, variantValue);
101100
return result;
102101
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public override Rank Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer
9696
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Rank' from the response.");
9797
}
9898

99-
reader.Read();
10099
var result = new Rank(variantNameValue, variantValue);
101100
return result;
102101
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/PivotGroupBy.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ public override PivotGroupBy Read(ref Utf8JsonReader reader, Type typeToConvert,
120120
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'PivotGroupBy' from the response.");
121121
}
122122

123-
reader.Read();
124123
var result = new PivotGroupBy(variantNameValue, variantValue);
125124
return result;
126125
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/RetentionPolicy.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public override RetentionPolicy Read(ref Utf8JsonReader reader, Type typeToConve
9696
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'RetentionPolicy' from the response.");
9797
}
9898

99-
reader.Read();
10099
var result = new RetentionPolicy(variantNameValue, variantValue);
101100
return result;
102101
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TransformManagement/Sync.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public override Sync Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer
9696
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Sync' from the response.");
9797
}
9898

99-
reader.Read();
10099
var result = new Sync(variantNameValue, variantValue);
101100
return result;
102101
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,6 @@ public override Aggregation Read(ref Utf8JsonReader reader, Type typeToConvert,
710710
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Aggregation' from the response.");
711711
}
712712

713-
reader.Read();
714713
var result = new Aggregation(variantNameValue, variantValue);
715714
result.Aggregations = aggregationsValue;
716715
result.Meta = metaValue;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceConfig.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve
104104
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response.");
105105
}
106106

107-
reader.Read();
108107
var result = new InferenceConfig(variantNameValue, variantValue);
109108
return result;
110109
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/FieldSuggester.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ public override FieldSuggester Read(ref Utf8JsonReader reader, Type typeToConver
151151
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FieldSuggester' from the response.");
152152
}
153153

154-
reader.Read();
155154
var result = new FieldSuggester(variantNameValue, variantValue);
156155
result.Prefix = prefixValue;
157156
result.Regex = regexValue;

src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SmoothingModel.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override SmoothingModel Read(ref Utf8JsonReader reader, Type typeToConver
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SmoothingModel' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new SmoothingModel(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexModifyDataStreamAction.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public override IndexModifyDataStreamAction Read(ref Utf8JsonReader reader, Type
104104
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexModifyDataStreamAction' from the response.");
105105
}
106106

107-
reader.Read();
108107
var result = new IndexModifyDataStreamAction(variantNameValue, variantValue);
109108
return result;
110109
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexUpdateAliasesAction.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override IndexUpdateAliasesAction Read(ref Utf8JsonReader reader, Type ty
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IndexUpdateAliasesAction' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new IndexUpdateAliasesAction(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceConfig.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public override InferenceConfig Read(ref Utf8JsonReader reader, Type typeToConve
104104
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfig' from the response.");
105105
}
106106

107-
reader.Read();
108107
var result = new InferenceConfig(variantNameValue, variantValue);
109108
return result;
110109
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,6 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js
368368
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Processor' from the response.");
369369
}
370370

371-
reader.Read();
372371
var result = new Processor(variantNameValue, variantValue);
373372
return result;
374373
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysis.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override DataframeAnalysis Read(ref Utf8JsonReader reader, Type typeToCon
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysis' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new DataframeAnalysis(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisFeatureProcessor.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ public override DataframeAnalysisFeatureProcessor Read(ref Utf8JsonReader reader
128128
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeAnalysisFeatureProcessor' from the response.");
129129
}
130130

131-
reader.Read();
132131
var result = new DataframeAnalysisFeatureProcessor(variantNameValue, variantValue);
133132
return result;
134133
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeEvaluation.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override DataframeEvaluation Read(ref Utf8JsonReader reader, Type typeToC
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'DataframeEvaluation' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new DataframeEvaluation(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigCreate.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ public override InferenceConfigCreate Read(ref Utf8JsonReader reader, Type typeT
171171
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigCreate' from the response.");
172172
}
173173

174-
reader.Read();
175174
var result = new InferenceConfigCreate(variantNameValue, variantValue);
176175
return result;
177176
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/InferenceConfigUpdate.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ public override InferenceConfigUpdate Read(ref Utf8JsonReader reader, Type typeT
168168
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'InferenceConfigUpdate' from the response.");
169169
}
170170

171-
reader.Read();
172171
var result = new InferenceConfigUpdate(variantNameValue, variantValue);
173172
return result;
174173
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/Preprocessor.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ public override Preprocessor Read(ref Utf8JsonReader reader, Type typeToConvert,
112112
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Preprocessor' from the response.");
113113
}
114114

115-
reader.Read();
116115
var result = new Preprocessor(variantNameValue, variantValue);
117116
return result;
118117
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TokenizationConfig.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ public override TokenizationConfig Read(ref Utf8JsonReader reader, Type typeToCo
115115
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'TokenizationConfig' from the response.");
116116
}
117117

118-
reader.Read();
119118
var result = new TokenizationConfig(variantNameValue, variantValue);
120119
return result;
121120
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/FunctionScore.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ public override FunctionScore Read(ref Utf8JsonReader reader, Type typeToConvert
131131
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'FunctionScore' from the response.");
132132
}
133133

134-
reader.Read();
135134
var result = new FunctionScore(variantNameValue, variantValue);
136135
result.Filter = filterValue;
137136
result.Weight = weightValue;

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Intervals.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ public override Intervals Read(ref Utf8JsonReader reader, Type typeToConvert, Js
136136
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Intervals' from the response.");
137137
}
138138

139-
reader.Read();
140139
var result = new Intervals(variantNameValue, variantValue);
141140
return result;
142141
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsFilter.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ public override IntervalsFilter Read(ref Utf8JsonReader reader, Type typeToConve
160160
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsFilter' from the response.");
161161
}
162162

163-
reader.Read();
164163
var result = new IntervalsFilter(variantNameValue, variantValue);
165164
return result;
166165
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/IntervalsQuery.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ public override IntervalsQuery Read(ref Utf8JsonReader reader, Type typeToConver
158158
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'IntervalsQuery' from the response.");
159159
}
160160

161-
reader.Read();
162161
var result = new IntervalsQuery(variantNameValue, variantValue);
163162
result.Boost = boostValue;
164163
result.QueryName = queryNameValue;

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedQuery.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ public override PinnedQuery Read(ref Utf8JsonReader reader, Type typeToConvert,
139139
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'PinnedQuery' from the response.");
140140
}
141141

142-
reader.Read();
143142
var result = new PinnedQuery(variantNameValue, variantValue);
144143
result.Boost = boostValue;
145144
result.Organic = organicValue;

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe
523523
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Query' from the response.");
524524
}
525525

526-
reader.Read();
527526
var result = new Query(variantNameValue, variantValue);
528527
return result;
529528
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanQuery.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ public override SpanQuery Read(ref Utf8JsonReader reader, Type typeToConvert, Js
168168
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'SpanQuery' from the response.");
169169
}
170170

171-
reader.Read();
172171
var result = new SpanQuery(variantNameValue, variantValue);
173172
return result;
174173
}

src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryVectorBuilder.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public override QueryVectorBuilder Read(ref Utf8JsonReader reader, Type typeToCo
9696
throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'QueryVectorBuilder' from the response.");
9797
}
9898

99-
reader.Read();
10099
var result = new QueryVectorBuilder(variantNameValue, variantValue);
101100
return result;
102101
}

0 commit comments

Comments
 (0)