@@ -43,7 +43,7 @@ public override Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequest Read(ref Sys
4343 LocalJsonValue < bool ? > propIncludeCcsMetadata = default ;
4444 LocalJsonValue < bool ? > propIncludeExecutionMetadata = default ;
4545 LocalJsonValue < string ? > propLocale = default ;
46- LocalJsonValue < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ? > propParams = default ;
46+ 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 ;
4747 LocalJsonValue < bool ? > propProfile = default ;
4848 LocalJsonValue < string ? > propProjectRouting = default ;
4949 LocalJsonValue < string > propQuery = default ;
@@ -74,7 +74,7 @@ public override Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequest Read(ref Sys
7474 continue ;
7575 }
7676
77- if ( propParams . TryReadProperty ( ref reader , options , PropParams , 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 ) ! ) ) )
77+ 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 ) ! ) ) ! ) ) )
7878 {
7979 continue ;
8080 }
@@ -126,7 +126,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
126126 writer . WriteProperty ( options , PropIncludeCcsMetadata , value . IncludeCcsMetadata , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , bool ? v ) => w . WriteNullableValue < bool > ( o , v ) ) ;
127127 writer . WriteProperty ( options , PropIncludeExecutionMetadata , value . IncludeExecutionMetadata , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , bool ? v ) => w . WriteNullableValue < bool > ( o , v ) ) ;
128128 writer . WriteProperty ( options , PropLocale , value . Locale , null , null ) ;
129- writer . WriteProperty ( options , PropParams , value . Params , null , 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 ) ) ) ;
129+ 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 ) ) ) ) ) ;
130130 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 ) ) ;
131131 writer . WriteProperty ( options , PropProjectRouting , value . ProjectRouting , null , null ) ;
132132 writer . WriteProperty ( options , PropQuery , value . Query , null , null ) ;
0 commit comments