@@ -32,15 +32,15 @@ public override Elastic.Clients.Elasticsearch.Aggregations.HdrPercentileRanksAgg
32
32
{
33
33
reader . ValidateToken ( System . Text . Json . JsonTokenType . StartObject ) ;
34
34
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 ;
36
36
while ( reader . Read ( ) && reader . TokenType is System . Text . Json . JsonTokenType . PropertyName )
37
37
{
38
38
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 ) ) )
39
39
{
40
40
continue ;
41
41
}
42
42
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 ) ! ) )
44
44
{
45
45
continue ;
46
46
}
@@ -66,7 +66,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
66
66
{
67
67
writer . WriteStartObject ( ) ;
68
68
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 ) ) ;
70
70
writer . WriteEndObject ( ) ;
71
71
}
72
72
}
@@ -75,7 +75,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
75
75
public sealed partial class HdrPercentileRanksAggregate : Elastic . Clients . Elasticsearch . Aggregations . IAggregate
76
76
{
77
77
[ 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 )
79
79
{
80
80
Values = values ;
81
81
}
@@ -104,5 +104,5 @@ internal HdrPercentileRanksAggregate(Elastic.Clients.Elasticsearch.Serialization
104
104
#if NET7_0_OR_GREATER
105
105
required
106
106
#endif
107
- Elastic. Clients . Elasticsearch . Aggregations . Percentiles Values { get ; set ; }
107
+ System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . Aggregations . PercentilesItem > Values { get ; set ; }
108
108
}
0 commit comments