@@ -60,22 +60,22 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRespo
60
60
continue ;
61
61
}
62
62
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 ) ) )
64
64
{
65
65
continue ;
66
66
}
67
67
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 ) ) ) )
69
69
{
70
70
continue ;
71
71
}
72
72
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 ) ) ) )
74
74
{
75
75
continue ;
76
76
}
77
77
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 ) ) ) )
79
79
{
80
80
continue ;
81
81
}
@@ -105,7 +105,7 @@ public override Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRespo
105
105
continue ;
106
106
}
107
107
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 ) ) ) )
109
109
{
110
110
continue ;
111
111
}
@@ -146,16 +146,16 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
146
146
{
147
147
writer . WriteStartObject ( ) ;
148
148
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 ) ) ) ;
153
153
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 ) ) ) ;
154
154
writer . WriteProperty ( options , PropId , value . Id , null , null ) ;
155
155
writer . WriteProperty ( options , PropIsPartial , value . IsPartial , null , null ) ;
156
156
writer . WriteProperty ( options , PropIsRunning , value . IsRunning , null , null ) ;
157
157
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 ) ) ) ;
159
159
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 ) ) ) ;
160
160
writer . WriteEndObject ( ) ;
161
161
}
0 commit comments