diff --git a/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.g.cs index 7816a9e..d4e0fa0 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.AuthClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class AuthClient : global::SmallestAI.IAuthClient, global: /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.AuthSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.AuthSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.g.cs index 0bb56d7..c7153c3 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ElectronClient : global::SmallestAI.IElectronClient, /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.ElectronSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.ElectronSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.g.cs index 4fdece6..eecb995 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.PronunciationDictionariesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class PronunciationDictionariesClient : global::SmallestAI /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.PronunciationDictionariesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.PronunciationDictionariesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.SmallestAIClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.SmallestAIClient.g.cs index f084928..0ed6729 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.SmallestAIClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.SmallestAIClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class SmallestAIClient : global::SmallestAI.ISmallestAICli /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.g.cs index 6de3bd8..c7ced14 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.SpeechToTextClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class SpeechToTextClient : global::SmallestAI.ISpeechToTex /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.SpeechToTextSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.SpeechToTextSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.g.cs index bbda829..ded38a1 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.TextToSpeechClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class TextToSpeechClient : global::SmallestAI.ITextToSpeec /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.TextToSpeechSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.TextToSpeechSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.g.cs index e832a18..a27772f 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.VoiceCloningClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class VoiceCloningClient : global::SmallestAI.IVoiceClonin /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.VoiceCloningSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.VoiceCloningSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.g.cs b/src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.g.cs index d665df3..88978a9 100644 --- a/src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.g.cs +++ b/src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class VoicesClient : global::SmallestAI.IVoicesClient, glo /// public global::SmallestAI.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.VoicesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.VoicesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); }