@@ -60,62 +60,62 @@ public override AsyncSearchStatusResponse Read(ref System.Text.Json.Utf8JsonRead
60
60
LocalJsonValue < long > propStartTimeInMillis = default ;
61
61
while ( reader . Read ( ) && reader . TokenType is System . Text . Json . JsonTokenType . PropertyName )
62
62
{
63
- if ( propClusters . TryRead ( ref reader , options , PropClusters ) )
63
+ if ( propClusters . TryReadProperty ( ref reader , options , PropClusters , null ) )
64
64
{
65
65
continue ;
66
66
}
67
67
68
- if ( propCompletionStatus . TryRead ( ref reader , options , PropCompletionStatus ) )
68
+ if ( propCompletionStatus . TryReadProperty ( ref reader , options , PropCompletionStatus , null ) )
69
69
{
70
70
continue ;
71
71
}
72
72
73
- if ( propCompletionTime . TryRead ( ref reader , options , PropCompletionTime ) )
73
+ if ( propCompletionTime . TryReadProperty ( ref reader , options , PropCompletionTime , null ) )
74
74
{
75
75
continue ;
76
76
}
77
77
78
- if ( propCompletionTimeInMillis . TryRead ( ref reader , options , PropCompletionTimeInMillis ) )
78
+ if ( propCompletionTimeInMillis . TryReadProperty ( ref reader , options , PropCompletionTimeInMillis , null ) )
79
79
{
80
80
continue ;
81
81
}
82
82
83
- if ( propExpirationTime . TryRead ( ref reader , options , PropExpirationTime ) )
83
+ if ( propExpirationTime . TryReadProperty ( ref reader , options , PropExpirationTime , null ) )
84
84
{
85
85
continue ;
86
86
}
87
87
88
- if ( propExpirationTimeInMillis . TryRead ( ref reader , options , PropExpirationTimeInMillis ) )
88
+ if ( propExpirationTimeInMillis . TryReadProperty ( ref reader , options , PropExpirationTimeInMillis , null ) )
89
89
{
90
90
continue ;
91
91
}
92
92
93
- if ( propId . TryRead ( ref reader , options , PropId ) )
93
+ if ( propId . TryReadProperty ( ref reader , options , PropId , null ) )
94
94
{
95
95
continue ;
96
96
}
97
97
98
- if ( propIsPartial . TryRead ( ref reader , options , PropIsPartial ) )
98
+ if ( propIsPartial . TryReadProperty ( ref reader , options , PropIsPartial , null ) )
99
99
{
100
100
continue ;
101
101
}
102
102
103
- if ( propIsRunning . TryRead ( ref reader , options , PropIsRunning ) )
103
+ if ( propIsRunning . TryReadProperty ( ref reader , options , PropIsRunning , null ) )
104
104
{
105
105
continue ;
106
106
}
107
107
108
- if ( propShards . TryRead ( ref reader , options , PropShards ) )
108
+ if ( propShards . TryReadProperty ( ref reader , options , PropShards , null ) )
109
109
{
110
110
continue ;
111
111
}
112
112
113
- if ( propStartTime . TryRead ( ref reader , options , PropStartTime ) )
113
+ if ( propStartTime . TryReadProperty ( ref reader , options , PropStartTime , null ) )
114
114
{
115
115
continue ;
116
116
}
117
117
118
- if ( propStartTimeInMillis . TryRead ( ref reader , options , PropStartTimeInMillis ) )
118
+ if ( propStartTimeInMillis . TryReadProperty ( ref reader , options , PropStartTimeInMillis , null ) )
119
119
{
120
120
continue ;
121
121
}
@@ -155,18 +155,18 @@ public override AsyncSearchStatusResponse Read(ref System.Text.Json.Utf8JsonRead
155
155
public override void Write ( System . Text . Json . Utf8JsonWriter writer , AsyncSearchStatusResponse value , System . Text . Json . JsonSerializerOptions options )
156
156
{
157
157
writer . WriteStartObject ( ) ;
158
- writer . WriteProperty ( options , PropClusters , value . Clusters ) ;
159
- writer . WriteProperty ( options , PropCompletionStatus , value . CompletionStatus ) ;
160
- writer . WriteProperty ( options , PropCompletionTime , value . CompletionTime ) ;
161
- writer . WriteProperty ( options , PropCompletionTimeInMillis , value . CompletionTimeInMillis ) ;
162
- writer . WriteProperty ( options , PropExpirationTime , value . ExpirationTime ) ;
163
- writer . WriteProperty ( options , PropExpirationTimeInMillis , value . ExpirationTimeInMillis ) ;
164
- writer . WriteProperty ( options , PropId , value . Id ) ;
165
- writer . WriteProperty ( options , PropIsPartial , value . IsPartial ) ;
166
- writer . WriteProperty ( options , PropIsRunning , value . IsRunning ) ;
167
- writer . WriteProperty ( options , PropShards , value . Shards ) ;
168
- writer . WriteProperty ( options , PropStartTime , value . StartTime ) ;
169
- writer . WriteProperty ( options , PropStartTimeInMillis , value . StartTimeInMillis ) ;
158
+ writer . WriteProperty ( options , PropClusters , value . Clusters , null , null ) ;
159
+ writer . WriteProperty ( options , PropCompletionStatus , value . CompletionStatus , null , null ) ;
160
+ writer . WriteProperty ( options , PropCompletionTime , value . CompletionTime , null , null ) ;
161
+ writer . WriteProperty ( options , PropCompletionTimeInMillis , value . CompletionTimeInMillis , null , null ) ;
162
+ writer . WriteProperty ( options , PropExpirationTime , value . ExpirationTime , null , null ) ;
163
+ writer . WriteProperty ( options , PropExpirationTimeInMillis , value . ExpirationTimeInMillis , null , null ) ;
164
+ writer . WriteProperty ( options , PropId , value . Id , null , null ) ;
165
+ writer . WriteProperty ( options , PropIsPartial , value . IsPartial , null , null ) ;
166
+ writer . WriteProperty ( options , PropIsRunning , value . IsRunning , null , null ) ;
167
+ writer . WriteProperty ( options , PropShards , value . Shards , null , null ) ;
168
+ writer . WriteProperty ( options , PropStartTime , value . StartTime , null , null ) ;
169
+ writer . WriteProperty ( options , PropStartTimeInMillis , value . StartTimeInMillis , null , null ) ;
170
170
writer . WriteEndObject ( ) ;
171
171
}
172
172
}
0 commit comments