@@ -32,15 +32,15 @@ public override Elastic.Clients.Elasticsearch.Aggregations.HdrPercentileRanksAgg
3232 {
3333 reader . ValidateToken ( System . Text . Json . JsonTokenType . StartObject ) ;
3434 LocalJsonValue < System . Collections . Generic . IReadOnlyDictionary < string , object > ? > propMeta = default ;
35- LocalJsonValue < Elastic . Clients . Elasticsearch . Aggregations . Percentiles > propValues = default ;
35+ LocalJsonValue < System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > > propValues = default ;
3636 while ( reader . Read ( ) && reader . TokenType is System . Text . Json . JsonTokenType . PropertyName )
3737 {
3838 if ( propMeta . TryReadProperty ( ref reader , options , PropMeta , static System . Collections . Generic . IReadOnlyDictionary < string , object > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadDictionaryValue < string , object > ( o , null , null ) ) )
3939 {
4040 continue ;
4141 }
4242
43- if ( propValues . TryReadProperty ( ref reader , options , PropValues , null ) )
43+ if ( propValues . TryReadProperty ( ref reader , options , PropValues , static System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadCollectionValue < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > ( o , null ) ! ) )
4444 {
4545 continue ;
4646 }
@@ -66,7 +66,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
6666 {
6767 writer . WriteStartObject ( ) ;
6868 writer . WriteProperty ( options , PropMeta , value . Meta , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyDictionary < string , object > ? v ) => w . WriteDictionaryValue < string , object > ( o , v , null , null ) ) ;
69- writer . WriteProperty ( options , PropValues , value . Values , null , null ) ;
69+ writer . WriteProperty ( options , PropValues , value . Values , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > v ) => w . WriteCollectionValue < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > ( o , v , null ) ) ;
7070 writer . WriteEndObject ( ) ;
7171 }
7272}
@@ -75,7 +75,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
7575public sealed partial class HdrPercentileRanksAggregate : Elastic . Clients . Elasticsearch . Aggregations . IAggregate
7676{
7777 [ System . Diagnostics . CodeAnalysis . SetsRequiredMembers ]
78- public HdrPercentileRanksAggregate ( Elastic . Clients . Elasticsearch . Aggregations . Percentiles values )
78+ public HdrPercentileRanksAggregate ( System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > values )
7979 {
8080 Values = values ;
8181 }
@@ -104,5 +104,5 @@ internal HdrPercentileRanksAggregate(Elastic.Clients.Elasticsearch.Serialization
104104#if NET7_0_OR_GREATER
105105 required
106106#endif
107- Elastic. Clients . Elasticsearch . Aggregations . Percentiles Values { get ; set ; }
107+ System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > Values { get ; set ; }
108108}
0 commit comments