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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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

Lines changed: 0 additions & 1 deletion
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
}

0 commit comments

Comments
 (0)