From ec5b9d9445ac74bf4d7d200b61545fdf3eb13318 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Oct 2026 19:12:30 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.ActivityLogsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.AnalyticsClient.g.cs | 4 ++-- .../Generated/LabelStudio.AnnotationHistoryClient.g.cs | 4 ++-- .../Generated/LabelStudio.AnnotationReviews2Client.g.cs | 4 ++-- .../Generated/LabelStudio.AnnotationReviewsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.AnnotationsClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.AwsClient.g.cs | 4 ++-- .../Generated/LabelStudio.BackgroundJobsClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.BillingClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Blueprints2Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.BlueprintsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Comments2Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.CommentsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.DataExplorerClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.DataManagerClient.g.cs | 4 ++-- .../Generated/LabelStudio.DatasetStorageAzureClient.g.cs | 4 ++-- .../Generated/LabelStudio.DatasetStorageGcsClient.g.cs | 4 ++-- .../Generated/LabelStudio.DatasetStorageS3Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.DatasetsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Dimensions2Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.DimensionsClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.ExportClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.ImportClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.InterfacesClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.JwtSettingsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.Labels2Client.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.LabelsClient.g.cs | 4 ++-- .../Generated/LabelStudio.LearningResourcesClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.LlmClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.MlClient.g.cs | 4 ++-- .../Generated/LabelStudio.ModelProviderConnectionClient.g.cs | 4 ++-- .../Generated/LabelStudio.ModelProvidersClient.g.cs | 4 ++-- .../Generated/LabelStudio.Organizations2Client.g.cs | 4 ++-- .../Generated/LabelStudio.OrganizationsClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.PausesClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Predictions2Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.PredictionsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.ProjectRolesClient.g.cs | 4 ++-- .../Generated/LabelStudio.ProjectTemplatesClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Projects2Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.ProjectsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Prompts2Client.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.g.cs | 4 ++-- .../Generated/LabelStudio.ReviewRoutingRulesClient.g.cs | 4 ++-- .../Generated/LabelStudio.SessionPolicyClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.SsoClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.StatesClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.StatsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.StorageAzureClient.g.cs | 4 ++-- .../Generated/LabelStudio.StorageAzureSpiClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.StorageClient.g.cs | 4 ++-- .../Generated/LabelStudio.StorageDatabricksFilesClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.StorageGcsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.StorageGcsSaClient.g.cs | 4 ++-- .../Generated/LabelStudio.StorageGcsWifClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.StorageLocalClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.StorageRedisClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.StorageS3Client.g.cs | 4 ++-- .../Generated/LabelStudio.StorageS3RolesClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.TasksClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.TokensClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.UsersClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.VersionsClient.g.cs | 4 ++-- src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Webhooks2Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.WebhooksClient.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.Workspaces2Client.g.cs | 4 ++-- .../LabelStudio/Generated/LabelStudio.WorkspacesClient.g.cs | 4 ++-- 71 files changed, 142 insertions(+), 142 deletions(-) diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.g.cs index f073ac66..19979220 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ActionsClient : global::LabelStudio.IActionsClient, /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ActivityLogsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ActivityLogsClient.g.cs index 3dc6a27f..2ad01346 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ActivityLogsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ActivityLogsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ActivityLogsClient : global::LabelStudio.IActivityLo /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnalyticsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnalyticsClient.g.cs index 51a06331..9cdbdb65 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnalyticsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnalyticsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class AnalyticsClient : global::LabelStudio.IAnalyticsClie /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.AnalyticsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.AnalyticsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationHistoryClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationHistoryClient.g.cs index 8770d67f..4589e955 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationHistoryClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationHistoryClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class AnnotationHistoryClient : global::LabelStudio.IAnnot /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviews2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviews2Client.g.cs index 197745f8..5186892f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviews2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviews2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class AnnotationReviews2Client : global::LabelStudio.IAnno /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviewsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviewsClient.g.cs index 4f4d6ef6..517f40e7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviewsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationReviewsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class AnnotationReviewsClient : global::LabelStudio.IAnnot /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.AnnotationReviewsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.AnnotationReviewsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.g.cs index af53ecbe..031a0e26 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class AnnotationsClient : global::LabelStudio.IAnnotations /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AwsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AwsClient.g.cs index dd27bdf3..23697fef 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AwsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AwsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class AwsClient : global::LabelStudio.IAwsClient, global:: /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.AwsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.AwsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.g.cs index ba6a5047..dcb3477f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class BackgroundJobsClient : global::LabelStudio.IBackgrou /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.BackgroundJobsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.BackgroundJobsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.BillingClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BillingClient.g.cs index 5ff0efbe..88538240 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.BillingClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.BillingClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class BillingClient : global::LabelStudio.IBillingClient, /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.BillingSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.BillingSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Blueprints2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Blueprints2Client.g.cs index 23f8553d..59d850c4 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Blueprints2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Blueprints2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Blueprints2Client : global::LabelStudio.IBlueprints2 /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.BlueprintsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BlueprintsClient.g.cs index cc54c6b8..6e8c1e3b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.BlueprintsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.BlueprintsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class BlueprintsClient : global::LabelStudio.IBlueprintsCl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.BlueprintsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.BlueprintsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Comments2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Comments2Client.g.cs index 24c6df79..284ecb3c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Comments2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Comments2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Comments2Client : global::LabelStudio.IComments2Clie /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.CommentsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.CommentsClient.g.cs index 1ed1ce48..c2ea7db3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.CommentsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.CommentsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class CommentsClient : global::LabelStudio.ICommentsClient /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.CommentsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.CommentsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DataExplorerClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DataExplorerClient.g.cs index 60b7c54a..4ff25582 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DataExplorerClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DataExplorerClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class DataExplorerClient : global::LabelStudio.IDataExplor /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.DataExplorerSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.DataExplorerSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.g.cs index a536a4f6..8f93fe33 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class DataManagerClient : global::LabelStudio.IDataManager /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.DataManagerSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.DataManagerSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageAzureClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageAzureClient.g.cs index 049e5e4d..6e12a51e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageAzureClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageAzureClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class DatasetStorageAzureClient : global::LabelStudio.IDat /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.DatasetStorageAzureSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.DatasetStorageAzureSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageGcsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageGcsClient.g.cs index f9f068fe..141a913e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageGcsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageGcsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class DatasetStorageGcsClient : global::LabelStudio.IDatas /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.DatasetStorageGcsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.DatasetStorageGcsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageS3Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageS3Client.g.cs index 7df5de3f..b29dbb6d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageS3Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetStorageS3Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class DatasetStorageS3Client : global::LabelStudio.IDatase /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.DatasetStorageS3SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.DatasetStorageS3SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.g.cs index 658ea07a..c8900f80 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class DatasetsClient : global::LabelStudio.IDatasetsClient /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.DatasetsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.DatasetsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Dimensions2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Dimensions2Client.g.cs index d34a6443..62b4ec62 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Dimensions2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Dimensions2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Dimensions2Client : global::LabelStudio.IDimensions2 /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DimensionsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DimensionsClient.g.cs index 58ca8768..3423fdc3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DimensionsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DimensionsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class DimensionsClient : global::LabelStudio.IDimensionsCl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.DimensionsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.DimensionsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.g.cs index 9ea6fdde..3e68aaae 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ExportClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ExportClient : global::LabelStudio.IExportClient, gl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.ExportSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.ExportSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ImportClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ImportClient.g.cs index ec1fba2b..05dfd98c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ImportClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ImportClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ImportClient : global::LabelStudio.IImportClient, gl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.ImportSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.ImportSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.InterfacesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.InterfacesClient.g.cs index 999d03e6..b1caa300 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.InterfacesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.InterfacesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class InterfacesClient : global::LabelStudio.IInterfacesCl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JwtSettingsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JwtSettingsClient.g.cs index d2ea3457..984ba335 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JwtSettingsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JwtSettingsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class JwtSettingsClient : global::LabelStudio.IJwtSettings /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs index e964cb10..8a88d396 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs @@ -35,14 +35,14 @@ public sealed partial class LabelStudioClient : global::LabelStudio.ILabelStudio /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Labels2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Labels2Client.g.cs index d14a735f..063fc030 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Labels2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Labels2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Labels2Client : global::LabelStudio.ILabels2Client, /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LabelsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LabelsClient.g.cs index 5c039035..747c8911 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.LabelsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.LabelsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class LabelsClient : global::LabelStudio.ILabelsClient, gl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.LabelsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.LabelsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LearningResourcesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LearningResourcesClient.g.cs index 9b73afb6..efc139d2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.LearningResourcesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.LearningResourcesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class LearningResourcesClient : global::LabelStudio.ILearn /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.LearningResourcesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.LearningResourcesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.g.cs index 0e88ab9a..9519e1aa 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class LlmClient : global::LabelStudio.ILlmClient, global:: /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.LlmSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.LlmSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.g.cs index a0c68e59..08f2fbb5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class MlClient : global::LabelStudio.IMlClient, global::Sy /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ModelProviderConnectionClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ModelProviderConnectionClient.g.cs index 52de8cf1..9db2aa36 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ModelProviderConnectionClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ModelProviderConnectionClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ModelProviderConnectionClient : global::LabelStudio. /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.ModelProviderConnectionSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.ModelProviderConnectionSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ModelProvidersClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ModelProvidersClient.g.cs index 33d35971..02bea60f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ModelProvidersClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ModelProvidersClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ModelProvidersClient : global::LabelStudio.IModelPro /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Organizations2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Organizations2Client.g.cs index 2b908646..892f3fef 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Organizations2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Organizations2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Organizations2Client : global::LabelStudio.IOrganiza /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.g.cs index 0bb86dd4..86c4988c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.OrganizationsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class OrganizationsClient : global::LabelStudio.IOrganizat /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.OrganizationsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.OrganizationsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.PausesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.PausesClient.g.cs index 6821e38d..648f748e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.PausesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.PausesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class PausesClient : global::LabelStudio.IPausesClient, gl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.PausesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.PausesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.g.cs index a2b78a4a..e844eeb2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Predictions2Client : global::LabelStudio.IPrediction /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.g.cs index 013dba87..dd2dd278 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class PredictionsClient : global::LabelStudio.IPredictions /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.PredictionsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.PredictionsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ProjectRolesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectRolesClient.g.cs index 95994907..ffd450cc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ProjectRolesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectRolesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ProjectRolesClient : global::LabelStudio.IProjectRol /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.ProjectRolesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.ProjectRolesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.g.cs index cfb08ead..d1b68fef 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ProjectTemplatesClient : global::LabelStudio.IProjec /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.ProjectTemplatesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.ProjectTemplatesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Projects2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Projects2Client.g.cs index 9c3c7c9a..8e8e7615 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Projects2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Projects2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Projects2Client : global::LabelStudio.IProjects2Clie /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.g.cs index ab2818cc..d4f41bea 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ProjectsClient : global::LabelStudio.IProjectsClient /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.ProjectsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.ProjectsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Prompts2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Prompts2Client.g.cs index f562090c..b278ceb1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Prompts2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Prompts2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Prompts2Client : global::LabelStudio.IPrompts2Client /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.g.cs index 73b781f5..75cbbd61 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class PromptsClient : global::LabelStudio.IPromptsClient, /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.PromptsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.PromptsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ReviewRoutingRulesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ReviewRoutingRulesClient.g.cs index ad8f8fa7..e8f21a85 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ReviewRoutingRulesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ReviewRoutingRulesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ReviewRoutingRulesClient : global::LabelStudio.IRevi /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.ReviewRoutingRulesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.ReviewRoutingRulesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.SessionPolicyClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.SessionPolicyClient.g.cs index 61620e33..7f9ee8db 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.SessionPolicyClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.SessionPolicyClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class SessionPolicyClient : global::LabelStudio.ISessionPo /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.SsoClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.SsoClient.g.cs index ab21a777..298ffdb2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.SsoClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.SsoClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class SsoClient : global::LabelStudio.ISsoClient, global:: /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SsoSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SsoSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StatesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StatesClient.g.cs index 7ac49770..46a2e6a5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StatesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StatesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StatesClient : global::LabelStudio.IStatesClient, gl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StatsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StatsClient.g.cs index 8a9d2eab..7d5566ff 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StatsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StatsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StatsClient : global::LabelStudio.IStatsClient, glob /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StatsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StatsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.g.cs index 6de7bd7e..66c3901a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageAzureClient : global::LabelStudio.IStorageAzu /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageAzureSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageAzureSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureSpiClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureSpiClient.g.cs index e5672096..b2036dff 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureSpiClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureSpiClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageAzureSpiClient : global::LabelStudio.IStorage /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageAzureSpiSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageAzureSpiSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageClient.g.cs index 2dcc64e9..be79f339 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageClient : global::LabelStudio.IStorageClient, /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.g.cs index 5660a0ec..f50154cd 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageDatabricksFilesClient : global::LabelStudio.I /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageDatabricksFilesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageDatabricksFilesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.g.cs index 7d6bda66..d749b794 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageGcsClient : global::LabelStudio.IStorageGcsCl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageGcsSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageGcsSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsSaClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsSaClient.g.cs index d0658c21..62c53ce7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsSaClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsSaClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageGcsSaClient : global::LabelStudio.IStorageGcs /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageGcsSaSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageGcsSaSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsWifClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsWifClient.g.cs index ce0384fa..1e0de887 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsWifClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsWifClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageGcsWifClient : global::LabelStudio.IStorageGc /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageGcsWifSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageGcsWifSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.g.cs index 2b154151..1118d2a6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageLocalClient : global::LabelStudio.IStorageLoc /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageLocalSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageLocalSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.g.cs index 9a117e6e..35c82f7b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageRedisClient : global::LabelStudio.IStorageRed /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageRedisSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageRedisSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.g.cs index de86fc98..6f306f89 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageS3Client : global::LabelStudio.IStorageS3Clie /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageS3SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageS3SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3RolesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3RolesClient.g.cs index 36dc8f05..f56ad3ac 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3RolesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3RolesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class StorageS3RolesClient : global::LabelStudio.IStorageS /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.StorageS3RolesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.StorageS3RolesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.g.cs index f32051e1..9d02a59a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Tasks2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Tasks2Client : global::LabelStudio.ITasks2Client, gl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.g.cs index b483f603..a075b897 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class TasksClient : global::LabelStudio.ITasksClient, glob /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.TasksSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.TasksSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.TokensClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.TokensClient.g.cs index 8155d687..4019ffc6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.TokensClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.TokensClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class TokensClient : global::LabelStudio.ITokensClient, gl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.g.cs index 33fcc323..defd44e6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class UsersClient : global::LabelStudio.IUsersClient, glob /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.VersionsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.VersionsClient.g.cs index cdc1935c..0d74deef 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.VersionsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.VersionsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class VersionsClient : global::LabelStudio.IVersionsClient /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.g.cs index d53abb42..9992f76b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class ViewsClient : global::LabelStudio.IViewsClient, glob /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Webhooks2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Webhooks2Client.g.cs index 7896bdc2..6931e6a9 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Webhooks2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Webhooks2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Webhooks2Client : global::LabelStudio.IWebhooks2Clie /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.WebhooksClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.WebhooksClient.g.cs index 38a5c719..cf9bf210 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.WebhooksClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.WebhooksClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class WebhooksClient : global::LabelStudio.IWebhooksClient /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.WebhooksSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.WebhooksSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.g.cs index 41b75d5c..d419cb64 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.g.cs @@ -34,14 +34,14 @@ public sealed partial class Workspaces2Client : global::LabelStudio.IWorkspaces2 /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.SourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.WorkspacesClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.WorkspacesClient.g.cs index 591753dc..19247604 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.WorkspacesClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.WorkspacesClient.g.cs @@ -34,14 +34,14 @@ public sealed partial class WorkspacesClient : global::LabelStudio.IWorkspacesCl /// public global::LabelStudio.AutoSDKClientOptions Options { get; } - internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.WorkspacesSourceGenerationContext.Default); + internal global::System.Lazy? JsonSerializerContextProvider { get; set; } /// /// /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider.Value; + get => JsonSerializerContextProvider?.Value ?? global::LabelStudio.WorkspacesSourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); }