diff --git a/src/libs/Inworld/Generated/Inworld.InworldClient.g.cs b/src/libs/Inworld/Generated/Inworld.InworldClient.g.cs index 1e1d144..e893cfc 100644 --- a/src/libs/Inworld/Generated/Inworld.InworldClient.g.cs +++ b/src/libs/Inworld/Generated/Inworld.InworldClient.g.cs @@ -48,14 +48,14 @@ public sealed partial class InworldClient : global::Inworld.IInworldClient, glob /// public global::Inworld.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Inworld.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Inworld.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Inworld/Generated/Inworld.ModelsClient.g.cs b/src/libs/Inworld/Generated/Inworld.ModelsClient.g.cs index e1da3e2..087db60 100644 --- a/src/libs/Inworld/Generated/Inworld.ModelsClient.g.cs +++ b/src/libs/Inworld/Generated/Inworld.ModelsClient.g.cs @@ -35,14 +35,14 @@ public sealed partial class ModelsClient : global::Inworld.IModelsClient, global /// public global::Inworld.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Inworld.ModelsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Inworld.ModelsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Inworld/Generated/Inworld.SpeechToTextClient.g.cs b/src/libs/Inworld/Generated/Inworld.SpeechToTextClient.g.cs index a90806a..89299a3 100644 --- a/src/libs/Inworld/Generated/Inworld.SpeechToTextClient.g.cs +++ b/src/libs/Inworld/Generated/Inworld.SpeechToTextClient.g.cs @@ -35,14 +35,14 @@ public sealed partial class SpeechToTextClient : global::Inworld.ISpeechToTextCl /// public global::Inworld.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Inworld.SpeechToTextSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Inworld.SpeechToTextSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Inworld/Generated/Inworld.TextToSpeechClient.g.cs b/src/libs/Inworld/Generated/Inworld.TextToSpeechClient.g.cs index 3faf95a..6f9c907 100644 --- a/src/libs/Inworld/Generated/Inworld.TextToSpeechClient.g.cs +++ b/src/libs/Inworld/Generated/Inworld.TextToSpeechClient.g.cs @@ -35,14 +35,14 @@ public sealed partial class TextToSpeechClient : global::Inworld.ITextToSpeechCl /// public global::Inworld.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Inworld.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Inworld.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Inworld/Generated/Inworld.VoicesClient.g.cs b/src/libs/Inworld/Generated/Inworld.VoicesClient.g.cs index 6f6d505..a98ffdf 100644 --- a/src/libs/Inworld/Generated/Inworld.VoicesClient.g.cs +++ b/src/libs/Inworld/Generated/Inworld.VoicesClient.g.cs @@ -35,14 +35,14 @@ public sealed partial class VoicesClient : global::Inworld.IVoicesClient, global /// public global::Inworld.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Inworld.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Inworld.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); }