diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ILearningResourcesClient.ApiLearningResourcesUserProgressQuizAttemptsRetrieve.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ILearningResourcesClient.ApiLearningResourcesUserProgressQuizAttemptsRetrieve.g.cs new file mode 100644 index 00000000..9ec813e4 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.ILearningResourcesClient.ApiLearningResourcesUserProgressQuizAttemptsRetrieve.g.cs @@ -0,0 +1,48 @@ +#nullable enable + +namespace LabelStudio +{ + public partial interface ILearningResourcesClient + { + /// + /// ✨ Get quiz attempt history for a learner
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// View every quiz submission by one learner on this course, including answers and correct-answer keys. Restricted to roles with learning.manage permission. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync( + int id, + string userId, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// ✨ Get quiz attempt history for a learner
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// View every quiz submission by one learner on this course, including answers and correct-answer keys. Restricted to roles with learning.manage permission. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + global::System.Threading.Tasks.Task> ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsResponseAsync( + int id, + string userId, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IWorkspaces2Client.List.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IWorkspaces2Client.List.g.cs index 1b5c57fa..d4772112 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IWorkspaces2Client.List.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IWorkspaces2Client.List.g.cs @@ -15,6 +15,7 @@ public partial interface IWorkspaces2Client /// List all workspaces for your organization. Workspaces in Label Studio let you organize your projects and users into separate spaces. This is useful for managing different teams, departments, or projects within your organization. For more information, see the [Workspaces documentation](https://docs.humansignal.com/workspaces). /// /// + /// /// /// /// @@ -23,6 +24,7 @@ public partial interface IWorkspaces2Client /// global::System.Threading.Tasks.Task> ListAsync( bool? includeAllWorkspaces = default, + bool? interfaceTargets = default, bool? isArchived = default, bool? isPersonal = default, string? ordering = default, @@ -39,6 +41,7 @@ public partial interface IWorkspaces2Client /// List all workspaces for your organization. Workspaces in Label Studio let you organize your projects and users into separate spaces. This is useful for managing different teams, departments, or projects within your organization. For more information, see the [Workspaces documentation](https://docs.humansignal.com/workspaces). /// /// + /// /// /// /// @@ -47,6 +50,7 @@ public partial interface IWorkspaces2Client /// global::System.Threading.Tasks.Task>> ListAsResponseAsync( bool? includeAllWorkspaces = default, + bool? interfaceTargets = default, bool? isArchived = default, bool? isPersonal = default, string? ordering = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs index 1aaad185..0515def1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs @@ -680,6 +680,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PromptPreviewResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PublishLearningResourceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RetakeScopeEnum), TypeInfoPropertyName = "RetakeScopeEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttempt))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttemptQuestion))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttemptHistory))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttemptHistoryQuiz))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizLegacyResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluateModeEnum), TypeInfoPropertyName = "ReEvaluateModeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluateRequest))] @@ -1017,14 +1025,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OrganizationPermissionRoleEnum?), TypeInfoPropertyName = "NullableOrganizationPermissionRoleEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RoleBasedTask?), TypeInfoPropertyName = "NullableRoleBasedTask2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.StandardUserTypeEnum?), TypeInfoPropertyName = "NullableStandardUserTypeEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReasonEnum?), TypeInfoPropertyName = "NullableReasonEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfStringInt32SingleBooleanObjectObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(float?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemFilter?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemOperator?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsOrderingRequestItem?), TypeInfoPropertyName = "NullablePrepareParamsOrderingRequestItem2")] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1046,6 +1046,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ListListDouble_System_Collections_Generic_List_global_System_Collections_Generic_List_double")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "ListDouble_System_Collections_Generic_List_double_3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List>), TypeInfoPropertyName = "ListListDouble_System_Collections_Generic_List_global_System_Collections_Generic_List_double_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReasonEnum?), TypeInfoPropertyName = "NullableReasonEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemChildFilterFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemChildFilterOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfStringInt32SingleBooleanObjectObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(float?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemFilter?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemOperator?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsOrderingRequestItem?), TypeInfoPropertyName = "NullablePrepareParamsOrderingRequestItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfPrepareParamsRequestRequestSelectedItemsAllFalsePrepareParamsRequestRequestSelectedItemsAllTrue2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectDuplicateModeEnum?), TypeInfoPropertyName = "NullableProjectDuplicateModeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroupRoleEnum?), TypeInfoPropertyName = "NullableProjectGroupRoleEnum2")] @@ -1170,6 +1178,9 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs index e906c6bd..ae966df5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs @@ -2546,1095 +2546,1127 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::LabelStudio.ReEvaluate? Type627 { get; set; } + public global::LabelStudio.QuizAttempt? Type627 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluateModeEnum? Type628 { get; set; } + public global::System.Collections.Generic.IList? Type628 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluateRequest? Type629 { get; set; } + public global::LabelStudio.QuizAttemptQuestion? Type629 { get; set; } /// /// /// - public global::LabelStudio.RedisExportStorage? Type630 { get; set; } + public global::LabelStudio.QuizAttemptHistory? Type630 { get; set; } /// /// /// - public global::LabelStudio.RedisExportStorageValidateRequest? Type631 { get; set; } + public global::System.Collections.Generic.IList? Type631 { get; set; } /// /// /// - public global::LabelStudio.RedisExportStorageWriteRequest? Type632 { get; set; } + public global::LabelStudio.QuizAttemptHistoryQuiz? Type632 { get; set; } /// /// /// - public global::LabelStudio.RedisImportStorage? Type633 { get; set; } + public global::System.Collections.Generic.IList? Type633 { get; set; } /// /// /// - public global::LabelStudio.RedisImportStorageValidateRequest? Type634 { get; set; } + public global::LabelStudio.QuizLegacyResult? Type634 { get; set; } /// /// /// - public global::LabelStudio.RedisImportStorageWriteRequest? Type635 { get; set; } + public global::System.Collections.Generic.Dictionary? Type635 { get; set; } /// /// /// - public global::LabelStudio.RefinePromptRequestRequest? Type636 { get; set; } + public global::LabelStudio.ReEvaluate? Type636 { get; set; } /// /// /// - public global::LabelStudio.RefinedPromptResponse? Type637 { get; set; } + public global::LabelStudio.ReEvaluateModeEnum? Type637 { get; set; } /// /// /// - public global::LabelStudio.ThirdPartyModelVersion? Type638 { get; set; } + public global::LabelStudio.ReEvaluateRequest? Type638 { get; set; } /// /// /// - public global::LabelStudio.RegressionSummary? Type639 { get; set; } + public global::LabelStudio.RedisExportStorage? Type639 { get; set; } /// /// /// - public global::LabelStudio.RegressionsResponse? Type640 { get; set; } + public global::LabelStudio.RedisExportStorageValidateRequest? Type640 { get; set; } /// /// /// - public global::LabelStudio.RequeueRejectedTasksModeEnum? Type641 { get; set; } + public global::LabelStudio.RedisExportStorageWriteRequest? Type641 { get; set; } /// /// /// - public global::LabelStudio.RetakeReasonEnum? Type642 { get; set; } + public global::LabelStudio.RedisImportStorage? Type642 { get; set; } /// /// /// - public global::LabelStudio.ReviewCriteriaEnum? Type643 { get; set; } + public global::LabelStudio.RedisImportStorageValidateRequest? Type643 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRule? Type644 { get; set; } + public global::LabelStudio.RedisImportStorageWriteRequest? Type644 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRuleRequestRequest? Type645 { get; set; } + public global::LabelStudio.RefinePromptRequestRequest? Type645 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRulesReplaceRequest? Type646 { get; set; } + public global::LabelStudio.RefinedPromptResponse? Type646 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type647 { get; set; } + public global::LabelStudio.ThirdPartyModelVersion? Type647 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type648 { get; set; } + public global::LabelStudio.RegressionSummary? Type648 { get; set; } /// /// /// - public global::LabelStudio.ReviewSettingsSamplingEnum? Type649 { get; set; } + public global::LabelStudio.RegressionsResponse? Type649 { get; set; } /// /// /// - public global::LabelStudio.RevokeCertificateRequest? Type650 { get; set; } + public global::LabelStudio.RequeueRejectedTasksModeEnum? Type650 { get; set; } /// /// /// - public global::LabelStudio.RevokeInviteRequest? Type651 { get; set; } + public global::LabelStudio.RetakeReasonEnum? Type651 { get; set; } /// /// /// - public global::LabelStudio.S3DatasetStorage? Type652 { get; set; } + public global::LabelStudio.ReviewCriteriaEnum? Type652 { get; set; } /// /// /// - public global::LabelStudio.S3DatasetStorageRequest? Type653 { get; set; } + public global::LabelStudio.ReviewRoutingRule? Type653 { get; set; } /// /// /// - public global::LabelStudio.S3ExportStorage? Type654 { get; set; } + public global::LabelStudio.ReviewRoutingRuleRequestRequest? Type654 { get; set; } /// /// /// - public global::LabelStudio.S3ExportStorageValidateRequest? Type655 { get; set; } + public global::LabelStudio.ReviewRoutingRulesReplaceRequest? Type655 { get; set; } /// /// /// - public global::LabelStudio.S3ExportStorageWriteRequest? Type656 { get; set; } + public global::System.Collections.Generic.IList? Type656 { get; set; } /// /// /// - public global::LabelStudio.S3ImportStorage? Type657 { get; set; } + public global::System.Collections.Generic.IList? Type657 { get; set; } /// /// /// - public global::LabelStudio.S3ImportStorageValidateRequest? Type658 { get; set; } + public global::LabelStudio.ReviewSettingsSamplingEnum? Type658 { get; set; } /// /// /// - public global::LabelStudio.S3ImportStorageWriteRequest? Type659 { get; set; } + public global::LabelStudio.RevokeCertificateRequest? Type659 { get; set; } /// /// /// - public global::LabelStudio.SamlSettings? Type660 { get; set; } + public global::LabelStudio.RevokeInviteRequest? Type660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type661 { get; set; } + public global::LabelStudio.S3DatasetStorage? Type661 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type662 { get; set; } + public global::LabelStudio.S3DatasetStorageRequest? Type662 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type663 { get; set; } + public global::LabelStudio.S3ExportStorage? Type663 { get; set; } /// /// /// - public global::LabelStudio.SamlSettingsUpdate? Type664 { get; set; } + public global::LabelStudio.S3ExportStorageValidateRequest? Type664 { get; set; } /// /// /// - public global::LabelStudio.SamlSettingsUpdateRequest? Type665 { get; set; } + public global::LabelStudio.S3ExportStorageWriteRequest? Type665 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type666 { get; set; } + public global::LabelStudio.S3ImportStorage? Type666 { get; set; } /// /// /// - public global::LabelStudio.ScimSettings? Type667 { get; set; } + public global::LabelStudio.S3ImportStorageValidateRequest? Type667 { get; set; } /// /// /// - public global::LabelStudio.ScimSettingsUpdate? Type668 { get; set; } + public global::LabelStudio.S3ImportStorageWriteRequest? Type668 { get; set; } /// /// /// - public global::LabelStudio.ScimSettingsUpdateRequest? Type669 { get; set; } + public global::LabelStudio.SamlSettings? Type669 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type670 { get; set; } + public global::System.Collections.Generic.IList? Type670 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type671 { get; set; } + public global::System.Collections.Generic.IList>? Type671 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type672 { get; set; } + public global::LabelStudio.SamlSettingsUpdate? Type672 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceAccessAssignment? Type673 { get; set; } + public global::LabelStudio.SamlSettingsUpdateRequest? Type673 { get; set; } /// /// /// - public global::LabelStudio.SendInviteRequest? Type674 { get; set; } + public global::System.Collections.Generic.IList? Type674 { get; set; } /// /// /// - public global::LabelStudio.SerializationOption? Type675 { get; set; } + public global::LabelStudio.ScimSettings? Type675 { get; set; } /// /// /// - public global::LabelStudio.SerializationOptionRequest? Type676 { get; set; } + public global::LabelStudio.ScimSettingsUpdate? Type676 { get; set; } /// /// /// - public global::LabelStudio.SessionTimeoutPolicy? Type677 { get; set; } + public global::LabelStudio.ScimSettingsUpdateRequest? Type677 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillCancelResponse? Type678 { get; set; } + public global::System.Collections.Generic.IList? Type678 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillErrorResponse? Type679 { get; set; } + public global::System.Collections.Generic.IList? Type679 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobItem? Type680 { get; set; } + public global::System.Collections.Generic.IList? Type680 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobItemResponse? Type681 { get; set; } + public global::LabelStudio.WorkspaceAccessAssignment? Type681 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillProgress? Type682 { get; set; } + public global::LabelStudio.SendInviteRequest? Type682 { get; set; } /// /// /// - public global::LabelStudio.StateTriggeredBy? Type683 { get; set; } + public global::LabelStudio.SerializationOption? Type683 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobListResponse? Type684 { get; set; } + public global::LabelStudio.SerializationOptionRequest? Type684 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type685 { get; set; } + public global::LabelStudio.SessionTimeoutPolicy? Type685 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillOrgStatus? Type686 { get; set; } + public global::LabelStudio.StateBackfillCancelResponse? Type686 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillResponse? Type687 { get; set; } + public global::LabelStudio.StateBackfillErrorResponse? Type687 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type688 { get; set; } + public global::LabelStudio.StateBackfillJobItem? Type688 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillStatusResponse? Type689 { get; set; } + public global::LabelStudio.StateBackfillJobItemResponse? Type689 { get; set; } /// /// /// - public global::LabelStudio.TriggeredBy2? Type690 { get; set; } + public global::LabelStudio.StateBackfillProgress? Type690 { get; set; } /// /// /// - public global::LabelStudio.TaskAgreementMatrixResponse? Type691 { get; set; } + public global::LabelStudio.StateTriggeredBy? Type691 { get; set; } /// /// /// - public global::LabelStudio.TaskAssigneesMutationRequest? Type692 { get; set; } + public global::LabelStudio.StateBackfillJobListResponse? Type692 { get; set; } /// /// /// - public global::LabelStudio.TaskAssignment? Type693 { get; set; } + public global::System.Collections.Generic.IList? Type693 { get; set; } /// /// /// - public global::LabelStudio.TaskEvent? Type694 { get; set; } + public global::LabelStudio.StateBackfillOrgStatus? Type694 { get; set; } /// /// /// - public global::LabelStudio.TaskEventRequest? Type695 { get; set; } + public global::LabelStudio.StateBackfillResponse? Type695 { get; set; } /// /// /// - public global::LabelStudio.TaskSimple? Type696 { get; set; } + public global::System.Collections.Generic.IList? Type696 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type697 { get; set; } + public global::LabelStudio.StateBackfillStatusResponse? Type697 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type698 { get; set; } + public global::LabelStudio.TriggeredBy2? Type698 { get; set; } /// /// /// - public global::LabelStudio.ThirdPartyModelVersionRequest? Type699 { get; set; } + public global::LabelStudio.TaskAgreementMatrixResponse? Type699 { get; set; } /// /// /// - public global::LabelStudio.TokenDetailError? Type700 { get; set; } + public global::LabelStudio.TaskAssigneesMutationRequest? Type700 { get; set; } /// /// /// - public global::LabelStudio.TokenRefreshRequest? Type701 { get; set; } + public global::LabelStudio.TaskAssignment? Type701 { get; set; } /// /// /// - public global::LabelStudio.TokenRefreshResponse? Type702 { get; set; } + public global::LabelStudio.TaskEvent? Type702 { get; set; } /// /// /// - public global::LabelStudio.TokenRotateResponse? Type703 { get; set; } + public global::LabelStudio.TaskEventRequest? Type703 { get; set; } /// /// /// - public global::LabelStudio.TryTaskRequestRequest? Type704 { get; set; } + public global::LabelStudio.TaskSimple? Type704 { get; set; } /// /// /// - public global::LabelStudio.TryTaskResponse? Type705 { get; set; } + public global::System.Collections.Generic.IList? Type705 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlDomainRequestRequest? Type706 { get; set; } + public global::System.Collections.Generic.IList? Type706 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlDomainResponse? Type707 { get; set; } + public global::LabelStudio.ThirdPartyModelVersionRequest? Type707 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlMetadataUrlRequestRequest? Type708 { get; set; } + public global::LabelStudio.TokenDetailError? Type708 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlMetadataUrlResponse? Type709 { get; set; } + public global::LabelStudio.TokenRefreshRequest? Type709 { get; set; } /// /// /// - public global::LabelStudio.ValueCountsBackfillJob? Type710 { get; set; } + public global::LabelStudio.TokenRefreshResponse? Type710 { get; set; } /// /// /// - public global::LabelStudio.VersionResponse? Type711 { get; set; } + public global::LabelStudio.TokenRotateResponse? Type711 { get; set; } /// /// /// - public global::LabelStudio.View? Type712 { get; set; } + public global::LabelStudio.TryTaskRequestRequest? Type712 { get; set; } /// /// /// - public global::LabelStudio.ViewLockedBy? Type713 { get; set; } + public global::LabelStudio.TryTaskResponse? Type713 { get; set; } /// /// /// - public global::LabelStudio.ViewOrderRequest? Type714 { get; set; } + public global::LabelStudio.ValidateSamlDomainRequestRequest? Type714 { get; set; } /// /// /// - public global::LabelStudio.ViewRequestRequest? Type715 { get; set; } + public global::LabelStudio.ValidateSamlDomainResponse? Type715 { get; set; } /// /// /// - public global::LabelStudio.Webhook? Type716 { get; set; } + public global::LabelStudio.ValidateSamlMetadataUrlRequestRequest? Type716 { get; set; } /// /// /// - public global::LabelStudio.WebhookRequest? Type717 { get; set; } + public global::LabelStudio.ValidateSamlMetadataUrlResponse? Type717 { get; set; } /// /// /// - public global::LabelStudio.WebhookSerializerForUpdate? Type718 { get; set; } + public global::LabelStudio.ValueCountsBackfillJob? Type718 { get; set; } /// /// /// - public global::LabelStudio.WebhookSerializerForUpdateRequest? Type719 { get; set; } + public global::LabelStudio.VersionResponse? Type719 { get; set; } /// /// /// - public global::LabelStudio.WhoAmILseFields? Type720 { get; set; } + public global::LabelStudio.View? Type720 { get; set; } /// /// /// - public global::LabelStudio.WhoAmIUser? Type721 { get; set; } + public global::LabelStudio.ViewLockedBy? Type721 { get; set; } /// /// /// - public global::LabelStudio.Workspace? Type722 { get; set; } + public global::LabelStudio.ViewOrderRequest? Type722 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberBulkAssignRequest? Type723 { get; set; } + public global::LabelStudio.ViewRequestRequest? Type723 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberCreate? Type724 { get; set; } + public global::LabelStudio.Webhook? Type724 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberCreateRequest? Type725 { get; set; } + public global::LabelStudio.WebhookRequest? Type725 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberList? Type726 { get; set; } + public global::LabelStudio.WebhookSerializerForUpdate? Type726 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceProjectsRequest? Type727 { get; set; } + public global::LabelStudio.WebhookSerializerForUpdateRequest? Type727 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceRequest? Type728 { get; set; } + public global::LabelStudio.WhoAmILseFields? Type728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type729 { get; set; } + public global::LabelStudio.WhoAmIUser? Type729 { get; set; } /// /// /// - public global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest? Type730 { get; set; } + public global::LabelStudio.Workspace? Type730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type731 { get; set; } + public global::LabelStudio.WorkspaceMemberBulkAssignRequest? Type731 { get; set; } /// /// /// - public global::LabelStudio.ApiActivityLogsListMethod? Type732 { get; set; } + public global::LabelStudio.WorkspaceMemberCreate? Type732 { get; set; } /// /// /// - public global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime? Type733 { get; set; } + public global::LabelStudio.WorkspaceMemberCreateRequest? Type733 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateId? Type734 { get; set; } + public global::LabelStudio.WorkspaceMemberList? Type734 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsIdpAssignmentsHistoryListKind? Type735 { get; set; } + public global::LabelStudio.WorkspaceProjectsRequest? Type735 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource? Type736 { get; set; } + public global::LabelStudio.WorkspaceRequest? Type736 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType? Type737 { get; set; } + public global::System.Collections.Generic.IList? Type737 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind? Type738 { get; set; } + public global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest? Type738 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsJobsListStatus? Type739 { get; set; } + public global::System.Collections.Generic.IList? Type739 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode? Type740 { get; set; } + public global::LabelStudio.ApiActivityLogsListMethod? Type740 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsMembersPaginatedListTagsOperator? Type741 { get; set; } + public global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime? Type741 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable? Type742 { get; set; } + public global::LabelStudio.ApiDmActionsCreateId? Type742 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable? Type743 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsIdpAssignmentsHistoryListKind? Type743 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveTable? Type744 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource? Type744 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesDestroyType? Type745 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType? Type745 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsSubsetTasksListAlignmentOutcome? Type746 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind? Type746 { get; set; } /// /// /// - public global::LabelStudio.ApiPromptsCompatibleProjectsListProjectType? Type747 { get; set; } + public global::LabelStudio.ApiOrganizationsJobsListStatus? Type747 { get; set; } /// /// /// - public global::LabelStudio.ApiPromptsVersionsInferenceRunsListProjectSubset? Type748 { get; set; } + public global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode? Type748 { get; set; } /// /// /// - public global::LabelStudio.ApiTasksListFields? Type749 { get; set; } + public global::LabelStudio.ApiProjectsMembersPaginatedListTagsOperator? Type749 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type750 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable? Type750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type751 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable? Type751 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type752 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveTable? Type752 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationHistoryDestroyResponse? Type753 { get; set; } + public global::LabelStudio.ApiProjectsTasksAssigneesDestroyType? Type753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type754 { get; set; } + public global::LabelStudio.ApiProjectsSubsetTasksListAlignmentOutcome? Type754 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationsBulkDeleteCreateResponse? Type755 { get; set; } + public global::LabelStudio.ApiPromptsCompatibleProjectsListProjectType? Type755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type756 { get; set; } + public global::LabelStudio.ApiPromptsVersionsInferenceRunsListProjectSubset? Type756 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationsBulkCreateResponseItem? Type757 { get; set; } + public global::LabelStudio.ApiTasksListFields? Type757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type758 { get; set; } + public global::System.Collections.Generic.IList? Type758 { get; set; } /// /// /// - public global::LabelStudio.ApiCurrentUserResetTokenCreateResponse? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::LabelStudio.ApiCurrentUserTokenRetrieveResponse? Type760 { get; set; } + public global::System.Collections.Generic.IList? Type760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type761 { get; set; } + public global::LabelStudio.ApiAnnotationHistoryDestroyResponse? Type761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type762 { get; set; } + public global::System.Collections.Generic.IList? Type762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type763 { get; set; } + public global::LabelStudio.ApiAnnotationsBulkDeleteCreateResponse? Type763 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type764 { get; set; } + public global::System.Collections.Generic.IList? Type764 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type765 { get; set; } + public global::LabelStudio.ApiAnnotationsBulkCreateResponseItem? Type765 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type766 { get; set; } + public global::System.Collections.Generic.IList? Type766 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type767 { get; set; } + public global::LabelStudio.ApiCurrentUserResetTokenCreateResponse? Type767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type768 { get; set; } + public global::LabelStudio.ApiCurrentUserTokenRetrieveResponse? Type768 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type769 { get; set; } + public global::System.Collections.Generic.IList? Type769 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsRetrieveResponseItem? Type770 { get; set; } + public global::System.Collections.Generic.IList? Type770 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsRetrieveResponseItemDialog? Type771 { get; set; } + public global::System.Collections.Generic.IList? Type771 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type772 { get; set; } + public global::System.Collections.Generic.IList? Type772 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type773 { get; set; } + public global::System.Collections.Generic.IList? Type773 { get; set; } /// /// /// - public global::LabelStudio.ApiInferenceRunsIndicatorsListResponseItem? Type774 { get; set; } + public global::System.Collections.Generic.IList? Type774 { get; set; } /// /// /// - public global::LabelStudio.ApiLearningResourcesUserProgressBulkResetCreateResponse? Type775 { get; set; } + public global::System.Collections.Generic.IList? Type775 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse? Type776 { get; set; } + public global::System.Collections.Generic.IList? Type776 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type777 { get; set; } + public global::System.Collections.Generic.IList? Type777 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoice? Type778 { get; set; } + public global::LabelStudio.ApiDmActionsRetrieveResponseItem? Type778 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoiceMessage? Type779 { get; set; } + public global::LabelStudio.ApiDmActionsRetrieveResponseItemDialog? Type779 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type780 { get; set; } + public global::System.Collections.Generic.IList? Type780 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseUsage? Type781 { get; set; } + public global::System.Collections.Generic.IList? Type781 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse2? Type782 { get; set; } + public global::LabelStudio.ApiInferenceRunsIndicatorsListResponseItem? Type782 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type783 { get; set; } + public global::LabelStudio.ApiLearningResourcesUserProgressBulkResetCreateResponse? Type783 { get; set; } /// /// /// - public global::LabelStudio.ApiMlVersionsRetrieveResponse? Type784 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse? Type784 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type785 { get; set; } + public global::System.Collections.Generic.IList? Type785 { get; set; } /// /// /// - public global::LabelStudio.ApiModelProviderConnectionsProviderChoicesRetrieveResponse? Type786 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoice? Type786 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type787 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoiceMessage? Type787 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsAssignmentsCreateResponse? Type788 { get; set; } + public global::System.DateTimeOffset? Type788 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsBulkDestroyResponse? Type789 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseUsage? Type789 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsBulkCreateResponse? Type790 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse2? Type790 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsImportsCreateResponse? Type791 { get; set; } + public global::System.Collections.Generic.IList? Type791 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type792 { get; set; } + public global::LabelStudio.ApiMlVersionsRetrieveResponse? Type792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type793 { get; set; } + public global::System.Collections.Generic.IList? Type793 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type794 { get; set; } + public global::LabelStudio.ApiModelProviderConnectionsProviderChoicesRetrieveResponse? Type794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type795 { get; set; } + public global::System.Collections.Generic.IList? Type795 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type796 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsAssignmentsCreateResponse? Type796 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type797 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsBulkDestroyResponse? Type797 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type798 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsBulkCreateResponse? Type798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type799 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsImportsCreateResponse? Type799 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponse? Type800 { get; set; } + public global::System.Collections.Generic.IList? Type800 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponseStatus? Type801 { get; set; } + public global::System.Collections.Generic.IList? Type801 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponse? Type802 { get; set; } + public global::System.Collections.Generic.IList? Type802 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponseStatus? Type803 { get; set; } + public global::System.Collections.Generic.IList? Type803 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsDashboardRetrieveResponse? Type804 { get; set; } + public global::System.Collections.Generic.IList? Type804 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsDuplicateCreateResponse? Type805 { get; set; } + public global::System.Collections.Generic.IList? Type805 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type806 { get; set; } + public global::System.Collections.Generic.IList? Type806 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsExportsConvertCreateResponse? Type807 { get; set; } + public global::System.Collections.Generic.IList? Type807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type808 { get; set; } + public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponse? Type808 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponse? Type809 { get; set; } + public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponseStatus? Type809 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponseStatus? Type810 { get; set; } + public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponse? Type810 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsImportCreateResponse? Type811 { get; set; } + public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponseStatus? Type811 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsImportPredictionsCreateResponse? Type812 { get; set; } + public global::LabelStudio.ApiProjectsDashboardRetrieveResponse? Type812 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsMembersBulkDestroyResponse? Type813 { get; set; } + public global::LabelStudio.ApiProjectsDuplicateCreateResponse? Type813 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsAgreementRetrieveResponse? Type814 { get; set; } + public global::System.Collections.Generic.IList? Type814 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsAgreementGroundtruthRetrieveResponse? Type815 { get; set; } + public global::LabelStudio.ApiProjectsExportsConvertCreateResponse? Type815 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsPredictionRetrieveResponse? Type816 { get; set; } + public global::System.Collections.Generic.IList? Type816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type817 { get; set; } + public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponse? Type817 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsIaaRetrieveResponse? Type818 { get; set; } + public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponseStatus? Type818 { get; set; } /// /// /// - public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? Type819 { get; set; } + public global::LabelStudio.ApiProjectsImportCreateResponse? Type819 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>>? Type820 { get; set; } + public global::LabelStudio.ApiProjectsImportPredictionsCreateResponse? Type820 { get; set; } /// /// /// - public global::LabelStudio.OneOf>? Type821 { get; set; } + public global::LabelStudio.ApiProjectsMembersBulkDestroyResponse? Type821 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementGroundtruthRetrieveResponse? Type822 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsAgreementRetrieveResponse? Type822 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorRetrieveResponse? Type823 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsAgreementGroundtruthRetrieveResponse? Type823 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorsRetrieveResponse? Type824 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsPredictionRetrieveResponse? Type824 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponse? Type825 { get; set; } + public global::System.Collections.Generic.IList? Type825 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFilters? Type826 { get; set; } + public global::LabelStudio.ApiProjectsStatsIaaRetrieveResponse? Type826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type827 { get; set; } + public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? Type827 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFiltersStat? Type828 { get; set; } + public global::System.Collections.Generic.Dictionary>>? Type828 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsFinishedRetrieveResponse? Type829 { get; set; } + public global::LabelStudio.OneOf>? Type829 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponse? Type830 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementGroundtruthRetrieveResponse? Type830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type831 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorRetrieveResponse? Type831 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponseLeadTimeStat? Type832 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorsRetrieveResponse? Type832 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveResponse? Type833 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponse? Type833 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveResponse? Type834 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFilters? Type834 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant1? Type835 { get; set; } + public global::System.Collections.Generic.IList? Type835 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant2? Type836 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFiltersStat? Type836 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type837 { get; set; } + public global::LabelStudio.ApiProjectsStatsFinishedRetrieveResponse? Type837 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateResponse? Type838 { get; set; } + public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponse? Type838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type839 { get; set; } + public global::System.Collections.Generic.IList? Type839 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsPredictionListResponse? Type840 { get; set; } + public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponseLeadTimeStat? Type840 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsReviewScoreListResponse? Type841 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveResponse? Type841 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsPredictionRetrieveResponse? Type842 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveResponse? Type842 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsReviewScoreRetrieveResponse? Type843 { get; set; } + public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant1? Type843 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUsersStatsAgreementGroundtruthRetrieveResponse? Type844 { get; set; } + public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant2? Type844 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type845 { get; set; } + public global::System.Collections.Generic.IList? Type845 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type846 { get; set; } + public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateResponse? Type846 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type847 { get; set; } + public global::System.Collections.Generic.IList? Type847 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type848 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsPredictionListResponse? Type848 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type849 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsReviewScoreListResponse? Type849 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type850 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsPredictionRetrieveResponse? Type850 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type851 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsReviewScoreRetrieveResponse? Type851 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type852 { get; set; } + public global::LabelStudio.ApiProjectsUsersStatsAgreementGroundtruthRetrieveResponse? Type852 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type853 { get; set; } + public global::System.Collections.Generic.IList? Type853 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type854 { get; set; } + public global::System.Collections.Generic.IList? Type854 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type855 { get; set; } + public global::System.Collections.Generic.IList? Type855 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type856 { get; set; } + public global::System.Collections.Generic.IList? Type856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type857 { get; set; } + public global::System.Collections.Generic.IList? Type857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type858 { get; set; } + public global::System.Collections.Generic.IList? Type858 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type859 { get; set; } + public global::System.Collections.Generic.IList? Type859 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type860 { get; set; } + public global::System.Collections.Generic.IList? Type860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type861 { get; set; } + public global::System.Collections.Generic.IList? Type861 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type862 { get; set; } + public global::System.Collections.Generic.IList? Type862 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type863 { get; set; } + public global::System.Collections.Generic.IList? Type863 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type864 { get; set; } + public global::System.Collections.Generic.IList? Type864 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type865 { get; set; } + public global::System.Collections.Generic.IList? Type865 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportTypesRetrieveResponseItem? Type866 { get; set; } + public global::System.Collections.Generic.IList? Type866 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type867 { get; set; } + public global::System.Collections.Generic.IList? Type867 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type868 { get; set; } + public global::System.Collections.Generic.IList? Type868 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type869 { get; set; } + public global::System.Collections.Generic.IList? Type869 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type870 { get; set; } + public global::System.Collections.Generic.IList? Type870 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type871 { get; set; } + public global::System.Collections.Generic.IList? Type871 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type872 { get; set; } + public global::System.Collections.Generic.IList? Type872 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type873 { get; set; } + public global::System.Collections.Generic.IList? Type873 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type874 { get; set; } + public global::LabelStudio.ApiStoragesExportTypesRetrieveResponseItem? Type874 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesTypesRetrieveResponseItem? Type875 { get; set; } + public global::System.Collections.Generic.IList? Type875 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type876 { get; set; } + public global::System.Collections.Generic.IList? Type876 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type877 { get; set; } + public global::System.Collections.Generic.IList? Type877 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type878 { get; set; } + public global::System.Collections.Generic.IList? Type878 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponse? Type879 { get; set; } + public global::System.Collections.Generic.IList? Type879 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsCreated? Type880 { get; set; } + public global::System.Collections.Generic.IList? Type880 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsDeleted? Type881 { get; set; } + public global::System.Collections.Generic.IList? Type881 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationCreated? Type882 { get; set; } + public global::System.Collections.Generic.IList? Type882 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationUpdated? Type883 { get; set; } + public global::LabelStudio.ApiStoragesTypesRetrieveResponseItem? Type883 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkCreated? Type884 { get; set; } + public global::System.Collections.Generic.IList? Type884 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkDeleted? Type885 { get; set; } + public global::System.Collections.Generic.IList? Type885 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkUpdated? Type886 { get; set; } + public global::System.Collections.Generic.IList? Type886 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectCreated? Type887 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponse? Type887 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectDeleted? Type888 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsCreated? Type888 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectUpdated? Type889 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsDeleted? Type889 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewsDeleted? Type890 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationCreated? Type890 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewCreated? Type891 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationUpdated? Type891 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewUpdated? Type892 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkCreated? Type892 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksCreated? Type893 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkDeleted? Type893 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksDeleted? Type894 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkUpdated? Type894 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type895 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectCreated? Type895 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type896 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectDeleted? Type896 { get; set; } /// /// /// - public global::LabelStudio.ApiWorkspacesMembershipsBulkDestroyResponse? Type897 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectUpdated? Type897 { get; set; } /// /// /// - public global::LabelStudio.ApiWorkspacesMembershipsBulkCreateResponse? Type898 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewsDeleted? Type898 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type899 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewCreated? Type899 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewUpdated? Type900 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksCreated? Type901 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksDeleted? Type902 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type903 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type904 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWorkspacesMembershipsBulkDestroyResponse? Type905 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWorkspacesMembershipsBulkCreateResponse? Type906 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type907 { get; set; } /// /// @@ -4003,350 +4035,362 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType92 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType93 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType94 { get; set; } + public global::System.Collections.Generic.List>? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType128 { get; set; } + public global::System.Collections.Generic.List? ListType131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType129 { get; set; } + public global::System.Collections.Generic.List? ListType132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType131 { get; set; } + public global::System.Collections.Generic.List? ListType134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType132 { get; set; } + public global::System.Collections.Generic.List? ListType135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType133 { get; set; } + public global::System.Collections.Generic.List? ListType136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType134 { get; set; } + public global::System.Collections.Generic.List? ListType137 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType135 { get; set; } + public global::System.Collections.Generic.List? ListType138 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType136 { get; set; } + public global::System.Collections.Generic.List? ListType139 { get; set; } /// /// /// - public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? ListType137 { get; set; } + public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? ListType140 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>>? ListType138 { get; set; } + public global::System.Collections.Generic.Dictionary>>? ListType141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType139 { get; set; } + public global::System.Collections.Generic.List? ListType142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType140 { get; set; } + public global::System.Collections.Generic.List? ListType143 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType141 { get; set; } + public global::System.Collections.Generic.List? ListType144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType142 { get; set; } + public global::System.Collections.Generic.List? ListType145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType143 { get; set; } + public global::System.Collections.Generic.List? ListType146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType144 { get; set; } + public global::System.Collections.Generic.List? ListType147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType145 { get; set; } + public global::System.Collections.Generic.List? ListType148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType146 { get; set; } + public global::System.Collections.Generic.List? ListType149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType147 { get; set; } + public global::System.Collections.Generic.List? ListType150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType148 { get; set; } + public global::System.Collections.Generic.List? ListType151 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType149 { get; set; } + public global::System.Collections.Generic.List? ListType152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType150 { get; set; } + public global::System.Collections.Generic.List? ListType153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType151 { get; set; } + public global::System.Collections.Generic.List? ListType154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType152 { get; set; } + public global::System.Collections.Generic.List? ListType155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType153 { get; set; } + public global::System.Collections.Generic.List? ListType156 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType154 { get; set; } + public global::System.Collections.Generic.List? ListType157 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType155 { get; set; } + public global::System.Collections.Generic.List? ListType158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType156 { get; set; } + public global::System.Collections.Generic.List? ListType159 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType157 { get; set; } + public global::System.Collections.Generic.List? ListType160 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType158 { get; set; } + public global::System.Collections.Generic.List? ListType161 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType159 { get; set; } + public global::System.Collections.Generic.List? ListType162 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType160 { get; set; } + public global::System.Collections.Generic.List? ListType163 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType161 { get; set; } + public global::System.Collections.Generic.List? ListType164 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType162 { get; set; } + public global::System.Collections.Generic.List? ListType165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType163 { get; set; } + public global::System.Collections.Generic.List? ListType166 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType164 { get; set; } + public global::System.Collections.Generic.List? ListType167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType165 { get; set; } + public global::System.Collections.Generic.List? ListType168 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType166 { get; set; } + public global::System.Collections.Generic.List? ListType169 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType167 { get; set; } + public global::System.Collections.Generic.List? ListType170 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType168 { get; set; } + public global::System.Collections.Generic.List? ListType171 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType169 { get; set; } + public global::System.Collections.Generic.List? ListType172 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType170 { get; set; } + public global::System.Collections.Generic.List? ListType173 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType171 { get; set; } + public global::System.Collections.Generic.List? ListType174 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType172 { get; set; } + public global::System.Collections.Generic.List? ListType175 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType173 { get; set; } + public global::System.Collections.Generic.List? ListType176 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType174 { get; set; } + public global::System.Collections.Generic.List? ListType177 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType175 { get; set; } + public global::System.Collections.Generic.List? ListType178 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType176 { get; set; } + public global::System.Collections.Generic.List? ListType179 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType177 { get; set; } + public global::System.Collections.Generic.List? ListType180 { get; set; } } } \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LearningResources.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LearningResources.JsonSerializerContext.g.cs index 1060bf55..532459cd 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.LearningResources.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.LearningResources.JsonSerializerContext.g.cs @@ -78,6 +78,14 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLearningAssignmentCreateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PublishLearningResourceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RetakeScopeEnum), TypeInfoPropertyName = "RetakeScopeEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttempt))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttemptQuestion))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttemptHistory))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizAttemptHistoryQuiz))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.QuizLegacyResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RetakeReasonEnum), TypeInfoPropertyName = "RetakeReasonEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RevokeCertificateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest))] @@ -101,6 +109,9 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class LearningResourcesSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LearningResourcesClient.ApiLearningResourcesUserProgressQuizAttemptsRetrieve.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LearningResourcesClient.ApiLearningResourcesUserProgressQuizAttemptsRetrieve.g.cs new file mode 100644 index 00000000..1afed130 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.LearningResourcesClient.ApiLearningResourcesUserProgressQuizAttemptsRetrieve.g.cs @@ -0,0 +1,447 @@ + +#nullable enable + +namespace LabelStudio +{ + public partial class LearningResourcesClient + { + + + private static readonly global::LabelStudio.EndPointSecurityRequirement s_ApiLearningResourcesUserProgressQuizAttemptsRetrieveSecurityRequirement0 = + new global::LabelStudio.EndPointSecurityRequirement + { + Authorizations = new global::LabelStudio.EndPointAuthorizationRequirement[] + { new global::LabelStudio.EndPointAuthorizationRequirement + { + Type = "Http", + SchemeId = "Token", + Location = "Header", + Name = "Bearer", + FriendlyName = "Bearer", + }, + }, + }; + private static readonly global::LabelStudio.EndPointSecurityRequirement[] s_ApiLearningResourcesUserProgressQuizAttemptsRetrieveSecurityRequirements = + new global::LabelStudio.EndPointSecurityRequirement[] + { s_ApiLearningResourcesUserProgressQuizAttemptsRetrieveSecurityRequirement0, + }; + partial void PrepareApiLearningResourcesUserProgressQuizAttemptsRetrieveArguments( + global::System.Net.Http.HttpClient httpClient, + ref int id, + ref string userId); + partial void PrepareApiLearningResourcesUserProgressQuizAttemptsRetrieveRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int id, + string userId); + partial void ProcessApiLearningResourcesUserProgressQuizAttemptsRetrieveResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessApiLearningResourcesUserProgressQuizAttemptsRetrieveResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// ✨ Get quiz attempt history for a learner
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// View every quiz submission by one learner on this course, including answers and correct-answer keys. Restricted to roles with learning.manage permission. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync( + int id, + string userId, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsResponseAsync( + id: id, + userId: userId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// ✨ Get quiz attempt history for a learner
+ /// <Card href="https://humansignal.com/goenterprise">
+ /// <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
+ /// <p style="margin-top: 10px; font-size: 14px;">
+ /// This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
+ /// </p>
+ /// </Card>
+ /// View every quiz submission by one learner on this course, including answers and correct-answer keys. Restricted to roles with learning.manage permission. + ///
+ /// + /// + /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. + /// The token to cancel the operation with + /// + public async global::System.Threading.Tasks.Task> ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsResponseAsync( + int id, + string userId, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareApiLearningResourcesUserProgressQuizAttemptsRetrieveArguments( + httpClient: HttpClient, + id: ref id, + userId: ref userId); + + + var __authorizations = global::LabelStudio.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ApiLearningResourcesUserProgressQuizAttemptsRetrieveSecurityRequirements, + operationName: "ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync"); + + using var __timeoutCancellationTokenSource = global::LabelStudio.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( + clientOptions: Options, + requestOptions: requestOptions, + cancellationToken: cancellationToken); + var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken; + var __effectiveReadResponseAsString = global::LabelStudio.AutoSDKRequestOptionsSupport.GetReadResponseAsString( + clientOptions: Options, + requestOptions: requestOptions, + fallbackValue: ReadResponseAsString); + var __maxAttempts = global::LabelStudio.AutoSDKRequestOptionsSupport.GetMaxAttempts( + clientOptions: Options, + requestOptions: requestOptions, + supportsRetry: true); + + global::System.Net.Http.HttpRequestMessage __CreateHttpRequest() + { + + var __pathBuilder = new global::LabelStudio.PathBuilder( + path: $"/api/learning-resources/{id}/user-progress/{userId}/quiz-attempts/", + baseUri: HttpClient.BaseAddress); + var __path = __pathBuilder.ToString(); + __path = global::LabelStudio.AutoSDKRequestOptionsSupport.AppendQueryParameters( + path: __path, + clientParameters: Options.QueryParameters, + requestParameters: requestOptions?.QueryParameters); + var __httpRequest = new global::System.Net.Http.HttpRequestMessage( + method: global::System.Net.Http.HttpMethod.Get, + requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif + + foreach (var __authorization in __authorizations) + { + if (__authorization.Type == "Http" || + __authorization.Type == "OAuth2" || + __authorization.Type == "OpenIdConnect") + { + __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue( + scheme: __authorization.Name, + parameter: __authorization.Value); + } + else if (__authorization.Type == "ApiKey" && + __authorization.Location == "Header") + { + __httpRequest.Headers.Add(__authorization.Name, __authorization.Value); + } + } + global::LabelStudio.AutoSDKRequestOptionsSupport.ApplyHeaders( + request: __httpRequest, + clientHeaders: Options.Headers, + requestHeaders: requestOptions?.Headers); + + PrepareRequest( + client: HttpClient, + request: __httpRequest); + PrepareApiLearningResourcesUserProgressQuizAttemptsRetrieveRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id, + userId: userId); + + return __httpRequest; + } + + global::System.Net.Http.HttpRequestMessage? __httpRequest = null; + global::System.Net.Http.HttpResponseMessage? __response = null; + var __attemptNumber = 0; + try + { + for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++) + { + __attemptNumber = __attempt; + __httpRequest = __CreateHttpRequest(); + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiLearningResourcesUserProgressQuizAttemptsRetrieve", + methodName: "ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync", + pathTemplate: "$\"/api/learning-resources/{id}/user-progress/{userId}/quiz-attempts/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + try + { + __response = await HttpClient.SendAsync( + request: __httpRequest, + completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + } + catch (global::System.Net.Http.HttpRequestException __exception) + { + var __retryDelay = global::LabelStudio.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: null, + attempt: __attempt); + var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested; + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiLearningResourcesUserProgressQuizAttemptsRetrieve", + methodName: "ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync", + pathTemplate: "$\"/api/learning-resources/{id}/user-progress/{userId}/quiz-attempts/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: null, + exception: __exception, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: __willRetry, + retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null, + retryReason: "exception", + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + if (!__willRetry) + { + throw; + } + + __httpRequest.Dispose(); + __httpRequest = null; + await global::LabelStudio.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + if (__response != null && + __attempt < __maxAttempts && + global::LabelStudio.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode)) + { + var __retryDelay = global::LabelStudio.AutoSDKRequestOptionsSupport.GetRetryDelay( + clientOptions: Options, + requestOptions: requestOptions, + response: __response, + attempt: __attempt); + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiLearningResourcesUserProgressQuizAttemptsRetrieve", + methodName: "ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync", + pathTemplate: "$\"/api/learning-resources/{id}/user-progress/{userId}/quiz-attempts/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attempt, + maxAttempts: __maxAttempts, + willRetry: true, + retryDelay: __retryDelay, + retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture), + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + __response.Dispose(); + __response = null; + __httpRequest.Dispose(); + __httpRequest = null; + await global::LabelStudio.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync( + retryDelay: __retryDelay, + cancellationToken: __effectiveCancellationToken).ConfigureAwait(false); + continue; + } + + break; + } + + if (__response == null) + { + throw new global::System.InvalidOperationException("No response received."); + } + + using (__response) + { + + ProcessResponse( + client: HttpClient, + response: __response); + ProcessApiLearningResourcesUserProgressQuizAttemptsRetrieveResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiLearningResourcesUserProgressQuizAttemptsRetrieve", + methodName: "ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync", + pathTemplate: "$\"/api/learning-resources/{id}/user-progress/{userId}/quiz-attempts/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + else + { + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiLearningResourcesUserProgressQuizAttemptsRetrieve", + methodName: "ApiLearningResourcesUserProgressQuizAttemptsRetrieveAsync", + pathTemplate: "$\"/api/learning-resources/{id}/user-progress/{userId}/quiz-attempts/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), + response: __response, + exception: null, + clientOptions: Options, + requestOptions: requestOptions, + attempt: __attemptNumber, + maxAttempts: __maxAttempts, + willRetry: false, + retryDelay: null, + retryReason: global::System.String.Empty, + cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false); + } + + if (__effectiveReadResponseAsString) + { + var __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + ProcessResponseContent( + client: HttpClient, + response: __response, + content: ref __content); + ProcessApiLearningResourcesUserProgressQuizAttemptsRetrieveResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::LabelStudio.QuizAttemptHistory.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); + return new global::LabelStudio.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + throw global::LabelStudio.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + else + { + try + { + __response.EnsureSuccessStatusCode(); + using var __content = await __response.Content.ReadAsStreamAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + + var __value = await global::LabelStudio.QuizAttemptHistory.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); + return new global::LabelStudio.AutoSDKHttpResponse( + statusCode: __response.StatusCode, + headers: global::LabelStudio.AutoSDKHttpResponse.CreateHeaders(__response), + requestUri: __response.RequestMessage?.RequestUri, + body: __value); + } + catch (global::System.Exception __ex) + { + string? __content = null; + try + { + __content = await __response.Content.ReadAsStringAsync( + #if NET5_0_OR_GREATER + __effectiveCancellationToken + #endif + ).ConfigureAwait(false); + } + catch (global::System.Exception) + { + } + + throw global::LabelStudio.ApiException.Create( + statusCode: __response.StatusCode, + message: __content ?? __response.ReasonPhrase ?? string.Empty, + innerException: __ex, + responseBody: __content, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + } + + } + } + finally + { + __httpRequest?.Dispose(); + } + } + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttempt.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttempt.Json.g.cs new file mode 100644 index 00000000..339ef185 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttempt.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttempt + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttempt? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttempt), + jsonSerializerContext) as global::LabelStudio.QuizAttempt; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttempt? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttempt? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttempt), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttempt; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttempt.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttempt.g.cs new file mode 100644 index 00000000..9d49d9d6 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttempt.g.cs @@ -0,0 +1,95 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizAttempt + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attempt_number")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int AttemptNumber { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passed")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Passed { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("questions")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Questions { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("retake_cycle")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int RetakeCycle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("score_percent")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ScorePercent { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("submitted_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime SubmittedAt { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public QuizAttempt( + int attemptNumber, + bool passed, + global::System.Collections.Generic.IList questions, + int retakeCycle, + int scorePercent, + global::System.DateTime submittedAt) + { + this.AttemptNumber = attemptNumber; + this.Passed = passed; + this.Questions = questions ?? throw new global::System.ArgumentNullException(nameof(questions)); + this.RetakeCycle = retakeCycle; + this.ScorePercent = scorePercent; + this.SubmittedAt = submittedAt; + } + + /// + /// Initializes a new instance of the class. + /// + public QuizAttempt() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistory.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistory.Json.g.cs new file mode 100644 index 00000000..b96dd7fc --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistory.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttemptHistory + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptHistory? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttemptHistory), + jsonSerializerContext) as global::LabelStudio.QuizAttemptHistory; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptHistory? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttemptHistory? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttemptHistory), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttemptHistory; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistory.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistory.g.cs new file mode 100644 index 00000000..988b6b88 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistory.g.cs @@ -0,0 +1,55 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizAttemptHistory + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("quizzes")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Quizzes { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("user_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int UserId { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public QuizAttemptHistory( + global::System.Collections.Generic.IList quizzes, + int userId) + { + this.Quizzes = quizzes ?? throw new global::System.ArgumentNullException(nameof(quizzes)); + this.UserId = userId; + } + + /// + /// Initializes a new instance of the class. + /// + public QuizAttemptHistory() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistoryQuiz.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistoryQuiz.Json.g.cs new file mode 100644 index 00000000..365aee72 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistoryQuiz.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttemptHistoryQuiz + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptHistoryQuiz? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttemptHistoryQuiz), + jsonSerializerContext) as global::LabelStudio.QuizAttemptHistoryQuiz; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptHistoryQuiz? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttemptHistoryQuiz? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttemptHistoryQuiz), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttemptHistoryQuiz; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistoryQuiz.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistoryQuiz.g.cs new file mode 100644 index 00000000..98049af8 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptHistoryQuiz.g.cs @@ -0,0 +1,104 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizAttemptHistoryQuiz + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attempts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Attempts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("legacy_result")] + public global::LabelStudio.QuizLegacyResult? LegacyResult { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("page_title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string PageTitle { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("quiz_id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string QuizId { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("removed")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Removed { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Title { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unrecorded_attempts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int UnrecordedAttempts { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public QuizAttemptHistoryQuiz( + global::System.Collections.Generic.IList attempts, + string pageTitle, + string quizId, + bool removed, + string title, + int unrecordedAttempts, + global::LabelStudio.QuizLegacyResult? legacyResult) + { + this.Attempts = attempts ?? throw new global::System.ArgumentNullException(nameof(attempts)); + this.LegacyResult = legacyResult; + this.PageTitle = pageTitle ?? throw new global::System.ArgumentNullException(nameof(pageTitle)); + this.QuizId = quizId ?? throw new global::System.ArgumentNullException(nameof(quizId)); + this.Removed = removed; + this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); + this.UnrecordedAttempts = unrecordedAttempts; + } + + /// + /// Initializes a new instance of the class. + /// + public QuizAttemptHistoryQuiz() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestion.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestion.Json.g.cs new file mode 100644 index 00000000..dcb8fbe2 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestion.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttemptQuestion + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestion? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttemptQuestion), + jsonSerializerContext) as global::LabelStudio.QuizAttemptQuestion; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestion? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttemptQuestion? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttemptQuestion), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttemptQuestion; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestion.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestion.g.cs new file mode 100644 index 00000000..c08ad901 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestion.g.cs @@ -0,0 +1,109 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// One question as the learner saw it, with their answer and the correct-answer key. + /// + public sealed partial class QuizAttemptQuestion + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("answer")] + public object? Answer { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("blocksJson")] + public string? BlocksJson { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("choices")] + public global::System.Collections.Generic.IList? Choices { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("correct")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool Correct { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("correctAnswerIds")] + public object? CorrectAnswerIds { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Id { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("pairs")] + public global::System.Collections.Generic.IList? Pairs { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("type")] + public string? Type { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public QuizAttemptQuestion( + bool correct, + string id, + object? answer, + string? blocksJson, + global::System.Collections.Generic.IList? choices, + object? correctAnswerIds, + global::System.Collections.Generic.IList? pairs, + string? type) + { + this.Answer = answer; + this.BlocksJson = blocksJson; + this.Choices = choices; + this.Correct = correct; + this.CorrectAnswerIds = correctAnswerIds; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.Pairs = pairs; + this.Type = type; + } + + /// + /// Initializes a new instance of the class. + /// + public QuizAttemptQuestion() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice.Json.g.cs new file mode 100644 index 00000000..f2b25118 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttemptQuestionChoice + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionChoice? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttemptQuestionChoice), + jsonSerializerContext) as global::LabelStudio.QuizAttemptQuestionChoice; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionChoice? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttemptQuestionChoice? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttemptQuestionChoice), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttemptQuestionChoice; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice.g.cs new file mode 100644 index 00000000..74b6f132 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizAttemptQuestionChoice + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice2.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice2.Json.g.cs new file mode 100644 index 00000000..ee7f98cb --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttemptQuestionChoice2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionChoice2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttemptQuestionChoice2), + jsonSerializerContext) as global::LabelStudio.QuizAttemptQuestionChoice2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionChoice2? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttemptQuestionChoice2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttemptQuestionChoice2), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttemptQuestionChoice2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice2.g.cs new file mode 100644 index 00000000..d7ab8943 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionChoice2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizAttemptQuestionChoice2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair.Json.g.cs new file mode 100644 index 00000000..087419b6 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttemptQuestionPair + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionPair? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttemptQuestionPair), + jsonSerializerContext) as global::LabelStudio.QuizAttemptQuestionPair; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionPair? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttemptQuestionPair? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttemptQuestionPair), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttemptQuestionPair; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair.g.cs new file mode 100644 index 00000000..e10d39dc --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizAttemptQuestionPair + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair2.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair2.Json.g.cs new file mode 100644 index 00000000..f20e77d0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizAttemptQuestionPair2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionPair2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizAttemptQuestionPair2), + jsonSerializerContext) as global::LabelStudio.QuizAttemptQuestionPair2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizAttemptQuestionPair2? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizAttemptQuestionPair2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizAttemptQuestionPair2), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizAttemptQuestionPair2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair2.g.cs new file mode 100644 index 00000000..5200b293 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizAttemptQuestionPair2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizAttemptQuestionPair2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResult.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResult.Json.g.cs new file mode 100644 index 00000000..278f72ca --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResult.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizLegacyResult + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResult? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizLegacyResult), + jsonSerializerContext) as global::LabelStudio.QuizLegacyResult; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResult? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizLegacyResult? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizLegacyResult), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizLegacyResult; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResult.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResult.g.cs new file mode 100644 index 00000000..91f0503e --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResult.g.cs @@ -0,0 +1,83 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Last result for attempts made before attempt recording existed: no answers, correct/incorrect only. + /// + public sealed partial class QuizLegacyResult + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("attempts")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Attempts { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_attempt")] + public string? LastAttempt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("passed")] + public bool? Passed { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("question_results")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary QuestionResults { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("score_percent")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ScorePercent { get; set; } + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + /// + /// Initializes a new instance of the class. + /// + /// + /// + /// + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public QuizLegacyResult( + int attempts, + global::System.Collections.Generic.Dictionary questionResults, + int scorePercent, + string? lastAttempt, + bool? passed) + { + this.Attempts = attempts; + this.LastAttempt = lastAttempt; + this.Passed = passed; + this.QuestionResults = questionResults ?? throw new global::System.ArgumentNullException(nameof(questionResults)); + this.ScorePercent = scorePercent; + } + + /// + /// Initializes a new instance of the class. + /// + public QuizLegacyResult() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults.Json.g.cs new file mode 100644 index 00000000..52212bf2 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizLegacyResultQuestionResults + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResultQuestionResults? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizLegacyResultQuestionResults), + jsonSerializerContext) as global::LabelStudio.QuizLegacyResultQuestionResults; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResultQuestionResults? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizLegacyResultQuestionResults? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizLegacyResultQuestionResults), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizLegacyResultQuestionResults; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults.g.cs new file mode 100644 index 00000000..96d23881 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizLegacyResultQuestionResults + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults2.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults2.Json.g.cs new file mode 100644 index 00000000..e83f5f36 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizLegacyResultQuestionResults2 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResultQuestionResults2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizLegacyResultQuestionResults2), + jsonSerializerContext) as global::LabelStudio.QuizLegacyResultQuestionResults2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResultQuestionResults2? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizLegacyResultQuestionResults2? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizLegacyResultQuestionResults2), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizLegacyResultQuestionResults2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults2.g.cs new file mode 100644 index 00000000..20af88e9 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizLegacyResultQuestionResults2 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults3.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults3.Json.g.cs new file mode 100644 index 00000000..53c6e71f --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults3.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class QuizLegacyResultQuestionResults3 + { + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. + /// + public string ToJson( + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Serialize( + this, + this.GetType(), + jsonSerializerContext); + } + + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public string ToJson( + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResultQuestionResults3? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.QuizLegacyResultQuestionResults3), + jsonSerializerContext) as global::LabelStudio.QuizLegacyResultQuestionResults3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.QuizLegacyResultQuestionResults3? FromJson( + string json) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::LabelStudio.QuizLegacyResultQuestionResults3? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerContext. + /// + public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + typeof(global::LabelStudio.QuizLegacyResultQuestionResults3), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.QuizLegacyResultQuestionResults3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + /// + /// Deserializes a JSON stream using the provided JsonSerializerOptions. + /// +#if NET8_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] + [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] +#endif + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::LabelStudio.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults3.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults3.g.cs new file mode 100644 index 00000000..96bb85b9 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.QuizLegacyResultQuestionResults3.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class QuizLegacyResultQuestionResults3 + { + + /// + /// Additional properties that are not explicitly defined in the schema + /// + [global::System.Text.Json.Serialization.JsonExtensionData] + public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.List.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.List.g.cs index f703067c..1e6d6a7e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.List.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Workspaces2Client.List.g.cs @@ -28,6 +28,7 @@ public partial class Workspaces2Client partial void PrepareListArguments( global::System.Net.Http.HttpClient httpClient, ref bool? includeAllWorkspaces, + ref bool? interfaceTargets, ref bool? isArchived, ref bool? isPersonal, ref string? ordering); @@ -35,6 +36,7 @@ partial void PrepareListRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, bool? includeAllWorkspaces, + bool? interfaceTargets, bool? isArchived, bool? isPersonal, string? ordering); @@ -58,6 +60,7 @@ partial void ProcessListResponseContent( /// List all workspaces for your organization. Workspaces in Label Studio let you organize your projects and users into separate spaces. This is useful for managing different teams, departments, or projects within your organization. For more information, see the [Workspaces documentation](https://docs.humansignal.com/workspaces). /// /// + /// /// /// /// @@ -66,6 +69,7 @@ partial void ProcessListResponseContent( /// public async global::System.Threading.Tasks.Task> ListAsync( bool? includeAllWorkspaces = default, + bool? interfaceTargets = default, bool? isArchived = default, bool? isPersonal = default, string? ordering = default, @@ -74,6 +78,7 @@ partial void ProcessListResponseContent( { var __response = await ListAsResponseAsync( includeAllWorkspaces: includeAllWorkspaces, + interfaceTargets: interfaceTargets, isArchived: isArchived, isPersonal: isPersonal, ordering: ordering, @@ -94,6 +99,7 @@ partial void ProcessListResponseContent( /// List all workspaces for your organization. Workspaces in Label Studio let you organize your projects and users into separate spaces. This is useful for managing different teams, departments, or projects within your organization. For more information, see the [Workspaces documentation](https://docs.humansignal.com/workspaces). /// /// + /// /// /// /// @@ -102,6 +108,7 @@ partial void ProcessListResponseContent( /// public async global::System.Threading.Tasks.Task>> ListAsResponseAsync( bool? includeAllWorkspaces = default, + bool? interfaceTargets = default, bool? isArchived = default, bool? isPersonal = default, string? ordering = default, @@ -113,6 +120,7 @@ partial void ProcessListResponseContent( PrepareListArguments( httpClient: HttpClient, includeAllWorkspaces: ref includeAllWorkspaces, + interfaceTargets: ref interfaceTargets, isArchived: ref isArchived, isPersonal: ref isPersonal, ordering: ref ordering); @@ -145,6 +153,7 @@ partial void ProcessListResponseContent( baseUri: HttpClient.BaseAddress); __pathBuilder .AddOptionalParameter("include_all_workspaces", includeAllWorkspaces?.ToString().ToLowerInvariant()) + .AddOptionalParameter("interface_targets", interfaceTargets?.ToString().ToLowerInvariant()) .AddOptionalParameter("is_archived", isArchived?.ToString().ToLowerInvariant()) .AddOptionalParameter("is_personal", isPersonal?.ToString().ToLowerInvariant()) .AddOptionalParameter("ordering", ordering) @@ -190,6 +199,7 @@ partial void ProcessListResponseContent( httpClient: HttpClient, httpRequestMessage: __httpRequest, includeAllWorkspaces: includeAllWorkspaces, + interfaceTargets: interfaceTargets, isArchived: isArchived, isPersonal: isPersonal, ordering: ordering); diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index fc4f7893..14e4ef29 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -7651,6 +7651,44 @@ paths: summary: ✨ Import completed learner progress from CSV tags: - Learning Resources + /api/learning-resources/{id}/user-progress/{user_id}/quiz-attempts/: + get: + description: |- + + Label Studio Enterprise badge +

+ This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) +

+
+ View every quiz submission by one learner on this course, including answers and correct-answer keys. Restricted to roles with learning.manage permission. + operationId: api_learning_resources_user_progress_quiz_attempts_retrieve + parameters: + - description: A unique integer value identifying this learning resource. + in: path + name: id + required: true + schema: + type: integer + - in: path + name: user_id + required: true + schema: + pattern: ^\d+$ + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/QuizAttemptHistory' + description: '' + security: + - Token: [] + summary: ✨ Get quiz attempt history for a learner + tags: + - Learning Resources + x-fern-audiences: + - internal /api/learning-resources/{id}/user-progress/{user_id}/reset/: post: description: |- @@ -24197,6 +24235,11 @@ paths: name: include_all_workspaces schema: type: boolean + - description: 'Only workspaces you can save an interface into: the workspaces you may manage, plus your Personal Sandbox if interfaces are allowed there.' + in: query + name: interface_targets + schema: + type: boolean - description: Filter by archived status. Set to false to exclude archived workspaces. in: query name: is_archived @@ -44904,6 +44947,131 @@ components: - $ref: '#/components/schemas/RetakeScopeEnum' default: none type: object + QuizAttempt: + properties: + attempt_number: + type: integer + passed: + type: boolean + questions: + items: + $ref: '#/components/schemas/QuizAttemptQuestion' + type: array + retake_cycle: + type: integer + score_percent: + type: integer + submitted_at: + format: date-time + type: string + required: + - attempt_number + - passed + - questions + - retake_cycle + - score_percent + - submitted_at + type: object + QuizAttemptHistory: + properties: + quizzes: + items: + $ref: '#/components/schemas/QuizAttemptHistoryQuiz' + type: array + user_id: + type: integer + required: + - quizzes + - user_id + type: object + QuizAttemptHistoryQuiz: + properties: + attempts: + items: + $ref: '#/components/schemas/QuizAttempt' + type: array + legacy_result: + allOf: + - $ref: '#/components/schemas/QuizLegacyResult' + nullable: true + page_title: + type: string + quiz_id: + type: string + removed: + type: boolean + title: + type: string + unrecorded_attempts: + type: integer + required: + - attempts + - legacy_result + - page_title + - quiz_id + - removed + - title + - unrecorded_attempts + type: object + QuizAttemptQuestion: + description: One question as the learner saw it, with their answer and the correct-answer key. + properties: + answer: + nullable: true + blocksJson: + nullable: true + type: string + choices: + items: + additionalProperties: {} + type: object + type: array + correct: + type: boolean + correctAnswerIds: + nullable: true + id: + type: string + pairs: + items: + additionalProperties: {} + type: object + type: array + type: + nullable: true + type: string + required: + - answer + - correct + - correctAnswerIds + - id + - type + type: object + QuizLegacyResult: + description: 'Last result for attempts made before attempt recording existed: no answers, correct/incorrect only.' + properties: + attempts: + type: integer + last_attempt: + nullable: true + type: string + passed: + nullable: true + type: boolean + question_results: + additionalProperties: + additionalProperties: {} + type: object + type: object + score_percent: + type: integer + required: + - attempts + - last_attempt + - passed + - question_results + - score_percent + type: object ReEvaluate: properties: mode: