@@ -49,7 +49,7 @@ public override Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest Read(ref Sy
4949 LocalJsonValue < Elastic . Clients . Elasticsearch . Duration ? > propKeepAlive = default ;
5050 LocalJsonValue < bool ? > propKeepOnCompletion = default ;
5151 LocalJsonValue < string ? > propLocale = default ;
52- LocalJsonValue < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > ? > propParams = default ;
52+ LocalJsonValue < Elastic . Clients . Elasticsearch . Union < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > , System . Collections . Generic . ICollection < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > > ? > propParams = default ;
5353 LocalJsonValue < bool ? > propProfile = default ;
5454 LocalJsonValue < string ? > propProjectRouting = default ;
5555 LocalJsonValue < string > propQuery = default ;
@@ -92,7 +92,7 @@ public override Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest Read(ref Sy
9292 continue ;
9393 }
9494
95- if ( propParams . TryReadProperty ( ref reader , options , PropParams , static System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , null ) ) )
95+ if ( propParams . TryReadProperty ( ref reader , options , PropParams , static Elastic . Clients . Elasticsearch . Union < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > , System . Collections . Generic . ICollection < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadUnionValue < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > , System . Collections . Generic . ICollection < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > > ( o , static ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => JsonUnionSelector . T1 ( ref r , o ) , static System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadCollectionValue < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , static System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadSingleOrManyCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , null ) ! ) ! , static System . Collections . Generic . ICollection < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadCollectionValue < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > ( o , static System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadKeyValuePairValue < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , null , static System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadSingleOrManyCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , null ) ! ) ) ! ) ) )
9696 {
9797 continue ;
9898 }
@@ -160,7 +160,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
160160 writer . WriteProperty ( options , PropKeepAlive , value . KeepAlive , null , null ) ;
161161 writer . WriteProperty ( options , PropKeepOnCompletion , value . KeepOnCompletion , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , bool ? v ) => w . WriteNullableValue < bool > ( o , v ) ) ;
162162 writer . WriteProperty ( options , PropLocale , value . Locale , null , null ) ;
163- writer . WriteProperty ( options , PropParams , value . Params , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > ? v ) => w . WriteCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , v , null ) ) ;
163+ writer . WriteProperty ( options , PropParams , value . Params , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , Elastic . Clients . Elasticsearch . Union < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > , System . Collections . Generic . ICollection < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > > ? v ) => w . WriteUnionValue < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > , System . Collections . Generic . ICollection < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > > ( o , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > v ) => w . WriteCollectionValue < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > v ) => w . WriteSingleOrManyCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , v , null ) ) , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > v ) => w . WriteCollectionValue < System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > > ( o , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . KeyValuePair < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > v ) => w . WriteKeyValuePairValue < string , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , v , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > v ) => w . WriteSingleOrManyCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , v , null ) ) ) ) ) ;
164164 writer . WriteProperty ( options , PropProfile , value . Profile , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , bool ? v ) => w . WriteNullableValue < bool > ( o , v ) ) ;
165165 writer . WriteProperty ( options , PropProjectRouting , value . ProjectRouting , null , null ) ;
166166 writer . WriteProperty ( options , PropQuery , value . Query , null , null ) ;
0 commit comments