From 98142cfbeb1103ff1aa72f69adb55802fd6d2b62 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 27 Sep 2026 04:04:11 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ....BackgroundJobs.JsonSerializerContext.g.cs | 192 ++ ...ndJobsClient.ApiOrganizationsJobsList.g.cs | 478 +++++ ...bsClient.ApiOrganizationsJobsRetrieve.g.cs | 467 +++++ ...t.ApiOrganizationsJobsSummaryRetrieve.g.cs | 458 +++++ .../LabelStudio.BackgroundJobsClient.g.cs | 143 ++ ...ndJobsClient.ApiOrganizationsJobsList.g.cs | 52 + ...bsClient.ApiOrganizationsJobsRetrieve.g.cs | 36 + ...t.ApiOrganizationsJobsSummaryRetrieve.g.cs | 32 + .../LabelStudio.IBackgroundJobsClient.g.cs | 48 + .../LabelStudio.ILabelStudioClient.g.cs | 5 + ...erters.ApiOrganizationsJobsListStatus.g.cs | 53 + ...piOrganizationsJobsListStatusNullable.g.cs | 60 + .../LabelStudio.JsonSerializerContext.g.cs | 63 +- ...abelStudio.JsonSerializerContextTypes.g.cs | 1588 +++++++++-------- .../LabelStudio.LabelStudioClient.g.cs | 9 + ...Models.ApiOrganizationsJobsListStatus.g.cs | 57 + .../LabelStudio.Models.JobDetail.Json.g.cs | 141 ++ .../LabelStudio.Models.JobDetail.g.cs | 127 ++ ...LabelStudio.Models.JobDetailLane.Json.g.cs | 141 ++ .../LabelStudio.Models.JobDetailLane.g.cs | 19 + ...abelStudio.Models.JobDetailLane2.Json.g.cs | 141 ++ .../LabelStudio.Models.JobDetailLane2.g.cs | 19 + ...abelStudio.Models.JobDetailLease.Json.g.cs | 141 ++ .../LabelStudio.Models.JobDetailLease.g.cs | 19 + ...belStudio.Models.JobDetailLease2.Json.g.cs | 141 ++ .../LabelStudio.Models.JobDetailLease2.g.cs | 19 + .../LabelStudio.Models.JobException.Json.g.cs | 141 ++ .../LabelStudio.Models.JobException.g.cs | 63 + .../LabelStudio.Models.JobListEntry.Json.g.cs | 141 ++ .../LabelStudio.Models.JobListEntry.g.cs | 127 ++ ...elStudio.Models.JobListEntryLane.Json.g.cs | 141 ++ .../LabelStudio.Models.JobListEntryLane.g.cs | 19 + ...lStudio.Models.JobListEntryLane2.Json.g.cs | 141 ++ .../LabelStudio.Models.JobListEntryLane2.g.cs | 19 + ...lStudio.Models.JobListEntryLease.Json.g.cs | 141 ++ .../LabelStudio.Models.JobListEntryLease.g.cs | 19 + ...Studio.Models.JobListEntryLease2.Json.g.cs | 141 ++ ...LabelStudio.Models.JobListEntryLease2.g.cs | 19 + .../LabelStudio.Models.JobQuota.Json.g.cs | 141 ++ .../LabelStudio.Models.JobQuota.g.cs | 59 + ...io.Models.JobQuotaPerQueueLimits.Json.g.cs | 141 ++ ...lStudio.Models.JobQuotaPerQueueLimits.g.cs | 19 + .../LabelStudio.Models.JobQuotaUsed.Json.g.cs | 141 ++ .../LabelStudio.Models.JobQuotaUsed.g.cs | 19 + ...elStudio.Models.JobsListResponse.Json.g.cs | 141 ++ .../LabelStudio.Models.JobsListResponse.g.cs | 54 + .../LabelStudio.Models.JobsSummary.Json.g.cs | 141 ++ .../LabelStudio.Models.JobsSummary.g.cs | 85 + ...belStudio.Stats.JsonSerializerContext.g.cs | 2 +- src/libs/LabelStudio/openapi.yaml | 252 +++ 50 files changed, 6158 insertions(+), 798 deletions(-) create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobs.JsonSerializerContext.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsList.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsList.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatus.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusNullable.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.ApiOrganizationsJobsListStatus.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetail.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetail.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane2.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane2.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease2.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease2.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobException.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobException.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntry.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntry.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane2.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane2.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease2.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease2.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuota.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuota.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaPerQueueLimits.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaPerQueueLimits.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaUsed.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaUsed.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobsListResponse.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobsListResponse.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobsSummary.Json.g.cs create mode 100644 src/libs/LabelStudio/Generated/LabelStudio.Models.JobsSummary.g.cs diff --git a/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobs.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobs.JsonSerializerContext.g.cs new file mode 100644 index 00000000..91007321 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobs.JsonSerializerContext.g.cs @@ -0,0 +1,192 @@ + +#nullable enable + +#pragma warning disable CS0618 // Type or member is obsolete +#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant + +namespace LabelStudio +{ + /// + /// + /// + [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + Converters = new global::System.Type[] + { + })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(object))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobDetail))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobException))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobListEntry))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobQuota))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary), TypeInfoPropertyName = "DictionaryStringInt32_System_Collections_Generic_Dictionary_string_int")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary), TypeInfoPropertyName = "DictionaryStringInt32_System_Collections_Generic_Dictionary_string_int_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobsListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobsSummary))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiOrganizationsJobsListStatus), TypeInfoPropertyName = "ApiOrganizationsJobsListStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiOrganizationsJobsListStatus?), TypeInfoPropertyName = "NullableApiOrganizationsJobsListStatus2")] + [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 BackgroundJobsSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext + { + } + /// + /// + /// + public sealed partial class BackgroundJobsSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext + { + private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); + + + private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); + + /// + /// + /// + public static BackgroundJobsSourceGenerationContext Default { get; } = new(DefaultOptions); + + private BackgroundJobsSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) + : base(options) + { + } + + /// + protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; + + /// + public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) + { + return Resolver.GetTypeInfo(type, Options); + } + + /// + /// Adds this package's converters to . + /// + /// + /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, + /// and a context resolves types from every package below it. Each package contributes only + /// what it owns and calls down the chain for the rest, so the family's converter table is + /// written once rather than copied into all of them. + /// + [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] + public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) + { + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>, global::System.Collections.Generic.Dictionary>>>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>, global::System.Collections.Generic.Dictionary>>>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.OneOfJsonConverter>()); + options.Converters.Add(new global::LabelStudio.JsonConverters.UnixTimestampJsonConverter()); + options.Converters.Add(new LazyEnumJsonConverterFactory()); + } + + private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() + { + var options = new global::System.Text.Json.JsonSerializerOptions + { + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, + TypeInfoResolver = Resolver, + }; + AddConverters(options); + + return options; + } + + + private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory + { + public override bool CanConvert(global::System.Type typeToConvert) + { + return + typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus) + + || typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus?); + } + + public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + if (typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus)) + { + return new global::LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus?)) + { + return new global::LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusNullableJsonConverter(); + } + throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); + } + } + + private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver + { + private readonly object _gate = new(); + private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[1]; + + public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( + global::System.Type type, + global::System.Text.Json.JsonSerializerOptions options) + { + for (var index = 0; index < _resolvers.Length; index++) + { + var typeInfo = GetResolver(index).GetTypeInfo(type, options); + if (typeInfo is not null) + { + return typeInfo; + } + } + + return null; + } + + private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) + { + var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); + if (resolver is not null) + { + return resolver; + } + + lock (_gate) + { + return _resolvers[index] ??= CreateResolver(index); + } + } + + private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) + { + return index switch + { + 0 => new BackgroundJobsSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), + _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), + }; + } + } + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsList.g.cs new file mode 100644 index 00000000..158bd790 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsList.g.cs @@ -0,0 +1,478 @@ + +#nullable enable + +namespace LabelStudio +{ + public partial class BackgroundJobsClient + { + + + private static readonly global::LabelStudio.EndPointSecurityRequirement s_ApiOrganizationsJobsListSecurityRequirement0 = + 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_ApiOrganizationsJobsListSecurityRequirements = + new global::LabelStudio.EndPointSecurityRequirement[] + { s_ApiOrganizationsJobsListSecurityRequirement0, + }; + partial void PrepareApiOrganizationsJobsListArguments( + global::System.Net.Http.HttpClient httpClient, + ref string? cursor, + ref int id, + ref string? jobFunction, + ref int? pageSize, + ref global::System.DateTime? since, + ref global::LabelStudio.ApiOrganizationsJobsListStatus status); + partial void PrepareApiOrganizationsJobsListRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + string? cursor, + int id, + string? jobFunction, + int? pageSize, + global::System.DateTime? since, + global::LabelStudio.ApiOrganizationsJobsListStatus status); + partial void ProcessApiOrganizationsJobsListResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessApiOrganizationsJobsListResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// List organization background jobs
+ /// Bounded, cursor-paginated list of background jobs for the active organization, sourced from the FIT-2919 per-organization indexes. Internal only. + ///
+ /// + /// + /// + /// + /// + /// + /// 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 ApiOrganizationsJobsListAsync( + int id, + global::LabelStudio.ApiOrganizationsJobsListStatus status, + string? cursor = default, + string? jobFunction = default, + int? pageSize = default, + global::System.DateTime? since = default, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ApiOrganizationsJobsListAsResponseAsync( + id: id, + status: status, + cursor: cursor, + jobFunction: jobFunction, + pageSize: pageSize, + since: since, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// List organization background jobs
+ /// Bounded, cursor-paginated list of background jobs for the active organization, sourced from the FIT-2919 per-organization indexes. Internal only. + ///
+ /// + /// + /// + /// + /// + /// + /// 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> ApiOrganizationsJobsListAsResponseAsync( + int id, + global::LabelStudio.ApiOrganizationsJobsListStatus status, + string? cursor = default, + string? jobFunction = default, + int? pageSize = default, + global::System.DateTime? since = default, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareApiOrganizationsJobsListArguments( + httpClient: HttpClient, + cursor: ref cursor, + id: ref id, + jobFunction: ref jobFunction, + pageSize: ref pageSize, + since: ref since, + status: ref status); + + + var __authorizations = global::LabelStudio.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ApiOrganizationsJobsListSecurityRequirements, + operationName: "ApiOrganizationsJobsListAsync"); + + 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/organizations/{id}/jobs/", + baseUri: HttpClient.BaseAddress); + __pathBuilder + .AddOptionalParameter("cursor", cursor) + .AddOptionalParameter("job_function", jobFunction) + .AddOptionalParameter("page_size", pageSize?.ToString()) + .AddOptionalParameter("since", since?.ToString("yyyy-MM-ddTHH:mm:ssZ")) + .AddRequiredParameter("status", status.ToValueString()) + ; + 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); + PrepareApiOrganizationsJobsListRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + cursor: cursor, + id: id!, + jobFunction: jobFunction, + pageSize: pageSize, + since: since, + status: status!); + + 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: "ApiOrganizationsJobsList", + methodName: "ApiOrganizationsJobsListAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsList", + methodName: "ApiOrganizationsJobsListAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsList", + methodName: "ApiOrganizationsJobsListAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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); + ProcessApiOrganizationsJobsListResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiOrganizationsJobsList", + methodName: "ApiOrganizationsJobsListAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsList", + methodName: "ApiOrganizationsJobsListAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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); + ProcessApiOrganizationsJobsListResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::LabelStudio.JobsListResponse.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.JobsListResponse.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.BackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs new file mode 100644 index 00000000..b0a67055 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs @@ -0,0 +1,467 @@ + +#nullable enable + +namespace LabelStudio +{ + public partial class BackgroundJobsClient + { + + + private static readonly global::LabelStudio.EndPointSecurityRequirement s_ApiOrganizationsJobsRetrieveSecurityRequirement0 = + 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_ApiOrganizationsJobsRetrieveSecurityRequirements = + new global::LabelStudio.EndPointSecurityRequirement[] + { s_ApiOrganizationsJobsRetrieveSecurityRequirement0, + }; + partial void PrepareApiOrganizationsJobsRetrieveArguments( + global::System.Net.Http.HttpClient httpClient, + ref int id, + ref string jobId); + partial void PrepareApiOrganizationsJobsRetrieveRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int id, + string jobId); + partial void ProcessApiOrganizationsJobsRetrieveResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessApiOrganizationsJobsRetrieveResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get organization background job detail
+ /// Detail for a single active-organization background job. Failed jobs include redacted exception info (class, message, last 8 repo-relative frames — never args/kwargs). Internal only. + ///
+ /// + /// + /// 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 ApiOrganizationsJobsRetrieveAsync( + int id, + string jobId, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ApiOrganizationsJobsRetrieveAsResponseAsync( + id: id, + jobId: jobId, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get organization background job detail
+ /// Detail for a single active-organization background job. Failed jobs include redacted exception info (class, message, last 8 repo-relative frames — never args/kwargs). Internal only. + ///
+ /// + /// + /// 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> ApiOrganizationsJobsRetrieveAsResponseAsync( + int id, + string jobId, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareApiOrganizationsJobsRetrieveArguments( + httpClient: HttpClient, + id: ref id, + jobId: ref jobId); + + + var __authorizations = global::LabelStudio.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ApiOrganizationsJobsRetrieveSecurityRequirements, + operationName: "ApiOrganizationsJobsRetrieveAsync"); + + 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/organizations/{id}/jobs/{jobId}/", + 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); + PrepareApiOrganizationsJobsRetrieveRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id!, + jobId: jobId!); + + 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: "ApiOrganizationsJobsRetrieve", + methodName: "ApiOrganizationsJobsRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/{jobId}/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsRetrieve", + methodName: "ApiOrganizationsJobsRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/{jobId}/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsRetrieve", + methodName: "ApiOrganizationsJobsRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/{jobId}/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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); + ProcessApiOrganizationsJobsRetrieveResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiOrganizationsJobsRetrieve", + methodName: "ApiOrganizationsJobsRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/{jobId}/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsRetrieve", + methodName: "ApiOrganizationsJobsRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/{jobId}/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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 ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::LabelStudio.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + 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); + ProcessApiOrganizationsJobsRetrieveResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::LabelStudio.JobDetail.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.JobDetail.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.BackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs new file mode 100644 index 00000000..b166a13f --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs @@ -0,0 +1,458 @@ + +#nullable enable + +namespace LabelStudio +{ + public partial class BackgroundJobsClient + { + + + private static readonly global::LabelStudio.EndPointSecurityRequirement s_ApiOrganizationsJobsSummaryRetrieveSecurityRequirement0 = + 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_ApiOrganizationsJobsSummaryRetrieveSecurityRequirements = + new global::LabelStudio.EndPointSecurityRequirement[] + { s_ApiOrganizationsJobsSummaryRetrieveSecurityRequirement0, + }; + partial void PrepareApiOrganizationsJobsSummaryRetrieveArguments( + global::System.Net.Http.HttpClient httpClient, + ref int id); + partial void PrepareApiOrganizationsJobsSummaryRetrieveRequest( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpRequestMessage httpRequestMessage, + int id); + partial void ProcessApiOrganizationsJobsSummaryRetrieveResponse( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage); + + partial void ProcessApiOrganizationsJobsSummaryRetrieveResponseContent( + global::System.Net.Http.HttpClient httpClient, + global::System.Net.Http.HttpResponseMessage httpResponseMessage, + ref string content); + + /// + /// Get organization background job summary
+ /// Running/waiting/failed-24h counts and per-queue quota usage for the active organization, sourced from the FIT-2919 per-organization indexes. No per-project breakdown. Internal only. + ///
+ /// + /// 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 ApiOrganizationsJobsSummaryRetrieveAsync( + int id, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + var __response = await ApiOrganizationsJobsSummaryRetrieveAsResponseAsync( + id: id, + requestOptions: requestOptions, + cancellationToken: cancellationToken + ).ConfigureAwait(false); + + return __response.Body; + } + /// + /// Get organization background job summary
+ /// Running/waiting/failed-24h counts and per-queue quota usage for the active organization, sourced from the FIT-2919 per-organization indexes. No per-project breakdown. Internal only. + ///
+ /// + /// 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> ApiOrganizationsJobsSummaryRetrieveAsResponseAsync( + int id, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default) + { + PrepareArguments( + client: HttpClient); + PrepareApiOrganizationsJobsSummaryRetrieveArguments( + httpClient: HttpClient, + id: ref id); + + + var __authorizations = global::LabelStudio.EndPointSecurityResolver.ResolveAuthorizations( + availableAuthorizations: Authorizations, + securityRequirements: s_ApiOrganizationsJobsSummaryRetrieveSecurityRequirements, + operationName: "ApiOrganizationsJobsSummaryRetrieveAsync"); + + 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/organizations/{id}/jobs/summary/", + 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); + PrepareApiOrganizationsJobsSummaryRetrieveRequest( + httpClient: HttpClient, + httpRequestMessage: __httpRequest, + id: id!); + + 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: "ApiOrganizationsJobsSummaryRetrieve", + methodName: "ApiOrganizationsJobsSummaryRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/summary/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsSummaryRetrieve", + methodName: "ApiOrganizationsJobsSummaryRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/summary/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsSummaryRetrieve", + methodName: "ApiOrganizationsJobsSummaryRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/summary/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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); + ProcessApiOrganizationsJobsSummaryRetrieveResponse( + httpClient: HttpClient, + httpResponseMessage: __response); + if (__response.IsSuccessStatusCode) + { + await global::LabelStudio.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( + clientOptions: Options, + context: global::LabelStudio.AutoSDKRequestOptionsSupport.CreateHookContext( + operationId: "ApiOrganizationsJobsSummaryRetrieve", + methodName: "ApiOrganizationsJobsSummaryRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/summary/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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: "ApiOrganizationsJobsSummaryRetrieve", + methodName: "ApiOrganizationsJobsSummaryRetrieveAsync", + pathTemplate: "$\"/api/organizations/{id}/jobs/summary/\"", + httpMethod: "GET", + baseUri: BaseUri, + request: __httpRequest!, + 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 ((int)__response.StatusCode == 404) + { + string? __content_404 = null; + global::System.Exception? __exception_404 = null; + try + { + if (__effectiveReadResponseAsString) + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + else + { + __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); + } + } + catch (global::System.Exception __ex) + { + __exception_404 = __ex; + } + + + throw global::LabelStudio.ApiException.Create( + statusCode: __response.StatusCode, + message: __content_404 ?? __response.ReasonPhrase ?? string.Empty, + innerException: __exception_404, + responseBody: __content_404, + responseHeaders: global::System.Linq.Enumerable.ToDictionary( + __response.Headers, + h => h.Key, + h => h.Value)); + } + + 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); + ProcessApiOrganizationsJobsSummaryRetrieveResponseContent( + httpClient: HttpClient, + httpResponseMessage: __response, + content: ref __content); + + try + { + __response.EnsureSuccessStatusCode(); + + var __value = global::LabelStudio.JobsSummary.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.JobsSummary.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.BackgroundJobsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.g.cs new file mode 100644 index 00000000..ba6a5047 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.BackgroundJobsClient.g.cs @@ -0,0 +1,143 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public sealed partial class BackgroundJobsClient : global::LabelStudio.IBackgroundJobsClient, global::System.IDisposable + { + /// + /// Label Studio + /// + public const string DefaultBaseUrl = "http://localhost:8000/"; + + private bool _disposeHttpClient = true; + + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + public System.Uri? BaseUri => HttpClient.BaseAddress; + + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + public bool ReadResponseAsString { get; set; } +#if DEBUG + = true; +#endif + + /// + public global::LabelStudio.AutoSDKClientOptions Options { get; } + + internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::LabelStudio.BackgroundJobsSourceGenerationContext.Default); + + /// + /// + /// + public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext + { + get => JsonSerializerContextProvider.Value; + set => JsonSerializerContextProvider = new(() => value); + } + + + /// + /// Creates a new instance of the BackgroundJobsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Dispose the HttpClient when the instance is disposed. True by default. + public BackgroundJobsClient( + global::System.Net.Http.HttpClient? httpClient = null, + global::System.Uri? baseUri = null, + global::System.Collections.Generic.List? authorizations = null, + bool disposeHttpClient = true) : this( + httpClient, + baseUri, + authorizations, + options: null, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the BackgroundJobsClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public BackgroundJobsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::LabelStudio.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + + /// + /// Creates a new instance of the BackgroundJobsClient. + /// If no httpClient is provided, a new one will be created. + /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public BackgroundJobsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Uri? baseUri, + global::System.Collections.Generic.List? authorizations, + global::LabelStudio.AutoSDKClientOptions? options, + bool disposeHttpClient = true) + { + + HttpClient = httpClient ?? new global::System.Net.Http.HttpClient(); + HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl); + Authorizations = authorizations ?? new global::System.Collections.Generic.List(); + Options = options ?? new global::LabelStudio.AutoSDKClientOptions(); + _disposeHttpClient = disposeHttpClient; + + Initialized(HttpClient); + } + + /// + public void Dispose() + { + if (_disposeHttpClient) + { + HttpClient.Dispose(); + } + } + + partial void Initialized( + global::System.Net.Http.HttpClient client); + partial void PrepareArguments( + global::System.Net.Http.HttpClient client); + partial void PrepareRequest( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpRequestMessage request); + partial void ProcessResponse( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response); + partial void ProcessResponseContent( + global::System.Net.Http.HttpClient client, + global::System.Net.Http.HttpResponseMessage response, + ref string content); + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsList.g.cs new file mode 100644 index 00000000..a6a0963c --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsList.g.cs @@ -0,0 +1,52 @@ +#nullable enable + +namespace LabelStudio +{ + public partial interface IBackgroundJobsClient + { + /// + /// List organization background jobs
+ /// Bounded, cursor-paginated list of background jobs for the active organization, sourced from the FIT-2919 per-organization indexes. Internal only. + ///
+ /// + /// + /// + /// + /// + /// + /// 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 ApiOrganizationsJobsListAsync( + int id, + global::LabelStudio.ApiOrganizationsJobsListStatus status, + string? cursor = default, + string? jobFunction = default, + int? pageSize = default, + global::System.DateTime? since = default, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// List organization background jobs
+ /// Bounded, cursor-paginated list of background jobs for the active organization, sourced from the FIT-2919 per-organization indexes. Internal only. + ///
+ /// + /// + /// + /// + /// + /// + /// 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> ApiOrganizationsJobsListAsResponseAsync( + int id, + global::LabelStudio.ApiOrganizationsJobsListStatus status, + string? cursor = default, + string? jobFunction = default, + int? pageSize = default, + global::System.DateTime? since = default, + 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.IBackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs new file mode 100644 index 00000000..6c1da560 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsRetrieve.g.cs @@ -0,0 +1,36 @@ +#nullable enable + +namespace LabelStudio +{ + public partial interface IBackgroundJobsClient + { + /// + /// Get organization background job detail
+ /// Detail for a single active-organization background job. Failed jobs include redacted exception info (class, message, last 8 repo-relative frames — never args/kwargs). Internal only. + ///
+ /// + /// + /// 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 ApiOrganizationsJobsRetrieveAsync( + int id, + string jobId, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get organization background job detail
+ /// Detail for a single active-organization background job. Failed jobs include redacted exception info (class, message, last 8 repo-relative frames — never args/kwargs). Internal only. + ///
+ /// + /// + /// 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> ApiOrganizationsJobsRetrieveAsResponseAsync( + int id, + string jobId, + 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.IBackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs new file mode 100644 index 00000000..63d548ff --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.ApiOrganizationsJobsSummaryRetrieve.g.cs @@ -0,0 +1,32 @@ +#nullable enable + +namespace LabelStudio +{ + public partial interface IBackgroundJobsClient + { + /// + /// Get organization background job summary
+ /// Running/waiting/failed-24h counts and per-queue quota usage for the active organization, sourced from the FIT-2919 per-organization indexes. No per-project breakdown. Internal only. + ///
+ /// + /// 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 ApiOrganizationsJobsSummaryRetrieveAsync( + int id, + global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Get organization background job summary
+ /// Running/waiting/failed-24h counts and per-queue quota usage for the active organization, sourced from the FIT-2919 per-organization indexes. No per-project breakdown. Internal only. + ///
+ /// + /// 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> ApiOrganizationsJobsSummaryRetrieveAsResponseAsync( + int id, + 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.IBackgroundJobsClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.g.cs new file mode 100644 index 00000000..ff27fa4f --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.IBackgroundJobsClient.g.cs @@ -0,0 +1,48 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// If no httpClient is provided, a new one will be created.
+ /// If no baseUri is provided, the default baseUri from OpenAPI spec will be used. + ///
+ public partial interface IBackgroundJobsClient : global::System.IDisposable + { + /// + /// The HttpClient instance. + /// + public global::System.Net.Http.HttpClient HttpClient { get; } + + /// + /// The base URL for the API. + /// + public System.Uri? BaseUri { get; } + + /// + /// The authorizations to use for the requests. + /// + public global::System.Collections.Generic.List Authorizations { get; } + + /// + /// Gets or sets a value indicating whether the response content should be read as a string. + /// True by default in debug builds, false otherwise. + /// When false, successful responses are deserialized directly from the response stream for better performance. + /// Error responses are always read as strings regardless of this setting, + /// ensuring is populated. + /// + public bool ReadResponseAsString { get; set; } + /// + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// + public global::LabelStudio.AutoSDKClientOptions Options { get; } + + + /// + /// + /// + global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; } + + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ILabelStudioClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ILabelStudioClient.g.cs index 6179b621..a9e505f6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ILabelStudioClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ILabelStudioClient.g.cs @@ -85,6 +85,11 @@ public partial interface ILabelStudioClient : global::System.IDisposable /// public AwsClient Aws { get; } + /// + /// + /// + public BackgroundJobsClient BackgroundJobs { get; } + /// /// /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatus.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatus.g.cs new file mode 100644 index 00000000..05a7080b --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatus.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace LabelStudio.JsonConverters +{ + /// + public sealed class ApiOrganizationsJobsListStatusJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::LabelStudio.ApiOrganizationsJobsListStatus Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::LabelStudio.ApiOrganizationsJobsListStatusExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::LabelStudio.ApiOrganizationsJobsListStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::LabelStudio.ApiOrganizationsJobsListStatus); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::LabelStudio.ApiOrganizationsJobsListStatus value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::LabelStudio.ApiOrganizationsJobsListStatusExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusNullable.g.cs new file mode 100644 index 00000000..e0a72e17 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace LabelStudio.JsonConverters +{ + /// + public sealed class ApiOrganizationsJobsListStatusNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::LabelStudio.ApiOrganizationsJobsListStatus? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::LabelStudio.ApiOrganizationsJobsListStatusExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::LabelStudio.ApiOrganizationsJobsListStatus)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::LabelStudio.ApiOrganizationsJobsListStatus?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::LabelStudio.ApiOrganizationsJobsListStatus? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::LabelStudio.ApiOrganizationsJobsListStatusExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs index 1e6749a3..00b2d9b7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs @@ -255,6 +255,15 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PredictionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.InferenceRunCostEstimate))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobDetail))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobException))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobListEntry))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobQuota))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary), TypeInfoPropertyName = "DictionaryStringInt32_System_Collections_Generic_Dictionary_string_int")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary), TypeInfoPropertyName = "DictionaryStringInt32_System_Collections_Generic_Dictionary_string_int_3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobsListResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.JobsSummary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.KPIDetailResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.KPIProjectSegment))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.KPIUserSegment))] @@ -287,7 +296,6 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionCountsRow))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionCountsTotals))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionStructureDimension))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionStructureResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -506,14 +514,6 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedBlueprintUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedCommentRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedCoursePageUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatabricksExportStorageWriteRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatabricksImportStorageWriteRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatasetRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatasetViewRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDefaultRoleRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDimensionRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedFewShotExampleRequest))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -537,6 +537,14 @@ internal sealed partial class SourceGenerationContextChunk0 : 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.PatchedDatabricksExportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatabricksImportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatasetRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatasetViewRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDefaultRoleRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDimensionRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedFewShotExampleRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedFileUploadRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedGCSDatasetStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedGCSExportStorageWriteRequest))] @@ -753,6 +761,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource), TypeInfoPropertyName = "ApiFsmOrganizationsMembershipHistoryListSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType), TypeInfoPropertyName = "ApiFsmOrganizationsMembershipHistoryListUserType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind), TypeInfoPropertyName = "ApiFsmOrganizationsSettingsHistoryListKind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiOrganizationsJobsListStatus), TypeInfoPropertyName = "ApiOrganizationsJobsListStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode), TypeInfoPropertyName = "ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable), TypeInfoPropertyName = "ApiProjectsStatsMemberPerformanceParticipantsListTable2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable), TypeInfoPropertyName = "ApiProjectsStatsMemberPerformanceRowsRetrieveTable2")] @@ -994,6 +1003,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource?), TypeInfoPropertyName = "NullableApiFsmOrganizationsMembershipHistoryListSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType?), TypeInfoPropertyName = "NullableApiFsmOrganizationsMembershipHistoryListUserType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind?), TypeInfoPropertyName = "NullableApiFsmOrganizationsSettingsHistoryListKind2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiOrganizationsJobsListStatus?), TypeInfoPropertyName = "NullableApiOrganizationsJobsListStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode?), TypeInfoPropertyName = "NullableApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable?), TypeInfoPropertyName = "NullableApiProjectsStatsMemberPerformanceParticipantsListTable2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable?), TypeInfoPropertyName = "NullableApiProjectsStatsMemberPerformanceRowsRetrieveTable2")] @@ -1016,16 +1026,6 @@ internal sealed partial class SourceGenerationContextChunk0 : 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>))] - [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 SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1049,6 +1049,16 @@ 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::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))] + [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))] @@ -1057,6 +1067,7 @@ 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))] @@ -1543,6 +1554,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind?) + || typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus) + + || typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus?) + || typeToConvert == typeof(global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode) || typeToConvert == typeof(global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode?) @@ -2256,6 +2271,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::LabelStudio.JsonConverters.ApiFsmOrganizationsSettingsHistoryListKindNullableJsonConverter(); } + if (typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus)) + { + return new global::LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusJsonConverter(); + } + + if (typeToConvert == typeof(global::LabelStudio.ApiOrganizationsJobsListStatus?)) + { + return new global::LabelStudio.JsonConverters.ApiOrganizationsJobsListStatusNullableJsonConverter(); + } + if (typeToConvert == typeof(global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode)) { return new global::LabelStudio.JsonConverters.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveModeJsonConverter(); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs index 7bc2b007..a72f9a8b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs @@ -937,2547 +937,2575 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::LabelStudio.KPIDetailResponse? Type226 { get; set; } + public global::LabelStudio.JobDetail? Type226 { get; set; } /// /// /// - public global::LabelStudio.KPIProjectSegment? Type227 { get; set; } + public global::LabelStudio.JobException? Type227 { get; set; } /// /// /// - public global::LabelStudio.KPIUserSegment? Type228 { get; set; } + public global::LabelStudio.JobListEntry? Type228 { get; set; } /// /// /// - public global::LabelStudio.KPIMatrixSegment? Type229 { get; set; } + public global::LabelStudio.JobQuota? Type229 { get; set; } /// /// /// - public global::LabelStudio.KPIProjectMatrixSegment? Type230 { get; set; } + public global::LabelStudio.JobsListResponse? Type230 { get; set; } /// /// /// - public global::LabelStudio.SegmentationEnum? Type231 { get; set; } + public global::System.Collections.Generic.IList? Type231 { get; set; } /// /// /// - public global::LabelStudio.KPITimeSegment? Type232 { get; set; } + public global::LabelStudio.JobsSummary? Type232 { get; set; } /// /// /// - public global::LabelStudio.KPIValue? Type233 { get; set; } + public global::LabelStudio.KPIDetailResponse? Type233 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type234 { get; set; } + public global::LabelStudio.KPIProjectSegment? Type234 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type235 { get; set; } + public global::LabelStudio.KPIUserSegment? Type235 { get; set; } /// /// /// - public global::LabelStudio.KPIUserInfo? Type236 { get; set; } + public global::LabelStudio.KPIMatrixSegment? Type236 { get; set; } /// /// /// - public global::LabelStudio.KPIMetadata? Type237 { get; set; } + public global::LabelStudio.KPIProjectMatrixSegment? Type237 { get; set; } /// /// /// - public global::LabelStudio.KPIProjectInfo? Type238 { get; set; } + public global::LabelStudio.SegmentationEnum? Type238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type239 { get; set; } + public global::LabelStudio.KPITimeSegment? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList?>? Type240 { get; set; } + public global::LabelStudio.KPIValue? Type240 { get; set; } /// /// /// - public global::LabelStudio.OneOf? Type241 { get; set; } + public global::System.Collections.Generic.IList? Type241 { get; set; } /// /// /// - public global::LabelStudio.LSAPITokenBlacklistRequest? Type242 { get; set; } + public global::System.Collections.Generic.IList? Type242 { get; set; } /// /// /// - public global::LabelStudio.LSAPITokenRotateRequest? Type243 { get; set; } + public global::LabelStudio.KPIUserInfo? Type243 { get; set; } /// /// /// - public global::LabelStudio.LSEAPITokenCreate? Type244 { get; set; } + public global::LabelStudio.KPIMetadata? Type244 { get; set; } /// /// /// - public global::LabelStudio.LSEAPITokenList? Type245 { get; set; } + public global::LabelStudio.KPIProjectInfo? Type245 { get; set; } /// /// /// - public global::LabelStudio.LSEJWTSettings? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::LabelStudio.LSEJWTSettingsRequest? Type247 { get; set; } + public global::System.Collections.Generic.IList?>? Type247 { get; set; } /// /// /// - public global::LabelStudio.LSEKeyIndicatorValue? Type248 { get; set; } + public global::LabelStudio.OneOf? Type248 { get; set; } /// /// /// - public global::LabelStudio.Label? Type249 { get; set; } + public global::LabelStudio.LSAPITokenBlacklistRequest? Type249 { get; set; } /// /// /// - public global::LabelStudio.LabelBulkUpdateRequest? Type250 { get; set; } + public global::LabelStudio.LSAPITokenRotateRequest? Type250 { get; set; } /// /// /// - public global::LabelStudio.LabelBulkUpdateResponse? Type251 { get; set; } + public global::LabelStudio.LSEAPITokenCreate? Type251 { get; set; } /// /// /// - public global::LabelStudio.LabelCreate? Type252 { get; set; } + public global::LabelStudio.LSEAPITokenList? Type252 { get; set; } /// /// /// - public global::LabelStudio.LabelCreateRequest? Type253 { get; set; } + public global::LabelStudio.LSEJWTSettings? Type253 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionCountsResponse? Type254 { get; set; } + public global::LabelStudio.LSEJWTSettingsRequest? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::LabelStudio.LSEKeyIndicatorValue? Type255 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionCountsRow? Type256 { get; set; } + public global::LabelStudio.Label? Type256 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionCountsTotals? Type257 { get; set; } + public global::LabelStudio.LabelBulkUpdateRequest? Type257 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type258 { get; set; } + public global::LabelStudio.LabelBulkUpdateResponse? Type258 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionStructureDimension? Type259 { get; set; } + public global::LabelStudio.LabelCreate? Type259 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionStructureResponse? Type260 { get; set; } + public global::LabelStudio.LabelCreateRequest? Type260 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type261 { get; set; } + public global::LabelStudio.LabelDistributionCountsResponse? Type261 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionValidationError? Type262 { get; set; } + public global::System.Collections.Generic.IList? Type262 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionValidationErrors? Type263 { get; set; } + public global::LabelStudio.LabelDistributionCountsRow? Type263 { get; set; } /// /// /// - public global::LabelStudio.OneOf>? Type264 { get; set; } + public global::LabelStudio.LabelDistributionCountsTotals? Type264 { get; set; } /// /// /// - public global::LabelStudio.LabelLink? Type265 { get; set; } + public global::LabelStudio.LabelDistributionStructureDimension? Type265 { get; set; } /// /// /// - public global::LabelStudio.LabelLinkRequest? Type266 { get; set; } + public global::LabelStudio.LabelDistributionStructureResponse? Type266 { get; set; } /// /// /// - public global::LabelStudio.LearningProgressResponse? Type267 { get; set; } + public global::System.Collections.Generic.IList? Type267 { get; set; } /// /// /// - public global::LabelStudio.LearningProgressUpdateRequest? Type268 { get; set; } + public global::LabelStudio.LabelDistributionValidationError? Type268 { get; set; } /// /// /// - public global::LabelStudio.LearningResource? Type269 { get; set; } + public global::LabelStudio.LabelDistributionValidationErrors? Type269 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceAssignmentSummary? Type270 { get; set; } + public global::LabelStudio.OneOf>? Type270 { get; set; } /// /// /// - public global::LabelStudio.UserLearningProgress? Type271 { get; set; } + public global::LabelStudio.LabelLink? Type271 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceCountsItem? Type272 { get; set; } + public global::LabelStudio.LabelLinkRequest? Type272 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceCountsResponse? Type273 { get; set; } + public global::LabelStudio.LearningProgressResponse? Type273 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type274 { get; set; } + public global::LabelStudio.LearningProgressUpdateRequest? Type274 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceCreate? Type275 { get; set; } + public global::LabelStudio.LearningResource? Type275 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceCreateRequest? Type276 { get; set; } + public global::LabelStudio.LearningResourceAssignmentSummary? Type276 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceDetail? Type277 { get; set; } + public global::LabelStudio.UserLearningProgress? Type277 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceList? Type278 { get; set; } + public global::LabelStudio.LearningResourceCountsItem? Type278 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceRequest? Type279 { get; set; } + public global::LabelStudio.LearningResourceCountsResponse? Type279 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceUpdate? Type280 { get; set; } + public global::System.Collections.Generic.IList? Type280 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceUploadResponse? Type281 { get; set; } + public global::LabelStudio.LearningResourceCreate? Type281 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesExportStorage? Type282 { get; set; } + public global::LabelStudio.LearningResourceCreateRequest? Type282 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesExportStorageValidateRequest? Type283 { get; set; } + public global::LabelStudio.LearningResourceDetail? Type283 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesExportStorageWriteRequest? Type284 { get; set; } + public global::LabelStudio.LearningResourceList? Type284 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesImportStorage? Type285 { get; set; } + public global::LabelStudio.LearningResourceRequest? Type285 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesImportStorageValidateRequest? Type286 { get; set; } + public global::LabelStudio.LearningResourceUpdate? Type286 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesImportStorageWriteRequest? Type287 { get; set; } + public global::LabelStudio.LearningResourceUploadResponse? Type287 { get; set; } /// /// /// - public global::LabelStudio.LseAnnotationFilterOptions? Type288 { get; set; } + public global::LabelStudio.LocalFilesExportStorage? Type288 { get; set; } /// /// /// - public global::LabelStudio.LseAnnotationFilterOptionsRequest? Type289 { get; set; } + public global::LabelStudio.LocalFilesExportStorageValidateRequest? Type289 { get; set; } /// /// /// - public global::LabelStudio.LseExportCreate? Type290 { get; set; } + public global::LabelStudio.LocalFilesExportStorageWriteRequest? Type290 { get; set; } /// /// /// - public global::LabelStudio.SerializationOptions? Type291 { get; set; } + public global::LabelStudio.LocalFilesImportStorage? Type291 { get; set; } /// /// /// - public global::LabelStudio.LseTaskFilterOptions? Type292 { get; set; } + public global::LabelStudio.LocalFilesImportStorageValidateRequest? Type292 { get; set; } /// /// /// - public global::LabelStudio.LseExportCreateRequest? Type293 { get; set; } + public global::LabelStudio.LocalFilesImportStorageWriteRequest? Type293 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type294 { get; set; } + public global::LabelStudio.LseAnnotationFilterOptions? Type294 { get; set; } /// /// /// - public global::LabelStudio.SerializationOptionsRequest? Type295 { get; set; } + public global::LabelStudio.LseAnnotationFilterOptionsRequest? Type295 { get; set; } /// /// /// - public global::LabelStudio.LseTaskFilterOptionsRequest? Type296 { get; set; } + public global::LabelStudio.LseExportCreate? Type296 { get; set; } /// /// /// - public global::LabelStudio.LseFields? Type297 { get; set; } + public global::LabelStudio.SerializationOptions? Type297 { get; set; } /// /// /// - public global::LabelStudio.OnboardingStateEnum? Type298 { get; set; } + public global::LabelStudio.LseTaskFilterOptions? Type298 { get; set; } /// /// /// - public global::LabelStudio.TrialRoleEnum? Type299 { get; set; } + public global::LabelStudio.LseExportCreateRequest? Type299 { get; set; } /// /// /// - public global::LabelStudio.LseFieldsRequest? Type300 { get; set; } + public global::System.Collections.Generic.IList? Type300 { get; set; } /// /// /// - public global::LabelStudio.LseInterface? Type301 { get; set; } + public global::LabelStudio.SerializationOptionsRequest? Type301 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceAppendVersionRequest? Type302 { get; set; } + public global::LabelStudio.LseTaskFilterOptionsRequest? Type302 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceAppendVersionsRequest? Type303 { get; set; } + public global::LabelStudio.LseFields? Type303 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type304 { get; set; } + public global::LabelStudio.OnboardingStateEnum? Type304 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceList? Type305 { get; set; } + public global::LabelStudio.TrialRoleEnum? Type305 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceRequest? Type306 { get; set; } + public global::LabelStudio.LseFieldsRequest? Type306 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceVersionDescriptionRequest? Type307 { get; set; } + public global::LabelStudio.LseInterface? Type307 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceVersionIdRequest? Type308 { get; set; } + public global::LabelStudio.LseInterfaceAppendVersionRequest? Type308 { get; set; } /// /// /// - public global::LabelStudio.LseOrganization? Type309 { get; set; } + public global::LabelStudio.LseInterfaceAppendVersionsRequest? Type309 { get; set; } /// /// /// - public global::LabelStudio.OrganizationBilling? Type310 { get; set; } + public global::System.Collections.Generic.IList? Type310 { get; set; } /// /// /// - public global::LabelStudio.LseOrganizationMemberList? Type311 { get; set; } + public global::LabelStudio.LseInterfaceList? Type311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type312 { get; set; } + public global::LabelStudio.LseInterfaceRequest? Type312 { get; set; } /// /// /// - public global::LabelStudio.LseOrganizationMemberListContributedToProject? Type313 { get; set; } + public global::LabelStudio.LseInterfaceVersionDescriptionRequest? Type313 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type314 { get; set; } + public global::LabelStudio.LseInterfaceVersionIdRequest? Type314 { get; set; } /// /// /// - public global::LabelStudio.LseOrganizationMemberListCreatedProject? Type315 { get; set; } + public global::LabelStudio.LseOrganization? Type315 { get; set; } /// /// /// - public global::LabelStudio.RoleSourceEnum? Type316 { get; set; } + public global::LabelStudio.OrganizationBilling? Type316 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type317 { get; set; } + public global::LabelStudio.LseOrganizationMemberList? Type317 { get; set; } /// /// /// - public global::LabelStudio.SimpleOrganizationMemberTag? Type318 { get; set; } + public global::System.Collections.Generic.IList? Type318 { get; set; } /// /// /// - public global::LabelStudio.LseUserOrganizationMemberList? Type319 { get; set; } + public global::LabelStudio.LseOrganizationMemberListContributedToProject? Type319 { get; set; } /// /// /// - public global::LabelStudio.LseProject? Type320 { get; set; } + public global::System.Collections.Generic.IList? Type320 { get; set; } /// /// /// - public global::LabelStudio.LseProjectDmColumnDefaults? Type321 { get; set; } + public global::LabelStudio.LseOrganizationMemberListCreatedProject? Type321 { get; set; } /// /// /// - public global::LabelStudio.LseProjectDmColumnDefaultsExplore? Type322 { get; set; } + public global::LabelStudio.RoleSourceEnum? Type322 { get; set; } /// /// /// - public global::LabelStudio.LseProjectDmColumnDefaultsLabeling? Type323 { get; set; } + public global::System.Collections.Generic.IList? Type323 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCounts? Type324 { get; set; } + public global::LabelStudio.SimpleOrganizationMemberTag? Type324 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreate? Type325 { get; set; } + public global::LabelStudio.LseUserOrganizationMemberList? Type325 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateDmColumnDefaults? Type326 { get; set; } + public global::LabelStudio.LseProject? Type326 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateDmColumnDefaultsExplore? Type327 { get; set; } + public global::LabelStudio.LseProjectDmColumnDefaults? Type327 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateDmColumnDefaultsLabeling? Type328 { get; set; } + public global::LabelStudio.LseProjectDmColumnDefaultsExplore? Type328 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateRequest? Type329 { get; set; } + public global::LabelStudio.LseProjectDmColumnDefaultsLabeling? Type329 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type330 { get; set; } + public global::LabelStudio.LseProjectCounts? Type330 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateRequestDmColumnDefaults? Type331 { get; set; } + public global::LabelStudio.LseProjectCreate? Type331 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateRequestDmColumnDefaultsExplore? Type332 { get; set; } + public global::LabelStudio.LseProjectCreateDmColumnDefaults? Type332 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateRequestDmColumnDefaultsLabeling? Type333 { get; set; } + public global::LabelStudio.LseProjectCreateDmColumnDefaultsExplore? Type333 { get; set; } /// /// /// - public global::LabelStudio.LseProjectParams? Type334 { get; set; } + public global::LabelStudio.LseProjectCreateDmColumnDefaultsLabeling? Type334 { get; set; } /// /// /// - public global::LabelStudio.LseProjectParamsRequest? Type335 { get; set; } + public global::LabelStudio.LseProjectCreateRequest? Type335 { get; set; } /// /// /// - public global::LabelStudio.LseProjectResponse? Type336 { get; set; } + public global::System.Collections.Generic.Dictionary? Type336 { get; set; } /// /// /// - public global::LabelStudio.LseProjectResponseDmColumnDefaults? Type337 { get; set; } + public global::LabelStudio.LseProjectCreateRequestDmColumnDefaults? Type337 { get; set; } /// /// /// - public global::LabelStudio.LseProjectResponseDmColumnDefaultsExplore? Type338 { get; set; } + public global::LabelStudio.LseProjectCreateRequestDmColumnDefaultsExplore? Type338 { get; set; } /// /// /// - public global::LabelStudio.LseProjectResponseDmColumnDefaultsLabeling? Type339 { get; set; } + public global::LabelStudio.LseProjectCreateRequestDmColumnDefaultsLabeling? Type339 { get; set; } /// /// /// - public global::LabelStudio.LseProjectStateResponse? Type340 { get; set; } + public global::LabelStudio.LseProjectParams? Type340 { get; set; } /// /// /// - public global::LabelStudio.LseS3ExportStorage? Type341 { get; set; } + public global::LabelStudio.LseProjectParamsRequest? Type341 { get; set; } /// /// /// - public global::LabelStudio.LseS3ExportStorageRequest? Type342 { get; set; } + public global::LabelStudio.LseProjectResponse? Type342 { get; set; } /// /// /// - public global::LabelStudio.LseS3ImportStorage? Type343 { get; set; } + public global::LabelStudio.LseProjectResponseDmColumnDefaults? Type343 { get; set; } /// /// /// - public global::LabelStudio.LseS3ImportStorageRequest? Type344 { get; set; } + public global::LabelStudio.LseProjectResponseDmColumnDefaultsExplore? Type344 { get; set; } /// /// /// - public global::LabelStudio.LseTask? Type345 { get; set; } + public global::LabelStudio.LseProjectResponseDmColumnDefaultsLabeling? Type345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type346 { get; set; } + public global::LabelStudio.LseProjectStateResponse? Type346 { get; set; } /// /// /// - public global::LabelStudio.LseTaskDraft? Type347 { get; set; } + public global::LabelStudio.LseS3ExportStorage? Type347 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type348 { get; set; } + public global::LabelStudio.LseS3ExportStorageRequest? Type348 { get; set; } /// /// /// - public global::LabelStudio.LseTaskPrediction? Type349 { get; set; } + public global::LabelStudio.LseS3ImportStorage? Type349 { get; set; } /// /// /// - public global::LabelStudio.LseTaskRequest? Type350 { get; set; } + public global::LabelStudio.LseS3ImportStorageRequest? Type350 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForAnnotators? Type351 { get; set; } + public global::LabelStudio.LseTask? Type351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type352 { get; set; } + public global::System.Collections.Generic.IList? Type352 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForAnnotatorsDraft? Type353 { get; set; } + public global::LabelStudio.LseTaskDraft? Type353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type354 { get; set; } + public global::System.Collections.Generic.IList? Type354 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForAnnotatorsPrediction? Type355 { get; set; } + public global::LabelStudio.LseTaskPrediction? Type355 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForReviewers? Type356 { get; set; } + public global::LabelStudio.LseTaskRequest? Type356 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type357 { get; set; } + public global::LabelStudio.LseTaskSerializerForAnnotators? Type357 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForReviewersDraft? Type358 { get; set; } + public global::System.Collections.Generic.IList? Type358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type359 { get; set; } + public global::LabelStudio.LseTaskSerializerForAnnotatorsDraft? Type359 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForReviewersPrediction? Type360 { get; set; } + public global::System.Collections.Generic.IList? Type360 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type361 { get; set; } + public global::LabelStudio.LseTaskSerializerForAnnotatorsPrediction? Type361 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type362 { get; set; } + public global::LabelStudio.LseTaskSerializerForReviewers? Type362 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMembership? Type363 { get; set; } + public global::System.Collections.Generic.IList? Type363 { get; set; } /// /// /// - public global::LabelStudio.LseUserAPI? Type364 { get; set; } + public global::LabelStudio.LseTaskSerializerForReviewersDraft? Type364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type365 { get; set; } + public global::System.Collections.Generic.IList? Type365 { get; set; } /// /// /// - public global::LabelStudio.LseUserOrganizationMemberListContributedToProject? Type366 { get; set; } + public global::LabelStudio.LseTaskSerializerForReviewersPrediction? Type366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type367 { get; set; } + public global::System.Collections.Generic.Dictionary? Type367 { get; set; } /// /// /// - public global::LabelStudio.LseUserOrganizationMemberListCreatedProject? Type368 { get; set; } + public global::System.Collections.Generic.IList? Type368 { get; set; } /// /// /// - public global::LabelStudio.LseUserRequest? Type369 { get; set; } + public global::LabelStudio.OrganizationMembership? Type369 { get; set; } /// /// /// - public global::LabelStudio.MLBackend? Type370 { get; set; } + public global::LabelStudio.LseUserAPI? Type370 { get; set; } /// /// /// - public global::LabelStudio.StateEnum? Type371 { get; set; } + public global::System.Collections.Generic.IList? Type371 { get; set; } /// /// /// - public global::LabelStudio.MLBackendRequest? Type372 { get; set; } + public global::LabelStudio.LseUserOrganizationMemberListContributedToProject? Type372 { get; set; } /// /// /// - public global::LabelStudio.MLBackendRequestRequest? Type373 { get; set; } + public global::System.Collections.Generic.IList? Type373 { get; set; } /// /// /// - public global::LabelStudio.MLBackendTrainRequestRequest? Type374 { get; set; } + public global::LabelStudio.LseUserOrganizationMemberListCreatedProject? Type374 { get; set; } /// /// /// - public global::LabelStudio.MLInteractiveAnnotatingRequestRequest? Type375 { get; set; } + public global::LabelStudio.LseUserRequest? Type375 { get; set; } /// /// /// - public global::LabelStudio.MappingStatusEnum? Type376 { get; set; } + public global::LabelStudio.MLBackend? Type376 { get; set; } /// /// /// - public global::LabelStudio.MaybeExpandedComment? Type377 { get; set; } + public global::LabelStudio.StateEnum? Type377 { get; set; } /// /// /// - public global::LabelStudio.MetricParam? Type378 { get; set; } + public global::LabelStudio.MLBackendRequest? Type378 { get; set; } /// /// /// - public global::LabelStudio.MetricParamUpdateRequest? Type379 { get; set; } + public global::LabelStudio.MLBackendRequestRequest? Type379 { get; set; } /// /// /// - public global::LabelStudio.ModelInterface? Type380 { get; set; } + public global::LabelStudio.MLBackendTrainRequestRequest? Type380 { get; set; } /// /// /// - public global::LabelStudio.SkillNameEnum? Type381 { get; set; } + public global::LabelStudio.MLInteractiveAnnotatingRequestRequest? Type381 { get; set; } /// /// /// - public global::LabelStudio.ModelInterfaceRequest? Type382 { get; set; } + public global::LabelStudio.MappingStatusEnum? Type382 { get; set; } /// /// /// - public global::LabelStudio.ModelInterfaceSerializerGET? Type383 { get; set; } + public global::LabelStudio.MaybeExpandedComment? Type383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type384 { get; set; } + public global::LabelStudio.MetricParam? Type384 { get; set; } /// /// /// - public global::LabelStudio.ModelProviderConnection? Type385 { get; set; } + public global::LabelStudio.MetricParamUpdateRequest? Type385 { get; set; } /// /// /// - public global::LabelStudio.ProviderEnum? Type386 { get; set; } + public global::LabelStudio.ModelInterface? Type386 { get; set; } /// /// /// - public global::LabelStudio.ScopeEnum? Type387 { get; set; } + public global::LabelStudio.SkillNameEnum? Type387 { get; set; } /// /// /// - public global::LabelStudio.ModelProviderConnectionRequest? Type388 { get; set; } + public global::LabelStudio.ModelInterfaceRequest? Type388 { get; set; } /// /// /// - public global::LabelStudio.ModelRun? Type389 { get; set; } + public global::LabelStudio.ModelInterfaceSerializerGET? Type389 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetEnum? Type390 { get; set; } + public global::System.Collections.Generic.IList? Type390 { get; set; } /// /// /// - public global::LabelStudio.ModelRunStatusEnum? Type391 { get; set; } + public global::LabelStudio.ModelProviderConnection? Type391 { get; set; } /// /// /// - public global::LabelStudio.ModelRunRequestRequest? Type392 { get; set; } + public global::LabelStudio.ProviderEnum? Type392 { get; set; } /// /// /// - public global::LabelStudio.OperatorEnum? Type393 { get; set; } + public global::LabelStudio.ScopeEnum? Type393 { get; set; } /// /// /// - public global::LabelStudio.OrganizationId? Type394 { get; set; } + public global::LabelStudio.ModelProviderConnectionRequest? Type394 { get; set; } /// /// /// - public global::LabelStudio.OrganizationInvite? Type395 { get; set; } + public global::LabelStudio.ModelRun? Type395 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMember? Type396 { get; set; } + public global::LabelStudio.ProjectSubsetEnum? Type396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type397 { get; set; } + public global::LabelStudio.ModelRunStatusEnum? Type397 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberContributedToProject? Type398 { get; set; } + public global::LabelStudio.ModelRunRequestRequest? Type398 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type399 { get; set; } + public global::LabelStudio.OperatorEnum? Type399 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberCreatedProject? Type400 { get; set; } + public global::LabelStudio.OrganizationId? Type400 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberFilterRequestRequest? Type401 { get; set; } + public global::LabelStudio.OrganizationInvite? Type401 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberFilterSchema? Type402 { get; set; } + public global::LabelStudio.OrganizationMember? Type402 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipOption? Type403 { get; set; } + public global::System.Collections.Generic.IList? Type403 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipOptionKindEnum? Type404 { get; set; } + public global::LabelStudio.OrganizationMemberContributedToProject? Type404 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type405 { get; set; } + public global::System.Collections.Generic.IList? Type405 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipProjectOption? Type406 { get; set; } + public global::LabelStudio.OrganizationMemberCreatedProject? Type406 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberMembershipProjectOptionKindEnum? Type407 { get; set; } + public global::LabelStudio.OrganizationMemberFilterRequestRequest? Type407 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberSkillsOption? Type408 { get; set; } + public global::LabelStudio.OrganizationMemberFilterSchema? Type408 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTag? Type409 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipOption? Type409 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagBulkCreateRequest? Type410 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipOptionKindEnum? Type410 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportCreateRequest? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public byte[]? Type412 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipProjectOption? Type412 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportStatus? Type413 { get; set; } + public global::LabelStudio.OrganizationMemberMembershipProjectOptionKindEnum? Type413 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportStatusStatusEnum? Type414 { get; set; } + public global::LabelStudio.OrganizationMemberSkillsOption? Type414 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagRequest? Type415 { get; set; } + public global::LabelStudio.OrganizationMemberTag? Type415 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMembershipRequest? Type416 { get; set; } + public global::LabelStudio.OrganizationMemberTagBulkCreateRequest? Type416 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermission? Type417 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportCreateRequest? Type417 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type418 { get; set; } + public byte[]? Type418 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermissionRoleEnum? Type419 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportStatus? Type419 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type420 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportStatusStatusEnum? Type420 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermissionRequest? Type421 { get; set; } + public global::LabelStudio.OrganizationMemberTagRequest? Type421 { get; set; } /// /// /// - public global::LabelStudio.OrganizationRoleAssignment? Type422 { get; set; } + public global::LabelStudio.OrganizationMembershipRequest? Type422 { get; set; } /// /// /// - public global::LabelStudio.PaginatedAllRolesProjectListList? Type423 { get; set; } + public global::LabelStudio.OrganizationPermission? Type423 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type424 { get; set; } + public global::System.Collections.Generic.IList? Type424 { get; set; } /// /// /// - public global::LabelStudio.PaginatedAnnotationHistoryList? Type425 { get; set; } + public global::LabelStudio.OrganizationPermissionRoleEnum? Type425 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type426 { get; set; } + public global::System.Collections.Generic.IList? Type426 { get; set; } /// /// /// - public global::LabelStudio.PaginatedCertificateList? Type427 { get; set; } + public global::LabelStudio.OrganizationPermissionRequest? Type427 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type428 { get; set; } + public global::LabelStudio.OrganizationRoleAssignment? Type428 { get; set; } /// /// /// - public global::LabelStudio.PaginatedCourseModuleList? Type429 { get; set; } + public global::LabelStudio.PaginatedAllRolesProjectListList? Type429 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelCreateList? Type430 { get; set; } + public global::System.Collections.Generic.IList? Type430 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type431 { get; set; } + public global::LabelStudio.PaginatedAnnotationHistoryList? Type431 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelLinkList? Type432 { get; set; } + public global::System.Collections.Generic.IList? Type432 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type433 { get; set; } + public global::LabelStudio.PaginatedCertificateList? Type433 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelList? Type434 { get; set; } + public global::System.Collections.Generic.IList? Type434 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type435 { get; set; } + public global::LabelStudio.PaginatedCourseModuleList? Type435 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLearningResourceListList? Type436 { get; set; } + public global::LabelStudio.PaginatedLabelCreateList? Type436 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type437 { get; set; } + public global::System.Collections.Generic.IList? Type437 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseInterfaceListList? Type438 { get; set; } + public global::LabelStudio.PaginatedLabelLinkList? Type438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type439 { get; set; } + public global::System.Collections.Generic.IList? Type439 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseOrganizationMemberListList? Type440 { get; set; } + public global::LabelStudio.PaginatedLabelList? Type440 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type441 { get; set; } + public global::System.Collections.Generic.IList? Type441 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseProjectCountsList? Type442 { get; set; } + public global::LabelStudio.PaginatedLearningResourceListList? Type442 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type443 { get; set; } + public global::System.Collections.Generic.IList? Type443 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseUserList? Type444 { get; set; } + public global::LabelStudio.PaginatedLseInterfaceListList? Type444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type445 { get; set; } + public global::System.Collections.Generic.IList? Type445 { get; set; } /// /// /// - public global::LabelStudio.PaginatedModelInterfaceSerializerGETList? Type446 { get; set; } + public global::LabelStudio.PaginatedLseOrganizationMemberListList? Type446 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type447 { get; set; } + public global::System.Collections.Generic.IList? Type447 { get; set; } /// /// /// - public global::LabelStudio.PaginatedOrganizationMemberTagList? Type448 { get; set; } + public global::LabelStudio.PaginatedLseProjectCountsList? Type448 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type449 { get; set; } + public global::System.Collections.Generic.IList? Type449 { get; set; } /// /// /// - public global::LabelStudio.PaginatedPaginatedProjectMemberList? Type450 { get; set; } + public global::LabelStudio.PaginatedLseUserList? Type450 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type451 { get; set; } + public global::System.Collections.Generic.IList? Type451 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectMember? Type452 { get; set; } + public global::LabelStudio.PaginatedModelInterfaceSerializerGETList? Type452 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectSubsetTasksResponseList? Type453 { get; set; } + public global::System.Collections.Generic.IList? Type453 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type454 { get; set; } + public global::LabelStudio.PaginatedOrganizationMemberTagList? Type454 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetTasksResponse? Type455 { get; set; } + public global::System.Collections.Generic.IList? Type455 { get; set; } /// /// /// - public global::LabelStudio.PaginatedRoleBasedTaskList? Type456 { get; set; } + public global::LabelStudio.PaginatedPaginatedProjectMemberList? Type456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type457 { get; set; } + public global::System.Collections.Generic.IList? Type457 { get; set; } /// /// /// - public global::LabelStudio.RoleBasedTask? Type458 { get; set; } + public global::LabelStudio.PaginatedProjectMember? Type458 { get; set; } /// /// /// - public global::LabelStudio.PaginatedSeatReportList? Type459 { get; set; } + public global::LabelStudio.PaginatedProjectSubsetTasksResponseList? Type459 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type460 { get; set; } + public global::System.Collections.Generic.IList? Type460 { get; set; } /// /// /// - public global::LabelStudio.SeatReport? Type461 { get; set; } + public global::LabelStudio.ProjectSubsetTasksResponse? Type461 { get; set; } /// /// /// - public global::LabelStudio.PaginatedStateModelList? Type462 { get; set; } + public global::LabelStudio.PaginatedRoleBasedTaskList? Type462 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type463 { get; set; } + public global::System.Collections.Generic.IList? Type463 { get; set; } /// /// /// - public global::LabelStudio.PaginatedUserLearningProgressListList? Type464 { get; set; } + public global::LabelStudio.RoleBasedTask? Type464 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type465 { get; set; } + public global::LabelStudio.PaginatedSeatReportList? Type465 { get; set; } /// /// /// - public global::LabelStudio.UserLearningProgressList? Type466 { get; set; } + public global::System.Collections.Generic.IList? Type466 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnalyticsViewRequest? Type467 { get; set; } + public global::LabelStudio.SeatReport? Type467 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnnotationRequest? Type468 { get; set; } + public global::LabelStudio.PaginatedStateModelList? Type468 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnnotationReviewRequest? Type469 { get; set; } + public global::System.Collections.Generic.IList? Type469 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? Type470 { get; set; } + public global::LabelStudio.PaginatedUserLearningProgressListList? Type470 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? Type471 { get; set; } + public global::System.Collections.Generic.IList? Type471 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureDatasetStorageRequest? Type472 { get; set; } + public global::LabelStudio.UserLearningProgressList? Type472 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest? Type473 { get; set; } + public global::LabelStudio.PatchedAnalyticsViewRequest? Type473 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest? Type474 { get; set; } + public global::LabelStudio.PatchedAnnotationRequest? Type474 { get; set; } /// /// /// - public global::LabelStudio.PatchedBlueprintUpdateRequest? Type475 { get; set; } + public global::LabelStudio.PatchedAnnotationReviewRequest? Type475 { get; set; } /// /// /// - public global::LabelStudio.PatchedCommentRequest? Type476 { get; set; } + public global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? Type476 { get; set; } /// /// /// - public global::LabelStudio.PatchedCoursePageUpdateRequest? Type477 { get; set; } + public global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? Type477 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? Type478 { get; set; } + public global::LabelStudio.PatchedAzureDatasetStorageRequest? Type478 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? Type479 { get; set; } + public global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest? Type479 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest? Type480 { get; set; } + public global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest? Type480 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatasetRequest? Type481 { get; set; } + public global::LabelStudio.PatchedBlueprintUpdateRequest? Type481 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatasetViewRequest? Type482 { get; set; } + public global::LabelStudio.PatchedCommentRequest? Type482 { get; set; } /// /// /// - public global::LabelStudio.PatchedDefaultRoleRequest? Type483 { get; set; } + public global::LabelStudio.PatchedCoursePageUpdateRequest? Type483 { get; set; } /// /// /// - public global::LabelStudio.PatchedDimensionRequest? Type484 { get; set; } + public global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? Type484 { get; set; } /// /// /// - public global::LabelStudio.PatchedFewShotExampleRequest? Type485 { get; set; } + public global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? Type485 { get; set; } /// /// /// - public global::LabelStudio.PatchedFileUploadRequest? Type486 { get; set; } + public global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest? Type486 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSDatasetStorageRequest? Type487 { get; set; } + public global::LabelStudio.PatchedDatasetRequest? Type487 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSExportStorageWriteRequest? Type488 { get; set; } + public global::LabelStudio.PatchedDatasetViewRequest? Type488 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSImportStorageWriteRequest? Type489 { get; set; } + public global::LabelStudio.PatchedDefaultRoleRequest? Type489 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSSAExportStorageRequest? Type490 { get; set; } + public global::LabelStudio.PatchedDimensionRequest? Type490 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSSAImportStorageRequest? Type491 { get; set; } + public global::LabelStudio.PatchedFewShotExampleRequest? Type491 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSWIFExportStorageRequest? Type492 { get; set; } + public global::LabelStudio.PatchedFileUploadRequest? Type492 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSWIFImportStorageRequest? Type493 { get; set; } + public global::LabelStudio.PatchedGCSDatasetStorageRequest? Type493 { get; set; } /// /// /// - public global::LabelStudio.PatchedHotkeysRequest? Type494 { get; set; } + public global::LabelStudio.PatchedGCSExportStorageWriteRequest? Type494 { get; set; } /// /// /// - public global::LabelStudio.PatchedLabelLinkRequest? Type495 { get; set; } + public global::LabelStudio.PatchedGCSImportStorageWriteRequest? Type495 { get; set; } /// /// /// - public global::LabelStudio.PatchedLabelRequest? Type496 { get; set; } + public global::LabelStudio.PatchedGCSSAExportStorageRequest? Type496 { get; set; } /// /// /// - public global::LabelStudio.PatchedLearningResourceRequest? Type497 { get; set; } + public global::LabelStudio.PatchedGCSSAImportStorageRequest? Type497 { get; set; } /// /// /// - public global::LabelStudio.PatchedLearningResourceUpdateRequest? Type498 { get; set; } + public global::LabelStudio.PatchedGCSWIFExportStorageRequest? Type498 { get; set; } /// /// /// - public global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? Type499 { get; set; } + public global::LabelStudio.PatchedGCSWIFImportStorageRequest? Type499 { get; set; } /// /// /// - public global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? Type500 { get; set; } + public global::LabelStudio.PatchedHotkeysRequest? Type500 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseInterfaceRequest? Type501 { get; set; } + public global::LabelStudio.PatchedLabelLinkRequest? Type501 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest? Type502 { get; set; } + public global::LabelStudio.PatchedLabelRequest? Type502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type503 { get; set; } + public global::LabelStudio.PatchedLearningResourceRequest? Type503 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseProjectUpdateRequest? Type504 { get; set; } + public global::LabelStudio.PatchedLearningResourceUpdateRequest? Type504 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaults? Type505 { get; set; } + public global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? Type505 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaultsExplore? Type506 { get; set; } + public global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? Type506 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaultsLabeling? Type507 { get; set; } + public global::LabelStudio.PatchedLseInterfaceRequest? Type507 { get; set; } /// /// /// - public global::LabelStudio.ReviewSettingsRequest? Type508 { get; set; } + public global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest? Type508 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseS3ExportStorageRequest? Type509 { get; set; } + public global::System.Collections.Generic.IList>? Type509 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseS3ImportStorageRequest? Type510 { get; set; } + public global::LabelStudio.PatchedLseProjectUpdateRequest? Type510 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseTaskRequest? Type511 { get; set; } + public global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaults? Type511 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseUserSerializerUpdateRequest? Type512 { get; set; } + public global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaultsExplore? Type512 { get; set; } /// /// /// - public global::LabelStudio.PatchedMLBackendRequestRequest? Type513 { get; set; } + public global::LabelStudio.PatchedLseProjectUpdateRequestDmColumnDefaultsLabeling? Type513 { get; set; } /// /// /// - public global::LabelStudio.PatchedModelInterfaceRequest? Type514 { get; set; } + public global::LabelStudio.ReviewSettingsRequest? Type514 { get; set; } /// /// /// - public global::LabelStudio.PatchedModelProviderConnectionRequest? Type515 { get; set; } + public global::LabelStudio.PatchedLseS3ExportStorageRequest? Type515 { get; set; } /// /// /// - public global::LabelStudio.PatchedOrganizationMemberCreateUpdateRequest? Type516 { get; set; } + public global::LabelStudio.PatchedLseS3ImportStorageRequest? Type516 { get; set; } /// /// /// - public global::LabelStudio.StandardUserTypeEnum? Type517 { get; set; } + public global::LabelStudio.PatchedLseTaskRequest? Type517 { get; set; } /// /// /// - public global::LabelStudio.PatchedOrganizationMemberTagRequest? Type518 { get; set; } + public global::LabelStudio.PatchedLseUserSerializerUpdateRequest? Type518 { get; set; } /// /// /// - public global::LabelStudio.PatchedOrganizationPermissionRequest? Type519 { get; set; } + public global::LabelStudio.PatchedMLBackendRequestRequest? Type519 { get; set; } /// /// /// - public global::LabelStudio.PatchedPauseRequest? Type520 { get; set; } + public global::LabelStudio.PatchedModelInterfaceRequest? Type520 { get; set; } /// /// /// - public global::LabelStudio.ReasonEnum? Type521 { get; set; } + public global::LabelStudio.PatchedModelProviderConnectionRequest? Type521 { get; set; } /// /// /// - public global::LabelStudio.PatchedPredictionRequest? Type522 { get; set; } + public global::LabelStudio.PatchedOrganizationMemberCreateUpdateRequest? Type522 { get; set; } /// /// /// - public global::LabelStudio.PatchedProjectLearningAssignmentRequest? Type523 { get; set; } + public global::LabelStudio.StandardUserTypeEnum? Type523 { get; set; } /// /// /// - public global::LabelStudio.PatchedProjectTemplateRequest? Type524 { get; set; } + public global::LabelStudio.PatchedOrganizationMemberTagRequest? Type524 { get; set; } /// /// /// - public global::LabelStudio.PatchedRedisExportStorageWriteRequest? Type525 { get; set; } + public global::LabelStudio.PatchedOrganizationPermissionRequest? Type525 { get; set; } /// /// /// - public global::LabelStudio.PatchedRedisImportStorageWriteRequest? Type526 { get; set; } + public global::LabelStudio.PatchedPauseRequest? Type526 { get; set; } /// /// /// - public global::LabelStudio.PatchedS3DatasetStorageRequest? Type527 { get; set; } + public global::LabelStudio.ReasonEnum? Type527 { get; set; } /// /// /// - public global::LabelStudio.PatchedS3ExportStorageWriteRequest? Type528 { get; set; } + public global::LabelStudio.PatchedPredictionRequest? Type528 { get; set; } /// /// /// - public global::LabelStudio.PatchedS3ImportStorageWriteRequest? Type529 { get; set; } + public global::LabelStudio.PatchedProjectLearningAssignmentRequest? Type529 { get; set; } /// /// /// - public global::LabelStudio.PatchedSessionTimeoutPolicyRequest? Type530 { get; set; } + public global::LabelStudio.PatchedProjectTemplateRequest? Type530 { get; set; } /// /// /// - public global::LabelStudio.PatchedTaskAssigneesMutationRequest? Type531 { get; set; } + public global::LabelStudio.PatchedRedisExportStorageWriteRequest? Type531 { get; set; } /// /// /// - public global::LabelStudio.PatchedThirdPartyModelVersionRequest? Type532 { get; set; } + public global::LabelStudio.PatchedRedisImportStorageWriteRequest? Type532 { get; set; } /// /// /// - public global::LabelStudio.PatchedViewRequestRequest? Type533 { get; set; } + public global::LabelStudio.PatchedS3DatasetStorageRequest? Type533 { get; set; } /// /// /// - public global::LabelStudio.ViewDataRequestRequest? Type534 { get; set; } + public global::LabelStudio.PatchedS3ExportStorageWriteRequest? Type534 { get; set; } /// /// /// - public global::LabelStudio.PatchedWebhookSerializerForUpdateRequest? Type535 { get; set; } + public global::LabelStudio.PatchedS3ImportStorageWriteRequest? Type535 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type536 { get; set; } + public global::LabelStudio.PatchedSessionTimeoutPolicyRequest? Type536 { get; set; } /// /// /// - public global::LabelStudio.PatchedWorkspaceRequest? Type537 { get; set; } + public global::LabelStudio.PatchedTaskAssigneesMutationRequest? Type537 { get; set; } /// /// /// - public global::LabelStudio.Pause? Type538 { get; set; } + public global::LabelStudio.PatchedThirdPartyModelVersionRequest? Type538 { get; set; } /// /// /// - public global::LabelStudio.PauseRequest? Type539 { get; set; } + public global::LabelStudio.PatchedViewRequestRequest? Type539 { get; set; } /// /// /// - public global::LabelStudio.Prediction? Type540 { get; set; } + public global::LabelStudio.ViewDataRequestRequest? Type540 { get; set; } /// /// /// - public global::LabelStudio.PredictionCountResponse? Type541 { get; set; } + public global::LabelStudio.PatchedWebhookSerializerForUpdateRequest? Type541 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type542 { get; set; } + public global::System.Collections.Generic.IList? Type542 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsFiltersRequestItem? Type543 { get; set; } + public global::LabelStudio.PatchedWorkspaceRequest? Type543 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type544 { get; set; } + public global::LabelStudio.Pause? Type544 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter? Type545 { get; set; } + public global::LabelStudio.PauseRequest? Type545 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter? Type546 { get; set; } + public global::LabelStudio.Prediction? Type546 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator? Type547 { get; set; } + public global::LabelStudio.PredictionCountResponse? Type547 { get; set; } /// /// /// - public global::LabelStudio.OneOf? Type548 { get; set; } + public global::System.Collections.Generic.IList? Type548 { get; set; } /// /// /// - public float? Type549 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItem? Type549 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsFiltersRequestItemFilter? Type550 { get; set; } + public global::System.Collections.Generic.IList? Type550 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsFiltersRequestItemOperator? Type551 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter? Type551 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type552 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter? Type552 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsOrderingRequestItem? Type553 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator? Type553 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsRequestRequest? Type554 { get; set; } + public global::LabelStudio.OneOf? Type554 { get; set; } /// /// /// - public global::LabelStudio.OneOf? Type555 { get; set; } + public float? Type555 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse? Type556 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemFilter? Type556 { get; set; } /// /// /// - public global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue? Type557 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemOperator? Type557 { get; set; } /// /// /// - public global::LabelStudio.Project? Type558 { get; set; } + public global::System.Collections.Generic.IList? Type558 { get; set; } /// /// /// - public global::LabelStudio.ProjectAnnotationsBrowseItem? Type559 { get; set; } + public global::LabelStudio.PrepareParamsOrderingRequestItem? Type559 { get; set; } /// /// /// - public global::LabelStudio.ProjectAnnotationsBrowseResponse? Type560 { get; set; } + public global::LabelStudio.PrepareParamsRequestRequest? Type560 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type561 { get; set; } + public global::LabelStudio.OneOf? Type561 { get; set; } /// /// /// - public global::LabelStudio.ProjectDuplicateModeEnum? Type562 { get; set; } + public global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse? Type562 { get; set; } /// /// /// - public global::LabelStudio.ProjectDuplicateRequest? Type563 { get; set; } + public global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue? Type563 { get; set; } /// /// /// - public global::LabelStudio.ProjectGroup? Type564 { get; set; } + public global::LabelStudio.Project? Type564 { get; set; } /// /// /// - public global::LabelStudio.ProjectGroupRoleEnum? Type565 { get; set; } + public global::LabelStudio.ProjectAnnotationsBrowseItem? Type565 { get; set; } /// /// /// - public global::LabelStudio.ProjectGroupRequest? Type566 { get; set; } + public global::LabelStudio.ProjectAnnotationsBrowseResponse? Type566 { get; set; } /// /// /// - public global::LabelStudio.ProjectImport? Type567 { get; set; } + public global::System.Collections.Generic.IList? Type567 { get; set; } /// /// /// - public global::LabelStudio.ProjectLabelConfig? Type568 { get; set; } + public global::LabelStudio.ProjectDuplicateModeEnum? Type568 { get; set; } /// /// /// - public global::LabelStudio.ProjectLabelConfigRequest? Type569 { get; set; } + public global::LabelStudio.ProjectDuplicateRequest? Type569 { get; set; } /// /// /// - public global::LabelStudio.ProjectLearningAssignment? Type570 { get; set; } + public global::LabelStudio.ProjectGroup? Type570 { get; set; } /// /// /// - public global::LabelStudio.ProjectLearningAssignmentCreateRequest? Type571 { get; set; } + public global::LabelStudio.ProjectGroupRoleEnum? Type571 { get; set; } /// /// /// - public global::LabelStudio.ProjectMember? Type572 { get; set; } + public global::LabelStudio.ProjectGroupRequest? Type572 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberBulkAssignRequest? Type573 { get; set; } + public global::LabelStudio.ProjectImport? Type573 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type574 { get; set; } + public global::LabelStudio.ProjectLabelConfig? Type574 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberBulkAssignRolesRequest? Type575 { get; set; } + public global::LabelStudio.ProjectLabelConfigRequest? Type575 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberBulkAssignResponse? Type576 { get; set; } + public global::LabelStudio.ProjectLearningAssignment? Type576 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberIdentityVerificationError? Type577 { get; set; } + public global::LabelStudio.ProjectLearningAssignmentCreateRequest? Type577 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberRequest? Type578 { get; set; } + public global::LabelStudio.ProjectMember? Type578 { get; set; } /// /// /// - public global::LabelStudio.ProjectReimport? Type579 { get; set; } + public global::LabelStudio.ProjectMemberBulkAssignRequest? Type579 { get; set; } /// /// /// - public global::LabelStudio.ProjectRole? Type580 { get; set; } + public global::System.Collections.Generic.IList? Type580 { get; set; } /// /// /// - public global::LabelStudio.ProjectRoleAssignment? Type581 { get; set; } + public global::LabelStudio.ProjectMemberBulkAssignRolesRequest? Type581 { get; set; } /// /// /// - public global::LabelStudio.ProjectRoleRequest? Type582 { get; set; } + public global::LabelStudio.ProjectMemberBulkAssignResponse? Type582 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetItem? Type583 { get; set; } + public global::LabelStudio.ProjectMemberIdentityVerificationError? Type583 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetTaskItem? Type584 { get; set; } + public global::LabelStudio.ProjectMemberRequest? Type584 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type585 { get; set; } + public global::LabelStudio.ProjectReimport? Type585 { get; set; } /// /// /// - public global::LabelStudio.ProjectTemplate? Type586 { get; set; } + public global::LabelStudio.ProjectRole? Type586 { get; set; } /// /// /// - public global::LabelStudio.ProjectTemplateRequest? Type587 { get; set; } + public global::LabelStudio.ProjectRoleAssignment? Type587 { get; set; } /// /// /// - public global::LabelStudio.PromptPreviewResponse? Type588 { get; set; } + public global::LabelStudio.ProjectRoleRequest? Type588 { get; set; } /// /// /// - public global::LabelStudio.PublishLearningResourceRequest? Type589 { get; set; } + public global::LabelStudio.ProjectSubsetItem? Type589 { get; set; } /// /// /// - public global::LabelStudio.RetakeScopeEnum? Type590 { get; set; } + public global::LabelStudio.ProjectSubsetTaskItem? Type590 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluate? Type591 { get; set; } + public global::System.Collections.Generic.IList? Type591 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluateModeEnum? Type592 { get; set; } + public global::LabelStudio.ProjectTemplate? Type592 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluateRequest? Type593 { get; set; } + public global::LabelStudio.ProjectTemplateRequest? Type593 { get; set; } /// /// /// - public global::LabelStudio.RedisExportStorage? Type594 { get; set; } + public global::LabelStudio.PromptPreviewResponse? Type594 { get; set; } /// /// /// - public global::LabelStudio.RedisExportStorageValidateRequest? Type595 { get; set; } + public global::LabelStudio.PublishLearningResourceRequest? Type595 { get; set; } /// /// /// - public global::LabelStudio.RedisExportStorageWriteRequest? Type596 { get; set; } + public global::LabelStudio.RetakeScopeEnum? Type596 { get; set; } /// /// /// - public global::LabelStudio.RedisImportStorage? Type597 { get; set; } + public global::LabelStudio.ReEvaluate? Type597 { get; set; } /// /// /// - public global::LabelStudio.RedisImportStorageValidateRequest? Type598 { get; set; } + public global::LabelStudio.ReEvaluateModeEnum? Type598 { get; set; } /// /// /// - public global::LabelStudio.RedisImportStorageWriteRequest? Type599 { get; set; } + public global::LabelStudio.ReEvaluateRequest? Type599 { get; set; } /// /// /// - public global::LabelStudio.RefinePromptRequestRequest? Type600 { get; set; } + public global::LabelStudio.RedisExportStorage? Type600 { get; set; } /// /// /// - public global::LabelStudio.RefinedPromptResponse? Type601 { get; set; } + public global::LabelStudio.RedisExportStorageValidateRequest? Type601 { get; set; } /// /// /// - public global::LabelStudio.ThirdPartyModelVersion? Type602 { get; set; } + public global::LabelStudio.RedisExportStorageWriteRequest? Type602 { get; set; } /// /// /// - public global::LabelStudio.RegressionSummary? Type603 { get; set; } + public global::LabelStudio.RedisImportStorage? Type603 { get; set; } /// /// /// - public global::LabelStudio.RegressionsResponse? Type604 { get; set; } + public global::LabelStudio.RedisImportStorageValidateRequest? Type604 { get; set; } /// /// /// - public global::LabelStudio.RequeueRejectedTasksModeEnum? Type605 { get; set; } + public global::LabelStudio.RedisImportStorageWriteRequest? Type605 { get; set; } /// /// /// - public global::LabelStudio.RetakeReasonEnum? Type606 { get; set; } + public global::LabelStudio.RefinePromptRequestRequest? Type606 { get; set; } /// /// /// - public global::LabelStudio.ReviewCriteriaEnum? Type607 { get; set; } + public global::LabelStudio.RefinedPromptResponse? Type607 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRule? Type608 { get; set; } + public global::LabelStudio.ThirdPartyModelVersion? Type608 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRuleRequestRequest? Type609 { get; set; } + public global::LabelStudio.RegressionSummary? Type609 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRulesReplaceRequest? Type610 { get; set; } + public global::LabelStudio.RegressionsResponse? Type610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type611 { get; set; } + public global::LabelStudio.RequeueRejectedTasksModeEnum? Type611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type612 { get; set; } + public global::LabelStudio.RetakeReasonEnum? Type612 { get; set; } /// /// /// - public global::LabelStudio.ReviewSettingsSamplingEnum? Type613 { get; set; } + public global::LabelStudio.ReviewCriteriaEnum? Type613 { get; set; } /// /// /// - public global::LabelStudio.RevokeCertificateRequest? Type614 { get; set; } + public global::LabelStudio.ReviewRoutingRule? Type614 { get; set; } /// /// /// - public global::LabelStudio.RevokeInviteRequest? Type615 { get; set; } + public global::LabelStudio.ReviewRoutingRuleRequestRequest? Type615 { get; set; } /// /// /// - public global::LabelStudio.S3DatasetStorage? Type616 { get; set; } + public global::LabelStudio.ReviewRoutingRulesReplaceRequest? Type616 { get; set; } /// /// /// - public global::LabelStudio.S3DatasetStorageRequest? Type617 { get; set; } + public global::System.Collections.Generic.IList? Type617 { get; set; } /// /// /// - public global::LabelStudio.S3ExportStorage? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::LabelStudio.S3ExportStorageValidateRequest? Type619 { get; set; } + public global::LabelStudio.ReviewSettingsSamplingEnum? Type619 { get; set; } /// /// /// - public global::LabelStudio.S3ExportStorageWriteRequest? Type620 { get; set; } + public global::LabelStudio.RevokeCertificateRequest? Type620 { get; set; } /// /// /// - public global::LabelStudio.S3ImportStorage? Type621 { get; set; } + public global::LabelStudio.RevokeInviteRequest? Type621 { get; set; } /// /// /// - public global::LabelStudio.S3ImportStorageValidateRequest? Type622 { get; set; } + public global::LabelStudio.S3DatasetStorage? Type622 { get; set; } /// /// /// - public global::LabelStudio.S3ImportStorageWriteRequest? Type623 { get; set; } + public global::LabelStudio.S3DatasetStorageRequest? Type623 { get; set; } /// /// /// - public global::LabelStudio.SamlSettings? Type624 { get; set; } + public global::LabelStudio.S3ExportStorage? Type624 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type625 { get; set; } + public global::LabelStudio.S3ExportStorageValidateRequest? Type625 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type626 { get; set; } + public global::LabelStudio.S3ExportStorageWriteRequest? Type626 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type627 { get; set; } + public global::LabelStudio.S3ImportStorage? Type627 { get; set; } /// /// /// - public global::LabelStudio.SamlSettingsUpdate? Type628 { get; set; } + public global::LabelStudio.S3ImportStorageValidateRequest? Type628 { get; set; } /// /// /// - public global::LabelStudio.SamlSettingsUpdateRequest? Type629 { get; set; } + public global::LabelStudio.S3ImportStorageWriteRequest? Type629 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type630 { get; set; } + public global::LabelStudio.SamlSettings? Type630 { get; set; } /// /// /// - public global::LabelStudio.ScimSettings? Type631 { get; set; } + public global::System.Collections.Generic.IList? Type631 { get; set; } /// /// /// - public global::LabelStudio.ScimSettingsUpdate? Type632 { get; set; } + public global::System.Collections.Generic.IList>? Type632 { get; set; } /// /// /// - public global::LabelStudio.ScimSettingsUpdateRequest? Type633 { get; set; } + public global::System.Collections.Generic.Dictionary? Type633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type634 { get; set; } + public global::LabelStudio.SamlSettingsUpdate? Type634 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type635 { get; set; } + public global::LabelStudio.SamlSettingsUpdateRequest? Type635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type636 { get; set; } + public global::System.Collections.Generic.IList? Type636 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceAccessAssignment? Type637 { get; set; } + public global::LabelStudio.ScimSettings? Type637 { get; set; } /// /// /// - public global::LabelStudio.SendInviteRequest? Type638 { get; set; } + public global::LabelStudio.ScimSettingsUpdate? Type638 { get; set; } /// /// /// - public global::LabelStudio.SerializationOption? Type639 { get; set; } + public global::LabelStudio.ScimSettingsUpdateRequest? Type639 { get; set; } /// /// /// - public global::LabelStudio.SerializationOptionRequest? Type640 { get; set; } + public global::System.Collections.Generic.IList? Type640 { get; set; } /// /// /// - public global::LabelStudio.SessionTimeoutPolicy? Type641 { get; set; } + public global::System.Collections.Generic.IList? Type641 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillCancelResponse? Type642 { get; set; } + public global::System.Collections.Generic.IList? Type642 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillErrorResponse? Type643 { get; set; } + public global::LabelStudio.WorkspaceAccessAssignment? Type643 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobItem? Type644 { get; set; } + public global::LabelStudio.SendInviteRequest? Type644 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobItemResponse? Type645 { get; set; } + public global::LabelStudio.SerializationOption? Type645 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillProgress? Type646 { get; set; } + public global::LabelStudio.SerializationOptionRequest? Type646 { get; set; } /// /// /// - public global::LabelStudio.StateTriggeredBy? Type647 { get; set; } + public global::LabelStudio.SessionTimeoutPolicy? Type647 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobListResponse? Type648 { get; set; } + public global::LabelStudio.StateBackfillCancelResponse? Type648 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type649 { get; set; } + public global::LabelStudio.StateBackfillErrorResponse? Type649 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillOrgStatus? Type650 { get; set; } + public global::LabelStudio.StateBackfillJobItem? Type650 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillResponse? Type651 { get; set; } + public global::LabelStudio.StateBackfillJobItemResponse? Type651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type652 { get; set; } + public global::LabelStudio.StateBackfillProgress? Type652 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillStatusResponse? Type653 { get; set; } + public global::LabelStudio.StateTriggeredBy? Type653 { get; set; } /// /// /// - public global::LabelStudio.TriggeredBy2? Type654 { get; set; } + public global::LabelStudio.StateBackfillJobListResponse? Type654 { get; set; } /// /// /// - public global::LabelStudio.TaskAgreementMatrixResponse? Type655 { get; set; } + public global::System.Collections.Generic.IList? Type655 { get; set; } /// /// /// - public global::LabelStudio.TaskAssigneesMutationRequest? Type656 { get; set; } + public global::LabelStudio.StateBackfillOrgStatus? Type656 { get; set; } /// /// /// - public global::LabelStudio.TaskAssignment? Type657 { get; set; } + public global::LabelStudio.StateBackfillResponse? Type657 { get; set; } /// /// /// - public global::LabelStudio.TaskEvent? Type658 { get; set; } + public global::System.Collections.Generic.IList? Type658 { get; set; } /// /// /// - public global::LabelStudio.TaskEventRequest? Type659 { get; set; } + public global::LabelStudio.StateBackfillStatusResponse? Type659 { get; set; } /// /// /// - public global::LabelStudio.TaskSimple? Type660 { get; set; } + public global::LabelStudio.TriggeredBy2? Type660 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type661 { get; set; } + public global::LabelStudio.TaskAgreementMatrixResponse? Type661 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type662 { get; set; } + public global::LabelStudio.TaskAssigneesMutationRequest? Type662 { get; set; } /// /// /// - public global::LabelStudio.ThirdPartyModelVersionRequest? Type663 { get; set; } + public global::LabelStudio.TaskAssignment? Type663 { get; set; } /// /// /// - public global::LabelStudio.TokenDetailError? Type664 { get; set; } + public global::LabelStudio.TaskEvent? Type664 { get; set; } /// /// /// - public global::LabelStudio.TokenRefreshRequest? Type665 { get; set; } + public global::LabelStudio.TaskEventRequest? Type665 { get; set; } /// /// /// - public global::LabelStudio.TokenRefreshResponse? Type666 { get; set; } + public global::LabelStudio.TaskSimple? Type666 { get; set; } /// /// /// - public global::LabelStudio.TokenRotateResponse? Type667 { get; set; } + public global::System.Collections.Generic.IList? Type667 { get; set; } /// /// /// - public global::LabelStudio.TryTaskRequestRequest? Type668 { get; set; } + public global::System.Collections.Generic.IList? Type668 { get; set; } /// /// /// - public global::LabelStudio.TryTaskResponse? Type669 { get; set; } + public global::LabelStudio.ThirdPartyModelVersionRequest? Type669 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlDomainRequestRequest? Type670 { get; set; } + public global::LabelStudio.TokenDetailError? Type670 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlDomainResponse? Type671 { get; set; } + public global::LabelStudio.TokenRefreshRequest? Type671 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlMetadataUrlRequestRequest? Type672 { get; set; } + public global::LabelStudio.TokenRefreshResponse? Type672 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlMetadataUrlResponse? Type673 { get; set; } + public global::LabelStudio.TokenRotateResponse? Type673 { get; set; } /// /// /// - public global::LabelStudio.ValueCountsBackfillJob? Type674 { get; set; } + public global::LabelStudio.TryTaskRequestRequest? Type674 { get; set; } /// /// /// - public global::LabelStudio.VersionResponse? Type675 { get; set; } + public global::LabelStudio.TryTaskResponse? Type675 { get; set; } /// /// /// - public global::LabelStudio.View? Type676 { get; set; } + public global::LabelStudio.ValidateSamlDomainRequestRequest? Type676 { get; set; } /// /// /// - public global::LabelStudio.ViewLockedBy? Type677 { get; set; } + public global::LabelStudio.ValidateSamlDomainResponse? Type677 { get; set; } /// /// /// - public global::LabelStudio.ViewOrderRequest? Type678 { get; set; } + public global::LabelStudio.ValidateSamlMetadataUrlRequestRequest? Type678 { get; set; } /// /// /// - public global::LabelStudio.ViewRequestRequest? Type679 { get; set; } + public global::LabelStudio.ValidateSamlMetadataUrlResponse? Type679 { get; set; } /// /// /// - public global::LabelStudio.Webhook? Type680 { get; set; } + public global::LabelStudio.ValueCountsBackfillJob? Type680 { get; set; } /// /// /// - public global::LabelStudio.WebhookRequest? Type681 { get; set; } + public global::LabelStudio.VersionResponse? Type681 { get; set; } /// /// /// - public global::LabelStudio.WebhookSerializerForUpdate? Type682 { get; set; } + public global::LabelStudio.View? Type682 { get; set; } /// /// /// - public global::LabelStudio.WebhookSerializerForUpdateRequest? Type683 { get; set; } + public global::LabelStudio.ViewLockedBy? Type683 { get; set; } /// /// /// - public global::LabelStudio.WhoAmILseFields? Type684 { get; set; } + public global::LabelStudio.ViewOrderRequest? Type684 { get; set; } /// /// /// - public global::LabelStudio.WhoAmIUser? Type685 { get; set; } + public global::LabelStudio.ViewRequestRequest? Type685 { get; set; } /// /// /// - public global::LabelStudio.Workspace? Type686 { get; set; } + public global::LabelStudio.Webhook? Type686 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberBulkAssignRequest? Type687 { get; set; } + public global::LabelStudio.WebhookRequest? Type687 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberCreate? Type688 { get; set; } + public global::LabelStudio.WebhookSerializerForUpdate? Type688 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberCreateRequest? Type689 { get; set; } + public global::LabelStudio.WebhookSerializerForUpdateRequest? Type689 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberList? Type690 { get; set; } + public global::LabelStudio.WhoAmILseFields? Type690 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceProjectsRequest? Type691 { get; set; } + public global::LabelStudio.WhoAmIUser? Type691 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceRequest? Type692 { get; set; } + public global::LabelStudio.Workspace? Type692 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type693 { get; set; } + public global::LabelStudio.WorkspaceMemberBulkAssignRequest? Type693 { get; set; } /// /// /// - public global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest? Type694 { get; set; } + public global::LabelStudio.WorkspaceMemberCreate? Type694 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type695 { get; set; } + public global::LabelStudio.WorkspaceMemberCreateRequest? Type695 { get; set; } /// /// /// - public global::LabelStudio.ApiActivityLogsListMethod? Type696 { get; set; } + public global::LabelStudio.WorkspaceMemberList? Type696 { get; set; } /// /// /// - public global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime? Type697 { get; set; } + public global::LabelStudio.WorkspaceProjectsRequest? Type697 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateId? Type698 { get; set; } + public global::LabelStudio.WorkspaceRequest? Type698 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsIdpAssignmentsHistoryListKind? Type699 { get; set; } + public global::System.Collections.Generic.IList? Type699 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource? Type700 { get; set; } + public global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest? Type700 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType? Type701 { get; set; } + public global::System.Collections.Generic.IList? Type701 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind? Type702 { get; set; } + public global::LabelStudio.ApiActivityLogsListMethod? Type702 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode? Type703 { get; set; } + public global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime? Type703 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable? Type704 { get; set; } + public global::LabelStudio.ApiDmActionsCreateId? Type704 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable? Type705 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsIdpAssignmentsHistoryListKind? Type705 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveTable? Type706 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource? Type706 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesDestroyType? Type707 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType? Type707 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsSubsetTasksListAlignmentOutcome? Type708 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind? Type708 { get; set; } /// /// /// - public global::LabelStudio.ApiPromptsCompatibleProjectsListProjectType? Type709 { get; set; } + public global::LabelStudio.ApiOrganizationsJobsListStatus? Type709 { get; set; } /// /// /// - public global::LabelStudio.ApiPromptsVersionsInferenceRunsListProjectSubset? Type710 { get; set; } + public global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode? Type710 { get; set; } /// /// /// - public global::LabelStudio.ApiTasksListFields? Type711 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable? Type711 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type712 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable? Type712 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type713 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveTable? Type713 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type714 { get; set; } + public global::LabelStudio.ApiProjectsTasksAssigneesDestroyType? Type714 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationHistoryDestroyResponse? Type715 { get; set; } + public global::LabelStudio.ApiProjectsSubsetTasksListAlignmentOutcome? Type715 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type716 { get; set; } + public global::LabelStudio.ApiPromptsCompatibleProjectsListProjectType? Type716 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationsBulkDeleteCreateResponse? Type717 { get; set; } + public global::LabelStudio.ApiPromptsVersionsInferenceRunsListProjectSubset? Type717 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type718 { get; set; } + public global::LabelStudio.ApiTasksListFields? Type718 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationsBulkCreateResponseItem? Type719 { get; set; } + public global::System.Collections.Generic.IList? Type719 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type720 { get; set; } + public global::System.Collections.Generic.IList? Type720 { get; set; } /// /// /// - public global::LabelStudio.ApiCurrentUserResetTokenCreateResponse? Type721 { get; set; } + public global::System.Collections.Generic.IList? Type721 { get; set; } /// /// /// - public global::LabelStudio.ApiCurrentUserTokenRetrieveResponse? Type722 { get; set; } + public global::LabelStudio.ApiAnnotationHistoryDestroyResponse? Type722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type723 { get; set; } + public global::System.Collections.Generic.IList? Type723 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type724 { get; set; } + public global::LabelStudio.ApiAnnotationsBulkDeleteCreateResponse? Type724 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type725 { get; set; } + public global::System.Collections.Generic.IList? Type725 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type726 { get; set; } + public global::LabelStudio.ApiAnnotationsBulkCreateResponseItem? Type726 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type727 { get; set; } + public global::System.Collections.Generic.IList? Type727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type728 { get; set; } + public global::LabelStudio.ApiCurrentUserResetTokenCreateResponse? Type728 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type729 { get; set; } + public global::LabelStudio.ApiCurrentUserTokenRetrieveResponse? Type729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type730 { get; set; } + public global::System.Collections.Generic.IList? Type730 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type731 { get; set; } + public global::System.Collections.Generic.IList? Type731 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsRetrieveResponseItem? Type732 { get; set; } + public global::System.Collections.Generic.IList? Type732 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsRetrieveResponseItemDialog? Type733 { get; set; } + public global::System.Collections.Generic.IList? Type733 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type734 { get; set; } + public global::System.Collections.Generic.IList? Type734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type735 { get; set; } + public global::System.Collections.Generic.IList? Type735 { get; set; } /// /// /// - public global::LabelStudio.ApiInferenceRunsIndicatorsListResponseItem? Type736 { get; set; } + public global::System.Collections.Generic.IList? Type736 { get; set; } /// /// /// - public global::LabelStudio.ApiLearningResourcesUserProgressBulkResetCreateResponse? Type737 { get; set; } + public global::System.Collections.Generic.IList? Type737 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse? Type738 { get; set; } + public global::System.Collections.Generic.IList? Type738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type739 { get; set; } + public global::LabelStudio.ApiDmActionsRetrieveResponseItem? Type739 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoice? Type740 { get; set; } + public global::LabelStudio.ApiDmActionsRetrieveResponseItemDialog? Type740 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoiceMessage? Type741 { get; set; } + public global::System.Collections.Generic.IList? Type741 { get; set; } /// /// /// - public global::System.DateTimeOffset? Type742 { get; set; } + public global::System.Collections.Generic.IList? Type742 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseUsage? Type743 { get; set; } + public global::LabelStudio.ApiInferenceRunsIndicatorsListResponseItem? Type743 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse2? Type744 { get; set; } + public global::LabelStudio.ApiLearningResourcesUserProgressBulkResetCreateResponse? Type744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type745 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse? Type745 { get; set; } /// /// /// - public global::LabelStudio.ApiMlVersionsRetrieveResponse? Type746 { get; set; } + public global::System.Collections.Generic.IList? Type746 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type747 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoice? Type747 { get; set; } /// /// /// - public global::LabelStudio.ApiModelProviderConnectionsProviderChoicesRetrieveResponse? Type748 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseChoiceMessage? Type748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type749 { get; set; } + public global::System.DateTimeOffset? Type749 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsAssignmentsCreateResponse? Type750 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponseUsage? Type750 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsBulkDestroyResponse? Type751 { get; set; } + public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateResponse2? Type751 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsBulkCreateResponse? Type752 { get; set; } + public global::System.Collections.Generic.IList? Type752 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsImportsCreateResponse? Type753 { get; set; } + public global::LabelStudio.ApiMlVersionsRetrieveResponse? Type753 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type754 { get; set; } + public global::System.Collections.Generic.IList? Type754 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type755 { get; set; } + public global::LabelStudio.ApiModelProviderConnectionsProviderChoicesRetrieveResponse? Type755 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type756 { get; set; } + public global::System.Collections.Generic.IList? Type756 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type757 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsAssignmentsCreateResponse? Type757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type758 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsBulkDestroyResponse? Type758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type759 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsBulkCreateResponse? Type759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type760 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsImportsCreateResponse? Type760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type761 { get; set; } + public global::System.Collections.Generic.IList? Type761 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponse? Type762 { get; set; } + public global::System.Collections.Generic.IList? Type762 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponseStatus? Type763 { get; set; } + public global::System.Collections.Generic.IList? Type763 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponse? Type764 { get; set; } + public global::System.Collections.Generic.IList? Type764 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponseStatus? Type765 { get; set; } + public global::System.Collections.Generic.IList? Type765 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsDashboardRetrieveResponse? Type766 { get; set; } + public global::System.Collections.Generic.IList? Type766 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsDuplicateCreateResponse? Type767 { get; set; } + public global::System.Collections.Generic.IList? Type767 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type768 { get; set; } + public global::System.Collections.Generic.IList? Type768 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsExportsConvertCreateResponse? Type769 { get; set; } + public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponse? Type769 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type770 { get; set; } + public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponseStatus? Type770 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponse? Type771 { get; set; } + public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponse? Type771 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponseStatus? Type772 { get; set; } + public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponseStatus? Type772 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsImportCreateResponse? Type773 { get; set; } + public global::LabelStudio.ApiProjectsDashboardRetrieveResponse? Type773 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsImportPredictionsCreateResponse? Type774 { get; set; } + public global::LabelStudio.ApiProjectsDuplicateCreateResponse? Type774 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsMembersBulkDestroyResponse? Type775 { get; set; } + public global::System.Collections.Generic.IList? Type775 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsAgreementRetrieveResponse? Type776 { get; set; } + public global::LabelStudio.ApiProjectsExportsConvertCreateResponse? Type776 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsAgreementGroundtruthRetrieveResponse? Type777 { get; set; } + public global::System.Collections.Generic.IList? Type777 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsPredictionRetrieveResponse? Type778 { get; set; } + public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponse? Type778 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type779 { get; set; } + public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponseStatus? Type779 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsIaaRetrieveResponse? Type780 { get; set; } + public global::LabelStudio.ApiProjectsImportCreateResponse? Type780 { get; set; } /// /// /// - public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? Type781 { get; set; } + public global::LabelStudio.ApiProjectsImportPredictionsCreateResponse? Type781 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>>? Type782 { get; set; } + public global::LabelStudio.ApiProjectsMembersBulkDestroyResponse? Type782 { get; set; } /// /// /// - public global::LabelStudio.OneOf>? Type783 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsAgreementRetrieveResponse? Type783 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementGroundtruthRetrieveResponse? Type784 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsAgreementGroundtruthRetrieveResponse? Type784 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorRetrieveResponse? Type785 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsPredictionRetrieveResponse? Type785 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorsRetrieveResponse? Type786 { get; set; } + public global::System.Collections.Generic.IList? Type786 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponse? Type787 { get; set; } + public global::LabelStudio.ApiProjectsStatsIaaRetrieveResponse? Type787 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFilters? Type788 { get; set; } + public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? Type788 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type789 { get; set; } + public global::System.Collections.Generic.Dictionary>>? Type789 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFiltersStat? Type790 { get; set; } + public global::LabelStudio.OneOf>? Type790 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsFinishedRetrieveResponse? Type791 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementGroundtruthRetrieveResponse? Type791 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponse? Type792 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorRetrieveResponse? Type792 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type793 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorsRetrieveResponse? Type793 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponseLeadTimeStat? Type794 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponse? Type794 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveResponse? Type795 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFilters? Type795 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveResponse? Type796 { get; set; } + public global::System.Collections.Generic.IList? Type796 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant1? Type797 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFiltersStat? Type797 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant2? Type798 { get; set; } + public global::LabelStudio.ApiProjectsStatsFinishedRetrieveResponse? Type798 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type799 { get; set; } + public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponse? Type799 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateResponse? Type800 { get; set; } + public global::System.Collections.Generic.IList? Type800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type801 { get; set; } + public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponseLeadTimeStat? Type801 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsPredictionListResponse? Type802 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveResponse? Type802 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsReviewScoreListResponse? Type803 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveResponse? Type803 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsPredictionRetrieveResponse? Type804 { get; set; } + public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant1? Type804 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsReviewScoreRetrieveResponse? Type805 { get; set; } + public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant2? Type805 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUsersStatsAgreementGroundtruthRetrieveResponse? Type806 { get; set; } + public global::System.Collections.Generic.IList? Type806 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type807 { get; set; } + public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateResponse? Type807 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type808 { get; set; } + public global::System.Collections.Generic.IList? Type808 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type809 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsPredictionListResponse? Type809 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type810 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsReviewScoreListResponse? Type810 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type811 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsPredictionRetrieveResponse? Type811 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type812 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsReviewScoreRetrieveResponse? Type812 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type813 { get; set; } + public global::LabelStudio.ApiProjectsUsersStatsAgreementGroundtruthRetrieveResponse? Type813 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type814 { get; set; } + public global::System.Collections.Generic.IList? Type814 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type815 { get; set; } + public global::System.Collections.Generic.IList? Type815 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type816 { get; set; } + public global::System.Collections.Generic.IList? Type816 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type817 { get; set; } + public global::System.Collections.Generic.IList? Type817 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type818 { get; set; } + public global::System.Collections.Generic.IList? Type818 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type819 { get; set; } + public global::System.Collections.Generic.IList? Type819 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type820 { get; set; } + public global::System.Collections.Generic.IList? Type820 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type821 { get; set; } + public global::System.Collections.Generic.IList? Type821 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type822 { get; set; } + public global::System.Collections.Generic.IList? Type822 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type823 { get; set; } + public global::System.Collections.Generic.IList? Type823 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type824 { get; set; } + public global::System.Collections.Generic.IList? Type824 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type825 { get; set; } + public global::System.Collections.Generic.IList? Type825 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type826 { get; set; } + public global::System.Collections.Generic.IList? Type826 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type827 { get; set; } + public global::System.Collections.Generic.IList? Type827 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportTypesRetrieveResponseItem? Type828 { get; set; } + public global::System.Collections.Generic.IList? Type828 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type829 { get; set; } + public global::System.Collections.Generic.IList? Type829 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type830 { get; set; } + public global::System.Collections.Generic.IList? Type830 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type831 { get; set; } + public global::System.Collections.Generic.IList? Type831 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type832 { get; set; } + public global::System.Collections.Generic.IList? Type832 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type833 { get; set; } + public global::System.Collections.Generic.IList? Type833 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type834 { get; set; } + public global::System.Collections.Generic.IList? Type834 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type835 { get; set; } + public global::LabelStudio.ApiStoragesExportTypesRetrieveResponseItem? Type835 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type836 { get; set; } + public global::System.Collections.Generic.IList? Type836 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesTypesRetrieveResponseItem? Type837 { get; set; } + public global::System.Collections.Generic.IList? Type837 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type838 { get; set; } + public global::System.Collections.Generic.IList? Type838 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type839 { get; set; } + public global::System.Collections.Generic.IList? Type839 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type840 { get; set; } + public global::System.Collections.Generic.IList? Type840 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponse? Type841 { get; set; } + public global::System.Collections.Generic.IList? Type841 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsCreated? Type842 { get; set; } + public global::System.Collections.Generic.IList? Type842 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsDeleted? Type843 { get; set; } + public global::System.Collections.Generic.IList? Type843 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationCreated? Type844 { get; set; } + public global::LabelStudio.ApiStoragesTypesRetrieveResponseItem? Type844 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationUpdated? Type845 { get; set; } + public global::System.Collections.Generic.IList? Type845 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkCreated? Type846 { get; set; } + public global::System.Collections.Generic.IList? Type846 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkDeleted? Type847 { get; set; } + public global::System.Collections.Generic.IList? Type847 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkUpdated? Type848 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponse? Type848 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectCreated? Type849 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsCreated? Type849 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectDeleted? Type850 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsDeleted? Type850 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectUpdated? Type851 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationCreated? Type851 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewsDeleted? Type852 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationUpdated? Type852 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewCreated? Type853 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkCreated? Type853 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewUpdated? Type854 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkDeleted? Type854 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksCreated? Type855 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkUpdated? Type855 { get; set; } /// /// /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksDeleted? Type856 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectCreated? Type856 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type857 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectDeleted? Type857 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type858 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectUpdated? Type858 { get; set; } /// /// /// - public global::LabelStudio.ApiWorkspacesMembershipsBulkDestroyResponse? Type859 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewsDeleted? Type859 { get; set; } /// /// /// - public global::LabelStudio.ApiWorkspacesMembershipsBulkCreateResponse? Type860 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewCreated? Type860 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type861 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewUpdated? Type861 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksCreated? Type862 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksDeleted? Type863 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type864 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type865 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWorkspacesMembershipsBulkDestroyResponse? Type866 { get; set; } + /// + /// + /// + public global::LabelStudio.ApiWorkspacesMembershipsBulkCreateResponse? Type867 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type868 { get; set; } /// /// @@ -3586,570 +3614,574 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.List? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List?>? ListType29 { get; set; } + public global::System.Collections.Generic.List?>? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::LabelStudio.OneOf>? ListType32 { get; set; } + public global::LabelStudio.OneOf>? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType73 { get; set; } + public global::System.Collections.Generic.List>? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType77 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType84 { get; set; } + public global::System.Collections.Generic.List>? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + 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? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType93 { 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? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType117 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// - public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? ListType127 { get; set; } + public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? ListType128 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>>? ListType128 { get; set; } + public global::System.Collections.Generic.Dictionary>>? ListType129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType129 { get; set; } + public global::System.Collections.Generic.List? ListType130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType131 { get; set; } + public global::System.Collections.Generic.List? ListType132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType132 { get; set; } + public global::System.Collections.Generic.List? ListType133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType133 { get; set; } + public global::System.Collections.Generic.List? ListType134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType134 { get; set; } + public global::System.Collections.Generic.List? ListType135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType135 { get; set; } + public global::System.Collections.Generic.List? ListType136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType136 { get; set; } + public global::System.Collections.Generic.List? ListType137 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType137 { get; set; } + public global::System.Collections.Generic.List? ListType138 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType138 { get; set; } + public global::System.Collections.Generic.List? ListType139 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType139 { get; set; } + public global::System.Collections.Generic.List? ListType140 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType140 { get; set; } + public global::System.Collections.Generic.List? ListType141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType141 { get; set; } + public global::System.Collections.Generic.List? ListType142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType142 { get; set; } + public global::System.Collections.Generic.List? ListType143 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType143 { get; set; } + public global::System.Collections.Generic.List? ListType144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType144 { get; set; } + public global::System.Collections.Generic.List? ListType145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType145 { get; set; } + public global::System.Collections.Generic.List? ListType146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType146 { get; set; } + public global::System.Collections.Generic.List? ListType147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType147 { get; set; } + public global::System.Collections.Generic.List? ListType148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType148 { get; set; } + public global::System.Collections.Generic.List? ListType149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType149 { get; set; } + public global::System.Collections.Generic.List? ListType150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType150 { get; set; } + public global::System.Collections.Generic.List? ListType151 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType151 { get; set; } + public global::System.Collections.Generic.List? ListType152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType152 { get; set; } + public global::System.Collections.Generic.List? ListType153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType153 { get; set; } + public global::System.Collections.Generic.List? ListType154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType154 { get; set; } + public global::System.Collections.Generic.List? ListType155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType155 { get; set; } + public global::System.Collections.Generic.List? ListType156 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType156 { get; set; } + public global::System.Collections.Generic.List? ListType157 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType157 { get; set; } + public global::System.Collections.Generic.List? ListType158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType158 { get; set; } + public global::System.Collections.Generic.List? ListType159 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType159 { get; set; } + public global::System.Collections.Generic.List? ListType160 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType160 { get; set; } + public global::System.Collections.Generic.List? ListType161 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType161 { get; set; } + public global::System.Collections.Generic.List? ListType162 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType162 { get; set; } + public global::System.Collections.Generic.List? ListType163 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType163 { get; set; } + public global::System.Collections.Generic.List? ListType164 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType164 { get; set; } + public global::System.Collections.Generic.List? ListType165 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType165 { get; set; } + public global::System.Collections.Generic.List? ListType166 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType166 { get; set; } + public global::System.Collections.Generic.List? ListType167 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType167 { get; set; } + public global::System.Collections.Generic.List? ListType168 { get; set; } } } \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs index 4f4f46b2..e964cb10 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.LabelStudioClient.g.cs @@ -119,6 +119,15 @@ public sealed partial class LabelStudioClient : global::LabelStudio.ILabelStudio JsonSerializerContextProvider = JsonSerializerContextProvider, }; + /// + /// + /// + public BackgroundJobsClient BackgroundJobs => new BackgroundJobsClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options) + { + ReadResponseAsString = ReadResponseAsString, + JsonSerializerContextProvider = JsonSerializerContextProvider, + }; + /// /// /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiOrganizationsJobsListStatus.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiOrganizationsJobsListStatus.g.cs new file mode 100644 index 00000000..07af2c84 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiOrganizationsJobsListStatus.g.cs @@ -0,0 +1,57 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public enum ApiOrganizationsJobsListStatus + { + /// + /// + /// + Failed, + /// + /// + /// + Running, + /// + /// + /// + Waiting, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ApiOrganizationsJobsListStatusExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ApiOrganizationsJobsListStatus value) + { + return value switch + { + ApiOrganizationsJobsListStatus.Failed => "failed", + ApiOrganizationsJobsListStatus.Running => "running", + ApiOrganizationsJobsListStatus.Waiting => "waiting", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ApiOrganizationsJobsListStatus? ToEnum(string value) + { + return value switch + { + "failed" => ApiOrganizationsJobsListStatus.Failed, + "running" => ApiOrganizationsJobsListStatus.Running, + "waiting" => ApiOrganizationsJobsListStatus.Waiting, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetail.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetail.Json.g.cs new file mode 100644 index 00000000..71d491a0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetail.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobDetail + { + /// + /// 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.JobDetail? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobDetail), + jsonSerializerContext) as global::LabelStudio.JobDetail; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobDetail? 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.JobDetail? 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.JobDetail), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobDetail; + } + + /// + /// 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.JobDetail.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetail.g.cs new file mode 100644 index 00000000..2d51ef76 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetail.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobDetail + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enqueued_at")] + public string? EnqueuedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exception")] + public global::LabelStudio.JobException? Exception { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failed_at")] + public string? FailedAt { 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("job_func")] + public string? JobFunc { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lane")] + public object? Lane { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lease")] + public object? Lease { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("queue")] + public string? Queue { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + public string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Status { 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 JobDetail( + string id, + string status, + string? enqueuedAt, + global::LabelStudio.JobException? exception, + string? failedAt, + string? jobFunc, + object? lane, + object? lease, + string? queue, + string? startedAt) + { + this.EnqueuedAt = enqueuedAt; + this.Exception = exception; + this.FailedAt = failedAt; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.JobFunc = jobFunc; + this.Lane = lane; + this.Lease = lease; + this.Queue = queue; + this.StartedAt = startedAt; + this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status)); + } + + /// + /// Initializes a new instance of the class. + /// + public JobDetail() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane.Json.g.cs new file mode 100644 index 00000000..6ee3874d --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobDetailLane + { + /// + /// 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.JobDetailLane? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobDetailLane), + jsonSerializerContext) as global::LabelStudio.JobDetailLane; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobDetailLane? 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.JobDetailLane? 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.JobDetailLane), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobDetailLane; + } + + /// + /// 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.JobDetailLane.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane.g.cs new file mode 100644 index 00000000..7a2c37f4 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobDetailLane + { + + /// + /// 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.JobDetailLane2.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane2.Json.g.cs new file mode 100644 index 00000000..51de4ad9 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobDetailLane2 + { + /// + /// 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.JobDetailLane2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobDetailLane2), + jsonSerializerContext) as global::LabelStudio.JobDetailLane2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobDetailLane2? 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.JobDetailLane2? 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.JobDetailLane2), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobDetailLane2; + } + + /// + /// 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.JobDetailLane2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane2.g.cs new file mode 100644 index 00000000..b1921184 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLane2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobDetailLane2 + { + + /// + /// 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.JobDetailLease.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease.Json.g.cs new file mode 100644 index 00000000..f6d0eee2 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobDetailLease + { + /// + /// 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.JobDetailLease? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobDetailLease), + jsonSerializerContext) as global::LabelStudio.JobDetailLease; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobDetailLease? 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.JobDetailLease? 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.JobDetailLease), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobDetailLease; + } + + /// + /// 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.JobDetailLease.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease.g.cs new file mode 100644 index 00000000..32afa33a --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobDetailLease + { + + /// + /// 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.JobDetailLease2.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease2.Json.g.cs new file mode 100644 index 00000000..fa0ce92d --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobDetailLease2 + { + /// + /// 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.JobDetailLease2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobDetailLease2), + jsonSerializerContext) as global::LabelStudio.JobDetailLease2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobDetailLease2? 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.JobDetailLease2? 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.JobDetailLease2), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobDetailLease2; + } + + /// + /// 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.JobDetailLease2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease2.g.cs new file mode 100644 index 00000000..6bd7c455 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobDetailLease2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobDetailLease2 + { + + /// + /// 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.JobException.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobException.Json.g.cs new file mode 100644 index 00000000..142fa3a2 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobException.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobException + { + /// + /// 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.JobException? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobException), + jsonSerializerContext) as global::LabelStudio.JobException; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobException? 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.JobException? 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.JobException), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobException; + } + + /// + /// 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.JobException.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobException.g.cs new file mode 100644 index 00000000..b47899c0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobException.g.cs @@ -0,0 +1,63 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobException + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("exception_class")] + public string? ExceptionClass { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("frames")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Frames { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("message")] + public string? Message { 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 JobException( + global::System.Collections.Generic.IList frames, + string? exceptionClass, + string? message) + { + this.ExceptionClass = exceptionClass; + this.Frames = frames ?? throw new global::System.ArgumentNullException(nameof(frames)); + this.Message = message; + } + + /// + /// Initializes a new instance of the class. + /// + public JobException() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntry.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntry.Json.g.cs new file mode 100644 index 00000000..628f7bd6 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntry.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobListEntry + { + /// + /// 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.JobListEntry? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobListEntry), + jsonSerializerContext) as global::LabelStudio.JobListEntry; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobListEntry? 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.JobListEntry? 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.JobListEntry), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobListEntry; + } + + /// + /// 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.JobListEntry.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntry.g.cs new file mode 100644 index 00000000..0b07a21b --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntry.g.cs @@ -0,0 +1,127 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobListEntry + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("enqueued_at")] + public string? EnqueuedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("execution_key")] + public string? ExecutionKey { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failed_at")] + public string? FailedAt { 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("job_func")] + public string? JobFunc { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lane")] + public object? Lane { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lease")] + public object? Lease { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("queue")] + public string? Queue { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("started_at")] + public string? StartedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("status")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Status { 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 JobListEntry( + string id, + string status, + string? enqueuedAt, + string? executionKey, + string? failedAt, + string? jobFunc, + object? lane, + object? lease, + string? queue, + string? startedAt) + { + this.EnqueuedAt = enqueuedAt; + this.ExecutionKey = executionKey; + this.FailedAt = failedAt; + this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); + this.JobFunc = jobFunc; + this.Lane = lane; + this.Lease = lease; + this.Queue = queue; + this.StartedAt = startedAt; + this.Status = status ?? throw new global::System.ArgumentNullException(nameof(status)); + } + + /// + /// Initializes a new instance of the class. + /// + public JobListEntry() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane.Json.g.cs new file mode 100644 index 00000000..96198cfd --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobListEntryLane + { + /// + /// 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.JobListEntryLane? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobListEntryLane), + jsonSerializerContext) as global::LabelStudio.JobListEntryLane; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobListEntryLane? 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.JobListEntryLane? 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.JobListEntryLane), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobListEntryLane; + } + + /// + /// 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.JobListEntryLane.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane.g.cs new file mode 100644 index 00000000..003058f0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobListEntryLane + { + + /// + /// 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.JobListEntryLane2.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane2.Json.g.cs new file mode 100644 index 00000000..64a88da2 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobListEntryLane2 + { + /// + /// 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.JobListEntryLane2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobListEntryLane2), + jsonSerializerContext) as global::LabelStudio.JobListEntryLane2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobListEntryLane2? 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.JobListEntryLane2? 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.JobListEntryLane2), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobListEntryLane2; + } + + /// + /// 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.JobListEntryLane2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane2.g.cs new file mode 100644 index 00000000..39cc25cc --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLane2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobListEntryLane2 + { + + /// + /// 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.JobListEntryLease.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease.Json.g.cs new file mode 100644 index 00000000..ded08fd9 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobListEntryLease + { + /// + /// 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.JobListEntryLease? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobListEntryLease), + jsonSerializerContext) as global::LabelStudio.JobListEntryLease; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobListEntryLease? 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.JobListEntryLease? 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.JobListEntryLease), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobListEntryLease; + } + + /// + /// 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.JobListEntryLease.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease.g.cs new file mode 100644 index 00000000..29cdfb4f --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobListEntryLease + { + + /// + /// 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.JobListEntryLease2.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease2.Json.g.cs new file mode 100644 index 00000000..ac4b43a0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease2.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobListEntryLease2 + { + /// + /// 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.JobListEntryLease2? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobListEntryLease2), + jsonSerializerContext) as global::LabelStudio.JobListEntryLease2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobListEntryLease2? 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.JobListEntryLease2? 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.JobListEntryLease2), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobListEntryLease2; + } + + /// + /// 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.JobListEntryLease2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease2.g.cs new file mode 100644 index 00000000..6e8b6a8e --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobListEntryLease2.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobListEntryLease2 + { + + /// + /// 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.JobQuota.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuota.Json.g.cs new file mode 100644 index 00000000..c044f3d8 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuota.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobQuota + { + /// + /// 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.JobQuota? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobQuota), + jsonSerializerContext) as global::LabelStudio.JobQuota; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobQuota? 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.JobQuota? 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.JobQuota), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobQuota; + } + + /// + /// 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.JobQuota.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuota.g.cs new file mode 100644 index 00000000..eaae49b0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuota.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobQuota + { + /// + /// Max concurrent jobs per RQ queue name. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("per_queue_limits")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary PerQueueLimits { get; set; } + + /// + /// Jobs running now per queue name (from the running index). + /// + [global::System.Text.Json.Serialization.JsonPropertyName("used")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.Dictionary Used { 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. + /// + /// + /// Max concurrent jobs per RQ queue name. + /// + /// + /// Jobs running now per queue name (from the running index). + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public JobQuota( + global::System.Collections.Generic.Dictionary perQueueLimits, + global::System.Collections.Generic.Dictionary used) + { + this.PerQueueLimits = perQueueLimits ?? throw new global::System.ArgumentNullException(nameof(perQueueLimits)); + this.Used = used ?? throw new global::System.ArgumentNullException(nameof(used)); + } + + /// + /// Initializes a new instance of the class. + /// + public JobQuota() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaPerQueueLimits.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaPerQueueLimits.Json.g.cs new file mode 100644 index 00000000..a2379278 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaPerQueueLimits.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobQuotaPerQueueLimits + { + /// + /// 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.JobQuotaPerQueueLimits? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobQuotaPerQueueLimits), + jsonSerializerContext) as global::LabelStudio.JobQuotaPerQueueLimits; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobQuotaPerQueueLimits? 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.JobQuotaPerQueueLimits? 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.JobQuotaPerQueueLimits), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobQuotaPerQueueLimits; + } + + /// + /// 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.JobQuotaPerQueueLimits.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaPerQueueLimits.g.cs new file mode 100644 index 00000000..7bff7a2b --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaPerQueueLimits.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Max concurrent jobs per RQ queue name. + /// + public sealed partial class JobQuotaPerQueueLimits + { + + /// + /// 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.JobQuotaUsed.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaUsed.Json.g.cs new file mode 100644 index 00000000..ffbbe8c0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaUsed.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobQuotaUsed + { + /// + /// 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.JobQuotaUsed? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobQuotaUsed), + jsonSerializerContext) as global::LabelStudio.JobQuotaUsed; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobQuotaUsed? 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.JobQuotaUsed? 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.JobQuotaUsed), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobQuotaUsed; + } + + /// + /// 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.JobQuotaUsed.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaUsed.g.cs new file mode 100644 index 00000000..34724776 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobQuotaUsed.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Jobs running now per queue name (from the running index). + /// + public sealed partial class JobQuotaUsed + { + + /// + /// 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.JobsListResponse.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsListResponse.Json.g.cs new file mode 100644 index 00000000..6110fc46 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsListResponse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobsListResponse + { + /// + /// 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.JobsListResponse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobsListResponse), + jsonSerializerContext) as global::LabelStudio.JobsListResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobsListResponse? 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.JobsListResponse? 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.JobsListResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobsListResponse; + } + + /// + /// 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.JobsListResponse.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsListResponse.g.cs new file mode 100644 index 00000000..17436d02 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsListResponse.g.cs @@ -0,0 +1,54 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobsListResponse + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("next_cursor")] + public string? NextCursor { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("results")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.Collections.Generic.IList Results { 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 JobsListResponse( + global::System.Collections.Generic.IList results, + string? nextCursor) + { + this.NextCursor = nextCursor; + this.Results = results ?? throw new global::System.ArgumentNullException(nameof(results)); + } + + /// + /// Initializes a new instance of the class. + /// + public JobsListResponse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsSummary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsSummary.Json.g.cs new file mode 100644 index 00000000..0a901135 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsSummary.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class JobsSummary + { + /// + /// 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.JobsSummary? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.JobsSummary), + jsonSerializerContext) as global::LabelStudio.JobsSummary; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.JobsSummary? 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.JobsSummary? 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.JobsSummary), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.JobsSummary; + } + + /// + /// 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.JobsSummary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsSummary.g.cs new file mode 100644 index 00000000..6b201cc1 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.JobsSummary.g.cs @@ -0,0 +1,85 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class JobsSummary + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("failed_24h")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Failed24h { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("observed_at")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::System.DateTime ObservedAt { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("quota")] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::LabelStudio.JobQuota Quota { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("running")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Running { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("waiting")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Waiting { 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 JobsSummary( + int failed24h, + global::System.DateTime observedAt, + global::LabelStudio.JobQuota quota, + int running, + int waiting) + { + this.Failed24h = failed24h; + this.ObservedAt = observedAt; + this.Quota = quota ?? throw new global::System.ArgumentNullException(nameof(quota)); + this.Running = running; + this.Waiting = waiting; + } + + /// + /// Initializes a new instance of the class. + /// + public JobsSummary() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Stats.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Stats.JsonSerializerContext.g.cs index d114d5af..29d73707 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Stats.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Stats.JsonSerializerContext.g.cs @@ -38,11 +38,11 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DataQualityAgreementDimensions))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DataQualityAgreementDistribution))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.FilteredLabelDistributionUnavailable))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionCountsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionCountsRow))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionCountsTotals))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionStructureDimension))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelDistributionStructureResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index 7dd68076..bd388d16 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -8484,6 +8484,118 @@ paths: x-fern-sdk-group-name: - organizations x-fern-sdk-method-name: update + /api/organizations/{id}/jobs/: + get: + description: Bounded, cursor-paginated list of background jobs for the active organization, sourced from the FIT-2919 per-organization indexes. Internal only. + operationId: api_organizations_jobs_list + parameters: + - description: Opaque pagination cursor from a previous response. + in: query + name: cursor + schema: + type: string + - in: path + name: id + required: true + schema: + type: integer + - description: Case-insensitive substring match on the job function path (e.g. `export`). + in: query + name: job_function + schema: + type: string + - description: Results per page (max 1000, default 50). + in: query + name: page_size + schema: + type: integer + - description: Only include jobs whose index timestamp (enqueued_at for waiting, started_at for running, failed_at for failed) is at or after this ISO-8601 datetime. + in: query + name: since + schema: + format: date-time + type: string + - description: Job status to list. + in: query + name: status + required: true + schema: + enum: + - failed + - running + - waiting + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/JobsListResponse' + description: '' + security: + - Token: [] + summary: List organization background jobs + tags: + - Background Jobs + x-fern-audiences: + - internal + /api/organizations/{id}/jobs/summary/: + get: + description: Running/waiting/failed-24h counts and per-queue quota usage for the active organization, sourced from the FIT-2919 per-organization indexes. No per-project breakdown. Internal only. + operationId: api_organizations_jobs_summary_retrieve + parameters: + - in: path + name: id + required: true + schema: + type: integer + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/JobsSummary' + description: '' + '404': + description: Not found + security: + - Token: [] + summary: Get organization background job summary + tags: + - Background Jobs + x-fern-audiences: + - internal + /api/organizations/{id}/jobs/{job_id}/: + get: + description: Detail for a single active-organization background job. Failed jobs include redacted exception info (class, message, last 8 repo-relative frames — never args/kwargs). Internal only. + operationId: api_organizations_jobs_retrieve + parameters: + - in: path + name: id + required: true + schema: + type: integer + - in: path + name: job_id + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/JobDetail' + description: '' + '404': + description: Not found + security: + - Token: [] + summary: Get organization background job detail + tags: + - Background Jobs + x-fern-audiences: + - internal /api/organizations/{id}/member-tags: get: description: |- @@ -31532,6 +31644,146 @@ components: nullable: true type: string type: object + JobDetail: + properties: + enqueued_at: + nullable: true + type: string + exception: + $ref: '#/components/schemas/JobException' + failed_at: + nullable: true + type: string + id: + type: string + job_func: + nullable: true + type: string + lane: + additionalProperties: {} + type: object + lease: + additionalProperties: {} + type: object + queue: + nullable: true + type: string + started_at: + nullable: true + type: string + status: + type: string + required: + - enqueued_at + - id + - job_func + - queue + - status + type: object + JobException: + properties: + exception_class: + nullable: true + type: string + frames: + items: + type: string + type: array + message: + nullable: true + type: string + required: + - exception_class + - frames + - message + type: object + JobListEntry: + properties: + enqueued_at: + nullable: true + type: string + execution_key: + nullable: true + type: string + failed_at: + nullable: true + type: string + id: + type: string + job_func: + nullable: true + type: string + lane: + additionalProperties: {} + type: object + lease: + additionalProperties: {} + type: object + queue: + nullable: true + type: string + started_at: + nullable: true + type: string + status: + type: string + required: + - enqueued_at + - id + - job_func + - queue + - status + type: object + JobQuota: + properties: + per_queue_limits: + additionalProperties: + nullable: true + type: integer + description: Max concurrent jobs per RQ queue name. + type: object + used: + additionalProperties: + type: integer + description: Jobs running now per queue name (from the running index). + type: object + required: + - per_queue_limits + - used + type: object + JobsListResponse: + properties: + next_cursor: + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/JobListEntry' + type: array + required: + - next_cursor + - results + type: object + JobsSummary: + properties: + failed_24h: + type: integer + observed_at: + format: date-time + type: string + quota: + $ref: '#/components/schemas/JobQuota' + running: + type: integer + waiting: + type: integer + required: + - failed_24h + - observed_at + - quota + - running + - waiting + type: object KPIDetailResponse: description: |- Response serializer for KPI detail endpoint.