@@ -60,22 +60,22 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRespo
6060 continue ;
6161 }
6262
63- if ( propCompletionStatus . TryReadProperty ( ref reader , options , PropCompletionStatus , null ) )
63+ if ( propCompletionStatus . TryReadProperty ( ref reader , options , PropCompletionStatus , static int ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadNullableValue < int > ( o ) ) )
6464 {
6565 continue ;
6666 }
6767
68- if ( propCompletionTime . TryReadProperty ( ref reader , options , PropCompletionTime , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) )
68+ if ( propCompletionTime . TryReadProperty ( ref reader , options , PropCompletionTime , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadNullableValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) )
6969 {
7070 continue ;
7171 }
7272
73- if ( propCompletionTimeInMillis . TryReadProperty ( ref reader , options , PropCompletionTimeInMillis , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMillisMarker ) ) ) )
73+ if ( propCompletionTimeInMillis . TryReadProperty ( ref reader , options , PropCompletionTimeInMillis , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadNullableValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMillisMarker ) ) ) )
7474 {
7575 continue ;
7676 }
7777
78- if ( propExpirationTime . TryReadProperty ( ref reader , options , PropExpirationTime , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) )
78+ if ( propExpirationTime . TryReadProperty ( ref reader , options , PropExpirationTime , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadNullableValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) )
7979 {
8080 continue ;
8181 }
@@ -105,7 +105,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRespo
105105 continue ;
106106 }
107107
108- if ( propStartTime . TryReadProperty ( ref reader , options , PropStartTime , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) )
108+ if ( propStartTime . TryReadProperty ( ref reader , options , PropStartTime , static System . DateTimeOffset ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadNullableValueEx < System . DateTimeOffset > ( o , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) )
109109 {
110110 continue ;
111111 }
@@ -146,16 +146,16 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
146146 {
147147 writer . WriteStartObject ( ) ;
148148 writer . WriteProperty ( options , PropClusters , value . Clusters , null , null ) ;
149- writer . WriteProperty ( options , PropCompletionStatus , value . CompletionStatus , null , null ) ;
150- writer . WriteProperty ( options , PropCompletionTime , value . CompletionTime , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) ;
151- writer . WriteProperty ( options , PropCompletionTimeInMillis , value . CompletionTimeInMillis , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMillisMarker ) ) ) ;
152- writer . WriteProperty ( options , PropExpirationTime , value . ExpirationTime , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) ;
149+ writer . WriteProperty ( options , PropCompletionStatus , value . CompletionStatus , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , int ? v ) => w . WriteNullableValue < int > ( o , v ) ) ;
150+ writer . WriteProperty ( options , PropCompletionTime , value . CompletionTime , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteNullableValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) ;
151+ writer . WriteProperty ( options , PropCompletionTimeInMillis , value . CompletionTimeInMillis , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteNullableValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMillisMarker ) ) ) ;
152+ writer . WriteProperty ( options , PropExpirationTime , value . ExpirationTime , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteNullableValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) ;
153153 writer . WriteProperty ( options , PropExpirationTimeInMillis , value . ExpirationTimeInMillis , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset v ) => w . WriteValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMillisMarker ) ) ) ;
154154 writer . WriteProperty ( options , PropId , value . Id , null , null ) ;
155155 writer . WriteProperty ( options , PropIsPartial , value . IsPartial , null , null ) ;
156156 writer . WriteProperty ( options , PropIsRunning , value . IsRunning , null , null ) ;
157157 writer . WriteProperty ( options , PropShards , value . Shards , null , null ) ;
158- writer . WriteProperty ( options , PropStartTime , value . StartTime , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) ;
158+ writer . WriteProperty ( options , PropStartTime , value . StartTime , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset ? v ) => w . WriteNullableValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMarker ) ) ) ;
159159 writer . WriteProperty ( options , PropStartTimeInMillis , value . StartTimeInMillis , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . DateTimeOffset v ) => w . WriteValueEx < System . DateTimeOffset > ( o , v , typeof ( Elastic . Clients . Elasticsearch . Serialization . DateTimeMillisMarker ) ) ) ;
160160 writer . WriteEndObject ( ) ;
161161 }
0 commit comments