@@ -80,10 +80,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit
8080 writer . WritePropertyName ( "top_p"u8 ) ;
8181 writer . WriteNumberValue ( TopP . Value ) ;
8282 }
83- if ( Optional . IsDefined ( User ) && ! Patch . Contains ( "$.user"u8 ) )
83+ if ( Optional . IsDefined ( EndUserId ) && ! Patch . Contains ( "$.user"u8 ) )
8484 {
8585 writer . WritePropertyName ( "user"u8 ) ;
86- writer . WriteStringValue ( User ) ;
86+ writer . WriteStringValue ( EndUserId ) ;
8787 }
8888 if ( Optional . IsDefined ( ServiceTier ) && ! Patch . Contains ( "$.service_tier"u8 ) )
8989 {
@@ -246,12 +246,12 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme
246246 IDictionary < string , string > metadata = default ;
247247 float ? temperature = default ;
248248 float ? topP = default ;
249- string user = default ;
249+ string endUserId = default ;
250250 ResponseServiceTier ? serviceTier = default ;
251251 string previousResponseId = default ;
252252 string model = default ;
253253 ResponseReasoningOptions reasoningOptions = default ;
254- bool ? isBackgroundModeEnabled = default ;
254+ bool ? backgroundModeEnabled = default ;
255255 int ? maxOutputTokenCount = default ;
256256 string instructions = default ;
257257 ResponseTextOptions textOptions = default ;
@@ -260,9 +260,9 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme
260260 ResponseTruncationMode ? truncationMode = default ;
261261 IList < ResponseItem > inputItems = default ;
262262 IList < IncludedResponseProperty > includedProperties = default ;
263- bool ? isParallelToolCallsEnabled = default ;
264- bool ? isStoredOutputEnabled = default ;
265- bool ? isStreamingEnabled = default ;
263+ bool ? parallelToolCallsEnabled = default ;
264+ bool ? storedOutputEnabled = default ;
265+ bool ? streamingEnabled = default ;
266266#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates.
267267 JsonPatch patch = new JsonPatch ( data is null ? ReadOnlyMemory < byte > . Empty : data . ToMemory ( ) ) ;
268268#pragma warning restore SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates.
@@ -311,7 +311,7 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme
311311 }
312312 if ( prop . NameEquals ( "user"u8 ) )
313313 {
314- user = prop . Value . GetString ( ) ;
314+ endUserId = prop . Value . GetString ( ) ;
315315 continue ;
316316 }
317317 if ( prop . NameEquals ( "service_tier"u8 ) )
@@ -352,10 +352,10 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme
352352 {
353353 if ( prop . Value . ValueKind == JsonValueKind . Null )
354354 {
355- isBackgroundModeEnabled = null ;
355+ backgroundModeEnabled = null ;
356356 continue ;
357357 }
358- isBackgroundModeEnabled = prop . Value . GetBoolean ( ) ;
358+ backgroundModeEnabled = prop . Value . GetBoolean ( ) ;
359359 continue ;
360360 }
361361 if ( prop . NameEquals ( "max_output_tokens"u8 ) )
@@ -448,30 +448,30 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme
448448 {
449449 if ( prop . Value . ValueKind == JsonValueKind . Null )
450450 {
451- isParallelToolCallsEnabled = null ;
451+ parallelToolCallsEnabled = null ;
452452 continue ;
453453 }
454- isParallelToolCallsEnabled = prop . Value . GetBoolean ( ) ;
454+ parallelToolCallsEnabled = prop . Value . GetBoolean ( ) ;
455455 continue ;
456456 }
457457 if ( prop . NameEquals ( "store"u8 ) )
458458 {
459459 if ( prop . Value . ValueKind == JsonValueKind . Null )
460460 {
461- isStoredOutputEnabled = null ;
461+ storedOutputEnabled = null ;
462462 continue ;
463463 }
464- isStoredOutputEnabled = prop . Value . GetBoolean ( ) ;
464+ storedOutputEnabled = prop . Value . GetBoolean ( ) ;
465465 continue ;
466466 }
467467 if ( prop . NameEquals ( "stream"u8 ) )
468468 {
469469 if ( prop . Value . ValueKind == JsonValueKind . Null )
470470 {
471- isStreamingEnabled = null ;
471+ streamingEnabled = null ;
472472 continue ;
473473 }
474- isStreamingEnabled = prop . Value . GetBoolean ( ) ;
474+ streamingEnabled = prop . Value . GetBoolean ( ) ;
475475 continue ;
476476 }
477477 patch . Set ( [ .. "$."u8 , .. Encoding . UTF8 . GetBytes ( prop . Name ) ] , prop . Value . GetUtf8Bytes ( ) ) ;
@@ -480,12 +480,12 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme
480480 metadata ?? new ChangeTrackingDictionary < string , string > ( ) ,
481481 temperature ,
482482 topP ,
483- user ,
483+ endUserId ,
484484 serviceTier ,
485485 previousResponseId ,
486486 model ,
487487 reasoningOptions ,
488- isBackgroundModeEnabled ,
488+ backgroundModeEnabled ,
489489 maxOutputTokenCount ,
490490 instructions ,
491491 textOptions ,
@@ -494,9 +494,9 @@ internal static CreateResponseOptions DeserializeCreateResponseOptions(JsonEleme
494494 truncationMode ,
495495 inputItems ,
496496 includedProperties ?? new ChangeTrackingList < IncludedResponseProperty > ( ) ,
497- isParallelToolCallsEnabled ,
498- isStoredOutputEnabled ,
499- isStreamingEnabled ,
497+ parallelToolCallsEnabled ,
498+ storedOutputEnabled ,
499+ streamingEnabled ,
500500 patch ) ;
501501 }
502502
0 commit comments