diff --git a/src/libs/Speechify/Generated/Speechify.AdminClient.g.cs b/src/libs/Speechify/Generated/Speechify.AdminClient.g.cs index 71caeb1..f361b92 100644 --- a/src/libs/Speechify/Generated/Speechify.AdminClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AdminClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class AdminClient : global::Speechify.IAdminClient, global /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.AdminSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.AdminSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.g.cs index f83a6e5..e512917 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class AgentClient : global::Speechify.IAgentClient, global /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.AgentSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.AgentSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.AgentsClient.g.cs b/src/libs/Speechify/Generated/Speechify.AgentsClient.g.cs index 958f04b..8a27878 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class AgentsClient : global::Speechify.IAgentsClient, glob /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.AgentsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.AgentsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.g.cs b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.g.cs index f3dcf43..6e86ea9 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioAssetsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class AudioAssetsClient : global::Speechify.IAudioAssetsCl /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.AudioAssetsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.AudioAssetsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.AudioClient.g.cs b/src/libs/Speechify/Generated/Speechify.AudioClient.g.cs index be64e5d..9a0bb73 100644 --- a/src/libs/Speechify/Generated/Speechify.AudioClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AudioClient.g.cs @@ -41,14 +41,14 @@ public sealed partial class AudioClient : global::Speechify.IAudioClient, global /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.AudioSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.AudioSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.g.cs b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.g.cs index a0f95f5..f7494c3 100644 --- a/src/libs/Speechify/Generated/Speechify.BatchCallsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.BatchCallsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class BatchCallsClient : global::Speechify.IBatchCallsClie /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.BatchCallsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.BatchCallsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.CallersClient.g.cs b/src/libs/Speechify/Generated/Speechify.CallersClient.g.cs index 5a96232..7edccfd 100644 --- a/src/libs/Speechify/Generated/Speechify.CallersClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CallersClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class CallersClient : global::Speechify.ICallersClient, gl /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.CallersSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.CallersSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.ConsentChallengesClient.g.cs b/src/libs/Speechify/Generated/Speechify.ConsentChallengesClient.g.cs index 9dc4c34..54340a9 100644 --- a/src/libs/Speechify/Generated/Speechify.ConsentChallengesClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConsentChallengesClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class ConsentChallengesClient : global::Speechify.IConsent /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.ConsentChallengesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.ConsentChallengesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.ContactsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ContactsClient.g.cs index 000cbb1..4fbfa70 100644 --- a/src/libs/Speechify/Generated/Speechify.ContactsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ContactsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class ContactsClient : global::Speechify.IContactsClient, /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.ContactsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.ContactsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.ConversationsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ConversationsClient.g.cs index f9826f9..312241c 100644 --- a/src/libs/Speechify/Generated/Speechify.ConversationsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ConversationsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class ConversationsClient : global::Speechify.IConversatio /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.ConversationsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.ConversationsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.CredentialsClient.g.cs b/src/libs/Speechify/Generated/Speechify.CredentialsClient.g.cs index 4a40487..7423d98 100644 --- a/src/libs/Speechify/Generated/Speechify.CredentialsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.CredentialsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class CredentialsClient : global::Speechify.ICredentialsCl /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.CredentialsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.CredentialsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.DocumentsClient.g.cs b/src/libs/Speechify/Generated/Speechify.DocumentsClient.g.cs index fd0022f..7d7aa44 100644 --- a/src/libs/Speechify/Generated/Speechify.DocumentsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.DocumentsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class DocumentsClient : global::Speechify.IDocumentsClient /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.DocumentsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.DocumentsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.EndpointsClient.g.cs b/src/libs/Speechify/Generated/Speechify.EndpointsClient.g.cs index 7eaeff9..53fac8e 100644 --- a/src/libs/Speechify/Generated/Speechify.EndpointsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.EndpointsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class EndpointsClient : global::Speechify.IEndpointsClient /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.EndpointsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.EndpointsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.FilesClient.g.cs b/src/libs/Speechify/Generated/Speechify.FilesClient.g.cs index 92074f8..bea5bff 100644 --- a/src/libs/Speechify/Generated/Speechify.FilesClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FilesClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class FilesClient : global::Speechify.IFilesClient, global /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.FilesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.FilesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.g.cs index d00ea0b..d5c4e75 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class FlowClient : global::Speechify.IFlowClient, global:: /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.FlowSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.FlowSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.HostedApisClient.g.cs b/src/libs/Speechify/Generated/Speechify.HostedApisClient.g.cs index a23836d..3dc2e18 100644 --- a/src/libs/Speechify/Generated/Speechify.HostedApisClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.HostedApisClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class HostedApisClient : global::Speechify.IHostedApisClie /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.HostedApisSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.HostedApisSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.g.cs b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.g.cs index 60a6c6e..ecf2b58 100644 --- a/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IvrMemoryClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class IvrMemoryClient : global::Speechify.IIvrMemoryClient /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.IvrMemorySourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.IvrMemorySourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.KeysClient.g.cs b/src/libs/Speechify/Generated/Speechify.KeysClient.g.cs index e479848..8c82c81 100644 --- a/src/libs/Speechify/Generated/Speechify.KeysClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KeysClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class KeysClient : global::Speechify.IKeysClient, global:: /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.KeysSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.KeysSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.g.cs b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.g.cs index 6a5b09b..26e1cf5 100644 --- a/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.KnowledgeBasesClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class KnowledgeBasesClient : global::Speechify.IKnowledgeB /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.KnowledgeBasesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.KnowledgeBasesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.MemoriesClient.g.cs b/src/libs/Speechify/Generated/Speechify.MemoriesClient.g.cs index 81500ad..ed0fad4 100644 --- a/src/libs/Speechify/Generated/Speechify.MemoriesClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.MemoriesClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class MemoriesClient : global::Speechify.IMemoriesClient, /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.MemoriesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.MemoriesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.ModelsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ModelsClient.g.cs index 393ebb3..847b81d 100644 --- a/src/libs/Speechify/Generated/Speechify.ModelsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ModelsClient.g.cs @@ -41,14 +41,14 @@ public sealed partial class ModelsClient : global::Speechify.IModelsClient, glob /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.ModelsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.ModelsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.g.cs b/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.g.cs index 06d7197..614daac 100644 --- a/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.OutboundCallsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class OutboundCallsClient : global::Speechify.IOutboundCal /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.OutboundCallsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.OutboundCallsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.g.cs b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.g.cs index 3092443..862cfcd 100644 --- a/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PhoneNumbersClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class PhoneNumbersClient : global::Speechify.IPhoneNumbers /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.PhoneNumbersSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.PhoneNumbersSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.g.cs index 0a5e1fc..8a2db8c 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class ProjectsClient : global::Speechify.IProjectsClient, /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.ProjectsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.ProjectsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.PublishGateClient.g.cs b/src/libs/Speechify/Generated/Speechify.PublishGateClient.g.cs index 9b310ac..9be0eea 100644 --- a/src/libs/Speechify/Generated/Speechify.PublishGateClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.PublishGateClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class PublishGateClient : global::Speechify.IPublishGateCl /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.PublishGateSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.PublishGateSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.RoutesClient.g.cs b/src/libs/Speechify/Generated/Speechify.RoutesClient.g.cs index ab94c62..a262d8a 100644 --- a/src/libs/Speechify/Generated/Speechify.RoutesClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RoutesClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class RoutesClient : global::Speechify.IRoutesClient, glob /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.RoutesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.RoutesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.RunsClient.g.cs b/src/libs/Speechify/Generated/Speechify.RunsClient.g.cs index 5d3fb60..91dede7 100644 --- a/src/libs/Speechify/Generated/Speechify.RunsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.RunsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class RunsClient : global::Speechify.IRunsClient, global:: /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.RunsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.RunsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.g.cs b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.g.cs index 4cef606..3dc6581 100644 --- a/src/libs/Speechify/Generated/Speechify.ShareLinksClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ShareLinksClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class ShareLinksClient : global::Speechify.IShareLinksClie /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.ShareLinksSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.ShareLinksSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.g.cs b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.g.cs index b0c926e..2fde5fc 100644 --- a/src/libs/Speechify/Generated/Speechify.SipTrunksClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SipTrunksClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class SipTrunksClient : global::Speechify.ISipTrunksClient /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.SipTrunksSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.SipTrunksSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.SkillsClient.g.cs b/src/libs/Speechify/Generated/Speechify.SkillsClient.g.cs index b3ca1f5..2e863ce 100644 --- a/src/libs/Speechify/Generated/Speechify.SkillsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SkillsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class SkillsClient : global::Speechify.ISkillsClient, glob /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.SkillsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.SkillsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.SpeechifyClient.g.cs b/src/libs/Speechify/Generated/Speechify.SpeechifyClient.g.cs index 3a9f3e8..69761d8 100644 --- a/src/libs/Speechify/Generated/Speechify.SpeechifyClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.SpeechifyClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class SpeechifyClient : global::Speechify.ISpeechifyClient /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.StoresClient.g.cs b/src/libs/Speechify/Generated/Speechify.StoresClient.g.cs index 3f66445..e9a340e 100644 --- a/src/libs/Speechify/Generated/Speechify.StoresClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.StoresClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class StoresClient : global::Speechify.IStoresClient, glob /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.StoresSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.StoresSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.TeamsClient.g.cs b/src/libs/Speechify/Generated/Speechify.TeamsClient.g.cs index cb102e0..7899966 100644 --- a/src/libs/Speechify/Generated/Speechify.TeamsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TeamsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class TeamsClient : global::Speechify.ITeamsClient, global /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.TeamsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.TeamsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.TestsClient.g.cs b/src/libs/Speechify/Generated/Speechify.TestsClient.g.cs index 35abb93..a525c9d 100644 --- a/src/libs/Speechify/Generated/Speechify.TestsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TestsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class TestsClient : global::Speechify.ITestsClient, global /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.TestsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.TestsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.g.cs b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.g.cs index 3b9ceff..ea0c12a 100644 --- a/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ToolDefinitionsClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class ToolDefinitionsClient : global::Speechify.IToolDefin /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.ToolDefinitionsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.ToolDefinitionsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.TriggersClient.g.cs b/src/libs/Speechify/Generated/Speechify.TriggersClient.g.cs index 8b9e70f..795c9e1 100644 --- a/src/libs/Speechify/Generated/Speechify.TriggersClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.TriggersClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class TriggersClient : global::Speechify.ITriggersClient, /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.TriggersSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.TriggersSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.VoicesClient.g.cs b/src/libs/Speechify/Generated/Speechify.VoicesClient.g.cs index acba573..92f282e 100644 --- a/src/libs/Speechify/Generated/Speechify.VoicesClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.VoicesClient.g.cs @@ -40,14 +40,14 @@ public sealed partial class VoicesClient : global::Speechify.IVoicesClient, glob /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.VoicesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.VoicesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.WatermarkClient.g.cs b/src/libs/Speechify/Generated/Speechify.WatermarkClient.g.cs index a623bd1..f0da0df 100644 --- a/src/libs/Speechify/Generated/Speechify.WatermarkClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.WatermarkClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class WatermarkClient : global::Speechify.IWatermarkClient /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.WatermarkSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.WatermarkSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Speechify/Generated/Speechify.WorkspacesClient.g.cs b/src/libs/Speechify/Generated/Speechify.WorkspacesClient.g.cs index 5ffda1a..9f7c73f 100644 --- a/src/libs/Speechify/Generated/Speechify.WorkspacesClient.g.cs +++ b/src/libs/Speechify/Generated/Speechify.WorkspacesClient.g.cs @@ -38,14 +38,14 @@ public sealed partial class WorkspacesClient : global::Speechify.IWorkspacesClie /// public global::System.Func CreateIdempotencyKey { get; set; } = () => global::System.Guid.NewGuid().ToString("D"); - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::Speechify.WorkspacesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::Speechify.WorkspacesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); }