Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libs/SmallestAI/Generated/SmallestAI.AuthClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class AuthClient : global::SmallestAI.IAuthClient, global:
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.AuthSourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.AuthSourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
4 changes: 2 additions & 2 deletions src/libs/SmallestAI/Generated/SmallestAI.ElectronClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class ElectronClient : global::SmallestAI.IElectronClient,
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.ElectronSourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.ElectronSourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class PronunciationDictionariesClient : global::SmallestAI
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.PronunciationDictionariesSourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.PronunciationDictionariesSourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class SmallestAIClient : global::SmallestAI.ISmallestAICli
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.SourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.SourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class SpeechToTextClient : global::SmallestAI.ISpeechToTex
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.SpeechToTextSourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.SpeechToTextSourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class TextToSpeechClient : global::SmallestAI.ITextToSpeec
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.TextToSpeechSourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.TextToSpeechSourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class VoiceCloningClient : global::SmallestAI.IVoiceClonin
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.VoiceCloningSourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.VoiceCloningSourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
4 changes: 2 additions & 2 deletions src/libs/SmallestAI/Generated/SmallestAI.VoicesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public sealed partial class VoicesClient : global::SmallestAI.IVoicesClient, glo
/// <inheritdoc/>
public global::SmallestAI.AutoSDKClientOptions Options { get; }

internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext> JsonSerializerContextProvider { get; set; } = new(() => global::SmallestAI.VoicesSourceGenerationContext.Default);
internal global::System.Lazy<global::System.Text.Json.Serialization.JsonSerializerContext>? JsonSerializerContextProvider { get; set; }

/// <summary>
///
/// </summary>
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
get => JsonSerializerContextProvider.Value;
get => JsonSerializerContextProvider?.Value ?? global::SmallestAI.VoicesSourceGenerationContext.Default;
set => JsonSerializerContextProvider = new(() => value);
}

Expand Down
Loading