| File: Generated\361d1da7f942c932\JsonContext.TextToSpeechResponseUpdateKind.g.cs | |
| Project: ..\..\..\src\Libraries\Microsoft.Extensions.AI.Abstractions\Microsoft.Extensions.AI.Abstractions.csproj (Microsoft.Extensions.AI.Abstractions) |
// <auto-generated/> #nullable enable annotations #nullable disable warnings // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 namespace Microsoft.Extensions.AI { public static partial class AIJsonUtilities { private sealed partial class JsonContext { private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind>? _TextToSpeechResponseUpdateKind; /// <summary> /// Defines the source generated JSON serialization contract metadata for a given type. /// </summary> #nullable disable annotations // Marking the property type as nullable-oblivious. public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind> TextToSpeechResponseUpdateKind #nullable enable annotations { get => _TextToSpeechResponseUpdateKind ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind)); } private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind> Create_TextToSpeechResponseUpdateKind(global::System.Text.Json.JsonSerializerOptions options) { if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind> jsonTypeInfo)) { global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind), new global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind.Converter(), options); jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.TextToSpeechResponseUpdateKind> (options, converter); } jsonTypeInfo.OriginatingResolver = this; return jsonTypeInfo; } } } }