@@ -70,6 +70,9 @@ internal static void ReadItem(ref System.Text.Json.Utf8JsonReader reader, System
7070 "boxplot" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . BoxplotAggregate > ( options , null ) ,
7171 "bucket_metric_value" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . BucketMetricValueAggregate > ( options , null ) ,
7272 "cardinality" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . CardinalityAggregate > ( options , null ) ,
73+ "cartesian_bounds" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . CartesianBoundsAggregate > ( options , null ) ,
74+ "cartesian_centroid" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . CartesianCentroidAggregate > ( options , null ) ,
75+ "change_point" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . ChangePointAggregate > ( options , null ) ,
7376 "children" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . ChildrenAggregate > ( options , null ) ,
7477 "composite" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . CompositeAggregate > ( options , null ) ,
7578 "date_histogram" => reader . ReadValue < Elastic . Clients . Elasticsearch . Aggregations . DateHistogramAggregate > ( options , null ) ,
@@ -161,6 +164,15 @@ internal static void WriteItem(System.Text.Json.Utf8JsonWriter writer, System.Te
161164 case Elastic . Clients . Elasticsearch . Aggregations . CardinalityAggregate v :
162165 writer . WriteProperty ( options , key , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , string v ) => w . WritePropertyName < string > ( o , v ) , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , Elastic . Clients . Elasticsearch . Aggregations . CardinalityAggregate v ) => w . WritePropertyName < Elastic . Clients . Elasticsearch . Aggregations . CardinalityAggregate > ( o , v ) ) ;
163166 break ;
167+ case Elastic . Clients . Elasticsearch . Aggregations . CartesianBoundsAggregate v :
168+ writer . WriteProperty ( options , key , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , string v ) => w . WritePropertyName < string > ( o , v ) , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , Elastic . Clients . Elasticsearch . Aggregations . CartesianBoundsAggregate v ) => w . WritePropertyName < Elastic . Clients . Elasticsearch . Aggregations . CartesianBoundsAggregate > ( o , v ) ) ;
169+ break ;
170+ case Elastic . Clients . Elasticsearch . Aggregations . CartesianCentroidAggregate v :
171+ writer . WriteProperty ( options , key , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , string v ) => w . WritePropertyName < string > ( o , v ) , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , Elastic . Clients . Elasticsearch . Aggregations . CartesianCentroidAggregate v ) => w . WritePropertyName < Elastic . Clients . Elasticsearch . Aggregations . CartesianCentroidAggregate > ( o , v ) ) ;
172+ break ;
173+ case Elastic . Clients . Elasticsearch . Aggregations . ChangePointAggregate v :
174+ writer . WriteProperty ( options , key , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , string v ) => w . WritePropertyName < string > ( o , v ) , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , Elastic . Clients . Elasticsearch . Aggregations . ChangePointAggregate v ) => w . WritePropertyName < Elastic . Clients . Elasticsearch . Aggregations . ChangePointAggregate > ( o , v ) ) ;
175+ break ;
164176 case Elastic . Clients . Elasticsearch . Aggregations . ChildrenAggregate v :
165177 writer . WriteProperty ( options , key , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , string v ) => w . WritePropertyName < string > ( o , v ) , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , Elastic . Clients . Elasticsearch . Aggregations . ChildrenAggregate v ) => w . WritePropertyName < Elastic . Clients . Elasticsearch . Aggregations . ChildrenAggregate > ( o , v ) ) ;
166178 break ;
0 commit comments