diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.Create.g.cs index 3ed5aacf..232699b3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ActionsClient.Create.g.cs @@ -30,14 +30,14 @@ partial void PrepareCreateArguments( ref global::LabelStudio.ApiDmActionsCreateId id, ref int project, ref int? view, - global::LabelStudio.ApiDmActionsCreateRequest request); + global::LabelStudio.PrepareParamsRequestRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, global::LabelStudio.ApiDmActionsCreateId id, int project, int? view, - global::LabelStudio.ApiDmActionsCreateRequest request); + global::LabelStudio.PrepareParamsRequestRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -57,7 +57,7 @@ partial void ProcessCreateResponse( global::LabelStudio.ApiDmActionsCreateId id, int project, - global::LabelStudio.ApiDmActionsCreateRequest request, + global::LabelStudio.PrepareParamsRequestRequest request, int? view = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -87,7 +87,7 @@ await CreateAsResponseAsync( global::LabelStudio.ApiDmActionsCreateId id, int project, - global::LabelStudio.ApiDmActionsCreateRequest request, + global::LabelStudio.PrepareParamsRequestRequest request, int? view = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -449,12 +449,8 @@ await CreateAsResponseAsync( /// /// /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// + /// + /// /// /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` /// @@ -465,13 +461,13 @@ await CreateAsResponseAsync( global::LabelStudio.ApiDmActionsCreateId id, int project, int? view = default, - global::LabelStudio.ApiDmActionsCreateRequestFilters? filters = default, - global::System.Collections.Generic.IList? ordering = default, - global::LabelStudio.OneOf? selectedItems = default, + global::LabelStudio.PrepareParamsFiltersRequest? filters = default, + global::System.Collections.Generic.IList? ordering = default, + global::LabelStudio.OneOf? selectedItems = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiDmActionsCreateRequest + var __request = new global::LabelStudio.PrepareParamsRequestRequest { Filters = filters, Ordering = ordering, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Create.g.cs index e62eae3f..58a19bad 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Create.g.cs @@ -28,12 +28,12 @@ public partial class AnnotationsClient partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiTasksAnnotationsCreateRequest request); + global::LabelStudio.AnnotationRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiTasksAnnotationsCreateRequest request); + global::LabelStudio.AnnotationRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -68,7 +68,7 @@ partial void ProcessCreateResponseContent( public async global::System.Threading.Tasks.Task CreateAsync( int id, - global::LabelStudio.ApiTasksAnnotationsCreateRequest request, + global::LabelStudio.AnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -107,7 +107,7 @@ partial void ProcessCreateResponseContent( public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( int id, - global::LabelStudio.ApiTasksAnnotationsCreateRequest request, + global::LabelStudio.AnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -486,26 +486,56 @@ partial void ProcessCreateResponseContent( /// /// /// - /// - /// User ID of the person who created this annotation + /// + /// Annotation was created in bulk mode + /// + /// + /// + /// Draft creation time /// /// - /// This annotation is a Ground Truth + /// This annotation is a Ground Truth (ground_truth) + /// + /// + /// Original annotation ID that was at the import step or NULL if this annotation wasn't imported + /// + /// + /// Action which was performed in the last annotation history item
+ /// * `prediction` - Created from prediction
+ /// * `propagated_annotation` - Created from another annotation
+ /// * `imported` - Imported
+ /// * `submitted` - Submitted
+ /// * `updated` - Updated
+ /// * `skipped` - Skipped
+ /// * `accepted` - Accepted
+ /// * `rejected` - Rejected
+ /// * `fixed_and_accepted` - Fixed and accepted
+ /// * `deleted_review` - Deleted review + /// + /// + /// User who created the last annotation history item /// /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 + /// How much time it took to annotate the task + /// + /// + /// Points to the parent annotation from which this annotation was created + /// + /// + /// Points to the prediction from which this annotation was created /// /// /// Project ID for this annotation /// /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of annotation results for the task /// /// /// Corresponding task for this annotation /// + /// + /// Included only in requests + /// /// /// Last user who updated this annotation /// @@ -517,9 +547,17 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( int id, + string uniqueId, + bool? bulkCreated = default, int? completedBy = default, + global::System.DateTime? draftCreatedAt = default, bool? groundTruth = default, + long? importId = default, + global::LabelStudio.AnnotationHistoryActionEnum? lastAction = default, + int? lastCreatedBy = default, double? leadTime = default, + int? parentAnnotation = default, + int? parentPrediction = default, int? project = default, global::System.Collections.Generic.IList? result = default, int? task = default, @@ -528,14 +566,22 @@ partial void ProcessCreateResponseContent( global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiTasksAnnotationsCreateRequest + var __request = new global::LabelStudio.AnnotationRequest { + BulkCreated = bulkCreated, CompletedBy = completedBy, + DraftCreatedAt = draftCreatedAt, GroundTruth = groundTruth, + ImportId = importId, + LastAction = lastAction, + LastCreatedBy = lastCreatedBy, LeadTime = leadTime, + ParentAnnotation = parentAnnotation, + ParentPrediction = parentPrediction, Project = project, Result = result, Task = task, + UniqueId = uniqueId, UpdatedBy = updatedBy, WasCancelled = wasCancelled, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.CreateBulk.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.CreateBulk.g.cs index 6044c608..88ea3e66 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.CreateBulk.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.CreateBulk.g.cs @@ -481,7 +481,9 @@ partial void ProcessCreateBulkResponseContent( /// /// List of annotation results for the task /// - /// + /// + /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` + /// /// /// Corresponding task for this annotation /// @@ -512,7 +514,7 @@ partial void ProcessCreateBulkResponseContent( int? parentPrediction = default, int? project = default, global::System.Collections.Generic.IList? result = default, - global::LabelStudio.SelectedItemsRequest? selectedItems = default, + global::LabelStudio.OneOf? selectedItems = default, int? task = default, global::System.Collections.Generic.IList? tasks = default, int? updatedBy = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Update.g.cs index efa1fd77..a342ce8f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.AnnotationsClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class AnnotationsClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiAnnotationsPartialUpdateRequest request); + global::LabelStudio.PatchedAnnotationRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiAnnotationsPartialUpdateRequest request); + global::LabelStudio.PatchedAnnotationRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiAnnotationsPartialUpdateRequest request, + global::LabelStudio.PatchedAnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiAnnotationsPartialUpdateRequest request, + global::LabelStudio.PatchedAnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -447,26 +447,56 @@ partial void ProcessUpdateResponseContent( /// Update existing attributes on an annotation. /// /// - /// - /// User ID of the person who created this annotation + /// + /// Annotation was created in bulk mode + /// + /// + /// + /// Draft creation time /// /// - /// This annotation is a Ground Truth + /// This annotation is a Ground Truth (ground_truth) + /// + /// + /// Original annotation ID that was at the import step or NULL if this annotation wasn't imported + /// + /// + /// Action which was performed in the last annotation history item
+ /// * `prediction` - Created from prediction
+ /// * `propagated_annotation` - Created from another annotation
+ /// * `imported` - Imported
+ /// * `submitted` - Submitted
+ /// * `updated` - Updated
+ /// * `skipped` - Skipped
+ /// * `accepted` - Accepted
+ /// * `rejected` - Rejected
+ /// * `fixed_and_accepted` - Fixed and accepted
+ /// * `deleted_review` - Deleted review + /// + /// + /// User who created the last annotation history item /// /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 + /// How much time it took to annotate the task + /// + /// + /// Points to the parent annotation from which this annotation was created + /// + /// + /// Points to the prediction from which this annotation was created /// /// /// Project ID for this annotation /// /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of annotation results for the task /// /// /// Corresponding task for this annotation /// + /// + /// Included only in requests + /// /// /// Last user who updated this annotation /// @@ -478,9 +508,17 @@ partial void ProcessUpdateResponseContent( /// public async global::System.Threading.Tasks.Task UpdateAsync( int id, + string uniqueId, + bool? bulkCreated = default, int? completedBy = default, + global::System.DateTime? draftCreatedAt = default, bool? groundTruth = default, + long? importId = default, + global::LabelStudio.AnnotationHistoryActionEnum? lastAction = default, + int? lastCreatedBy = default, double? leadTime = default, + int? parentAnnotation = default, + int? parentPrediction = default, int? project = default, global::System.Collections.Generic.IList? result = default, int? task = default, @@ -489,14 +527,22 @@ partial void ProcessUpdateResponseContent( global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiAnnotationsPartialUpdateRequest + var __request = new global::LabelStudio.PatchedAnnotationRequest { + BulkCreated = bulkCreated, CompletedBy = completedBy, + DraftCreatedAt = draftCreatedAt, GroundTruth = groundTruth, + ImportId = importId, + LastAction = lastAction, + LastCreatedBy = lastCreatedBy, LeadTime = leadTime, + ParentAnnotation = parentAnnotation, + ParentPrediction = parentPrediction, Project = project, Result = result, Task = task, + UniqueId = uniqueId, UpdatedBy = updatedBy, WasCancelled = wasCancelled, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.ApiDmViewsUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.ApiDmViewsUpdate.g.cs index 44583f74..edd1ac62 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.ApiDmViewsUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DataManagerClient.ApiDmViewsUpdate.g.cs @@ -28,12 +28,12 @@ public partial class DataManagerClient partial void PrepareApiDmViewsUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref string id, - global::LabelStudio.ApiDmViewsUpdateRequest request); + global::LabelStudio.ViewRequestRequest request); partial void PrepareApiDmViewsUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string id, - global::LabelStudio.ApiDmViewsUpdateRequest request); + global::LabelStudio.ViewRequestRequest request); partial void ProcessApiDmViewsUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessApiDmViewsUpdateResponseContent( public async global::System.Threading.Tasks.Task ApiDmViewsUpdateAsync( string id, - global::LabelStudio.ApiDmViewsUpdateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessApiDmViewsUpdateResponseContent( public async global::System.Threading.Tasks.Task> ApiDmViewsUpdateAsResponseAsync( string id, - global::LabelStudio.ApiDmViewsUpdateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -448,7 +448,7 @@ partial void ProcessApiDmViewsUpdateResponseContent( /// /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -458,12 +458,12 @@ partial void ProcessApiDmViewsUpdateResponseContent( /// public async global::System.Threading.Tasks.Task ApiDmViewsUpdateAsync( string id, - global::LabelStudio.ApiDmViewsUpdateRequestData? data = default, + global::LabelStudio.ViewDataRequestRequest? data = default, int? project = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiDmViewsUpdateRequest + var __request = new global::LabelStudio.ViewRequestRequest { Data = data, Project = project, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsImportPartialUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsImportPartialUpdate.g.cs index fec03ed8..edb17d86 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsImportPartialUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.DatasetsClient.ApiDatasetsImportPartialUpdate.g.cs @@ -29,13 +29,13 @@ partial void PrepareApiDatasetsImportPartialUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int? jobId, ref string? signal, - global::LabelStudio.ApiDatasetsImportPartialUpdateRequest request); + global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest request); partial void PrepareApiDatasetsImportPartialUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int? jobId, string? signal, - global::LabelStudio.ApiDatasetsImportPartialUpdateRequest request); + global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest request); partial void ProcessApiDatasetsImportPartialUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -57,7 +57,7 @@ partial void ProcessApiDatasetsImportPartialUpdateResponseContent( /// public async global::System.Threading.Tasks.Task ApiDatasetsImportPartialUpdateAsync( - global::LabelStudio.ApiDatasetsImportPartialUpdateRequest request, + global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest request, int? jobId = default, string? signal = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, @@ -86,7 +86,7 @@ partial void ProcessApiDatasetsImportPartialUpdateResponseContent( /// public async global::System.Threading.Tasks.Task> ApiDatasetsImportPartialUpdateAsResponseAsync( - global::LabelStudio.ApiDatasetsImportPartialUpdateRequest request, + global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest request, int? jobId = default, string? signal = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, @@ -469,14 +469,14 @@ partial void ProcessApiDatasetsImportPartialUpdateResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task ApiDatasetsImportPartialUpdateAsync( - int requestJobId, - string requestSignal, int? jobId = default, string? signal = default, + int? requestJobId = default, + string? requestSignal = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiDatasetsImportPartialUpdateRequest + var __request = new global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest { JobId = requestJobId, Signal = requestSignal, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IActionsClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IActionsClient.Create.g.cs index 0407729b..0790c9a1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IActionsClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IActionsClient.Create.g.cs @@ -19,7 +19,7 @@ public partial interface IActionsClient global::LabelStudio.ApiDmActionsCreateId id, int project, - global::LabelStudio.ApiDmActionsCreateRequest request, + global::LabelStudio.PrepareParamsRequestRequest request, int? view = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -38,7 +38,7 @@ public partial interface IActionsClient global::LabelStudio.ApiDmActionsCreateId id, int project, - global::LabelStudio.ApiDmActionsCreateRequest request, + global::LabelStudio.PrepareParamsRequestRequest request, int? view = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -49,12 +49,8 @@ public partial interface IActionsClient /// /// /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// + /// + /// /// /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` /// @@ -65,9 +61,9 @@ public partial interface IActionsClient global::LabelStudio.ApiDmActionsCreateId id, int project, int? view = default, - global::LabelStudio.ApiDmActionsCreateRequestFilters? filters = default, - global::System.Collections.Generic.IList? ordering = default, - global::LabelStudio.OneOf? selectedItems = default, + global::LabelStudio.PrepareParamsFiltersRequest? filters = default, + global::System.Collections.Generic.IList? ordering = default, + global::LabelStudio.OneOf? selectedItems = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Create.g.cs index c2c4020c..3ef70679 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Create.g.cs @@ -29,7 +29,7 @@ public partial interface IAnnotationsClient global::System.Threading.Tasks.Task CreateAsync( int id, - global::LabelStudio.ApiTasksAnnotationsCreateRequest request, + global::LabelStudio.AnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -57,7 +57,7 @@ public partial interface IAnnotationsClient global::System.Threading.Tasks.Task> CreateAsResponseAsync( int id, - global::LabelStudio.ApiTasksAnnotationsCreateRequest request, + global::LabelStudio.AnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -78,26 +78,56 @@ public partial interface IAnnotationsClient /// /// /// - /// - /// User ID of the person who created this annotation + /// + /// Annotation was created in bulk mode + /// + /// + /// + /// Draft creation time /// /// - /// This annotation is a Ground Truth + /// This annotation is a Ground Truth (ground_truth) + /// + /// + /// Original annotation ID that was at the import step or NULL if this annotation wasn't imported + /// + /// + /// Action which was performed in the last annotation history item
+ /// * `prediction` - Created from prediction
+ /// * `propagated_annotation` - Created from another annotation
+ /// * `imported` - Imported
+ /// * `submitted` - Submitted
+ /// * `updated` - Updated
+ /// * `skipped` - Skipped
+ /// * `accepted` - Accepted
+ /// * `rejected` - Rejected
+ /// * `fixed_and_accepted` - Fixed and accepted
+ /// * `deleted_review` - Deleted review + /// + /// + /// User who created the last annotation history item /// /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 + /// How much time it took to annotate the task + /// + /// + /// Points to the parent annotation from which this annotation was created + /// + /// + /// Points to the prediction from which this annotation was created /// /// /// Project ID for this annotation /// /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of annotation results for the task /// /// /// Corresponding task for this annotation /// + /// + /// Included only in requests + /// /// /// Last user who updated this annotation /// @@ -109,9 +139,17 @@ public partial interface IAnnotationsClient /// global::System.Threading.Tasks.Task CreateAsync( int id, + string uniqueId, + bool? bulkCreated = default, int? completedBy = default, + global::System.DateTime? draftCreatedAt = default, bool? groundTruth = default, + long? importId = default, + global::LabelStudio.AnnotationHistoryActionEnum? lastAction = default, + int? lastCreatedBy = default, double? leadTime = default, + int? parentAnnotation = default, + int? parentPrediction = default, int? project = default, global::System.Collections.Generic.IList? result = default, int? task = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.CreateBulk.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.CreateBulk.g.cs index f6d83029..4ae02c19 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.CreateBulk.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.CreateBulk.g.cs @@ -78,7 +78,9 @@ public partial interface IAnnotationsClient /// /// List of annotation results for the task /// - /// + /// + /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` + /// /// /// Corresponding task for this annotation /// @@ -109,7 +111,7 @@ public partial interface IAnnotationsClient int? parentPrediction = default, int? project = default, global::System.Collections.Generic.IList? result = default, - global::LabelStudio.SelectedItemsRequest? selectedItems = default, + global::LabelStudio.OneOf? selectedItems = default, int? task = default, global::System.Collections.Generic.IList? tasks = default, int? updatedBy = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Update.g.cs index 223d25cc..87f192da 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IAnnotationsClient.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IAnnotationsClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiAnnotationsPartialUpdateRequest request, + global::LabelStudio.PatchedAnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IAnnotationsClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiAnnotationsPartialUpdateRequest request, + global::LabelStudio.PatchedAnnotationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,26 +39,56 @@ public partial interface IAnnotationsClient /// Update existing attributes on an annotation. /// /// - /// - /// User ID of the person who created this annotation + /// + /// Annotation was created in bulk mode + /// + /// + /// + /// Draft creation time /// /// - /// This annotation is a Ground Truth + /// This annotation is a Ground Truth (ground_truth) + /// + /// + /// Original annotation ID that was at the import step or NULL if this annotation wasn't imported + /// + /// + /// Action which was performed in the last annotation history item
+ /// * `prediction` - Created from prediction
+ /// * `propagated_annotation` - Created from another annotation
+ /// * `imported` - Imported
+ /// * `submitted` - Submitted
+ /// * `updated` - Updated
+ /// * `skipped` - Skipped
+ /// * `accepted` - Accepted
+ /// * `rejected` - Rejected
+ /// * `fixed_and_accepted` - Fixed and accepted
+ /// * `deleted_review` - Deleted review + /// + /// + /// User who created the last annotation history item /// /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 + /// How much time it took to annotate the task + /// + /// + /// Points to the parent annotation from which this annotation was created + /// + /// + /// Points to the prediction from which this annotation was created /// /// /// Project ID for this annotation /// /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of annotation results for the task /// /// /// Corresponding task for this annotation /// + /// + /// Included only in requests + /// /// /// Last user who updated this annotation /// @@ -70,9 +100,17 @@ public partial interface IAnnotationsClient /// global::System.Threading.Tasks.Task UpdateAsync( int id, + string uniqueId, + bool? bulkCreated = default, int? completedBy = default, + global::System.DateTime? draftCreatedAt = default, bool? groundTruth = default, + long? importId = default, + global::LabelStudio.AnnotationHistoryActionEnum? lastAction = default, + int? lastCreatedBy = default, double? leadTime = default, + int? parentAnnotation = default, + int? parentPrediction = default, int? project = default, global::System.Collections.Generic.IList? result = default, int? task = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IDataManagerClient.ApiDmViewsUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IDataManagerClient.ApiDmViewsUpdate.g.cs index 7b0d714c..dae696bb 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IDataManagerClient.ApiDmViewsUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IDataManagerClient.ApiDmViewsUpdate.g.cs @@ -16,7 +16,7 @@ public partial interface IDataManagerClient global::System.Threading.Tasks.Task ApiDmViewsUpdateAsync( string id, - global::LabelStudio.ApiDmViewsUpdateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IDataManagerClient global::System.Threading.Tasks.Task> ApiDmViewsUpdateAsResponseAsync( string id, - global::LabelStudio.ApiDmViewsUpdateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -40,7 +40,7 @@ public partial interface IDataManagerClient /// /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -50,7 +50,7 @@ public partial interface IDataManagerClient /// global::System.Threading.Tasks.Task ApiDmViewsUpdateAsync( string id, - global::LabelStudio.ApiDmViewsUpdateRequestData? data = default, + global::LabelStudio.ViewDataRequestRequest? data = default, int? project = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsImportPartialUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsImportPartialUpdate.g.cs index 9e3f69aa..72767a1c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsImportPartialUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IDatasetsClient.ApiDatasetsImportPartialUpdate.g.cs @@ -16,7 +16,7 @@ public partial interface IDatasetsClient /// global::System.Threading.Tasks.Task ApiDatasetsImportPartialUpdateAsync( - global::LabelStudio.ApiDatasetsImportPartialUpdateRequest request, + global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest request, int? jobId = default, string? signal = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, @@ -33,7 +33,7 @@ public partial interface IDatasetsClient /// global::System.Threading.Tasks.Task> ApiDatasetsImportPartialUpdateAsResponseAsync( - global::LabelStudio.ApiDatasetsImportPartialUpdateRequest request, + global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest request, int? jobId = default, string? signal = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, @@ -52,10 +52,10 @@ public partial interface IDatasetsClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task ApiDatasetsImportPartialUpdateAsync( - int requestJobId, - string requestSignal, int? jobId = default, string? signal = default, + int? requestJobId = default, + string? requestSignal = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ILlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ILlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs index c14f572d..f3b75429 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ILlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ILlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs @@ -14,7 +14,7 @@ public partial interface ILlmClient /// global::System.Threading.Tasks.Task ApiLlmOpenaiChatCompletionsCreateAsync( - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest request, + global::LabelStudio.ChatCompletionRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface ILlmClient /// global::System.Threading.Tasks.Task> ApiLlmOpenaiChatCompletionsCreateAsResponseAsync( - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest request, + global::LabelStudio.ChatCompletionRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -35,17 +35,16 @@ public partial interface ILlmClient /// Proxy requests to OpenAI-compatible chat completions APIs and return the full response payload. Supports multiple providers via model parameter format: "model_name" (defaults to OpenAI), "provider/model_name", or "provider:model_name". Works with providers that offer OpenAI-compatible endpoints. /// /// - /// Array of message objects for the chat completion + /// Array of message objects forming the conversation /// /// - /// Model identifier. Can be "model_name" (defaults to OpenAI), "provider/model_name", or "provider:model_name"
- /// Example: gpt-4 + /// Model identifier in format "provider/model-name" (e.g., "openai/gpt-4") /// /// 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 ApiLlmOpenaiChatCompletionsCreateAsync( - global::System.Collections.Generic.IList messages, + global::System.Collections.Generic.IList messages, string model, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Create.g.cs index cbac6ece..7ef0ce4a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Create.g.cs @@ -19,7 +19,7 @@ public partial interface IMlClient /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiMlCreateRequest request, + global::LabelStudio.MLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -37,7 +37,7 @@ public partial interface IMlClient /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiMlCreateRequest request, + global::LabelStudio.MLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -50,49 +50,56 @@ public partial interface IMlClient /// /// /// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth + /// + /// + /// If false, model version is set by the user, if true - getting latest version from backend. /// /// - /// Basic auth password + /// Included only in requests /// /// - /// Basic auth user + /// HTTP Basic Auth user /// /// - /// Description + /// Description for the machine learning backend /// /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// - /// - /// Project ID + /// + /// Current model version associated with this machine learning backend /// + /// /// /// Response model timeout /// /// - /// Title + /// Name of the machine learning backend /// /// - /// ML backend URL + /// URL for the machine learning model server /// /// 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 CreateAsync( - global::LabelStudio.ApiMlCreateRequestAuthMethod? authMethod = default, - string? basicAuthPass = default, + string? basicAuthPass, + int project, + string url, + global::LabelStudio.AuthMethodEnum? authMethod = default, + bool? autoUpdate = default, string? basicAuthUser = default, string? description = default, object? extraParams = default, bool? isInteractive = default, - int? project = default, - int? timeout = default, + string? modelVersion = default, + double? timeout = default, string? title = default, - string? url = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Train.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Train.g.cs index 09b6fce6..b56a7dbf 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Train.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Train.g.cs @@ -20,7 +20,7 @@ public partial interface IMlClient global::System.Threading.Tasks.Task TrainAsync( int id, - global::LabelStudio.ApiMlTrainCreateRequest request, + global::LabelStudio.MLBackendTrainRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,7 +39,7 @@ public partial interface IMlClient global::System.Threading.Tasks.Task TrainAsResponseAsync( int id, - global::LabelStudio.ApiMlTrainCreateRequest request, + global::LabelStudio.MLBackendTrainRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -52,7 +52,8 @@ public partial interface IMlClient /// /// /// - /// Whether to include ground truth annotations in training + /// Whether to include ground truth annotations in training
+ /// Default Value: false /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Update.g.cs index 877a3f14..c78c7f61 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IMlClient.Update.g.cs @@ -20,7 +20,7 @@ public partial interface IMlClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiMlPartialUpdateRequest request, + global::LabelStudio.PatchedMLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,7 +39,7 @@ public partial interface IMlClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiMlPartialUpdateRequest request, + global::LabelStudio.PatchedMLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -52,48 +52,55 @@ public partial interface IMlClient /// /// /// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth + /// + /// + /// If false, model version is set by the user, if true - getting latest version from backend. /// /// - /// Basic auth password + /// Included only in requests /// /// - /// Basic auth user + /// HTTP Basic Auth user /// /// - /// Description + /// Description for the machine learning backend /// /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// - /// - /// Project ID + /// + /// Current model version associated with this machine learning backend /// + /// /// /// Response model timeout /// /// - /// Title + /// Name of the machine learning backend /// /// - /// ML backend URL + /// URL for the machine learning model server /// /// 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 UpdateAsync( int id, - global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod? authMethod = default, - string? basicAuthPass = default, + string? basicAuthPass, + global::LabelStudio.AuthMethodEnum? authMethod = default, + bool? autoUpdate = default, string? basicAuthUser = default, string? description = default, object? extraParams = default, bool? isInteractive = default, + string? modelVersion = default, int? project = default, - int? timeout = default, + double? timeout = default, string? title = default, string? url = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Create.g.cs index 96bdf513..0d1e6b65 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Create.g.cs @@ -14,7 +14,7 @@ public partial interface IPredictions2Client /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiPredictionsCreateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,36 +27,53 @@ public partial interface IPredictions2Client /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiPredictionsCreateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Create prediction
/// Create a prediction for a specific task. ///
+ /// + /// Cluster for the current prediction + /// + /// + /// Related task mislabeling score + /// + /// + /// An ML Backend instance that created the prediction. + /// + /// + /// A run of a ModelVersion that created the prediction. + /// /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + /// + /// Array of task IDs of the closest neighbors /// + /// /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of prediction results for the task /// /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created + /// Prediction score /// + /// /// 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 CreateAsync( + global::System.Collections.Generic.IList result, + int task, + int? cluster = default, + double? mislabeling = default, + int? model = default, + int? modelRun = default, string? modelVersion = default, - global::System.Collections.Generic.IList? result = default, + object? neighbors = default, + int? project = default, double? score = default, - int? task = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Update.g.cs index b9024b20..f548b51e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IPredictions2Client.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IPredictions2Client global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiPredictionsPartialUpdateRequest request, + global::LabelStudio.PatchedPredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IPredictions2Client global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiPredictionsPartialUpdateRequest request, + global::LabelStudio.PatchedPredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,27 +39,44 @@ public partial interface IPredictions2Client /// Update prediction data by prediction ID. /// /// + /// + /// Cluster for the current prediction + /// + /// + /// Related task mislabeling score + /// + /// + /// An ML Backend instance that created the prediction. + /// + /// + /// A run of a ModelVersion that created the prediction. + /// /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + /// + /// Array of task IDs of the closest neighbors /// + /// /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of prediction results for the task /// /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created + /// Prediction score /// + /// /// 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 UpdateAsync( int id, + int? cluster = default, + double? mislabeling = default, + int? model = default, + int? modelRun = default, string? modelVersion = default, + object? neighbors = default, + int? project = default, global::System.Collections.Generic.IList? result = default, double? score = default, int? task = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IPredictionsClient.ApiPredictionsUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IPredictionsClient.ApiPredictionsUpdate.g.cs index 921a3d08..ec434386 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IPredictionsClient.ApiPredictionsUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IPredictionsClient.ApiPredictionsUpdate.g.cs @@ -16,7 +16,7 @@ public partial interface IPredictionsClient global::System.Threading.Tasks.Task ApiPredictionsUpdateAsync( int id, - global::LabelStudio.ApiPredictionsUpdateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IPredictionsClient global::System.Threading.Tasks.Task> ApiPredictionsUpdateAsResponseAsync( int id, - global::LabelStudio.ApiPredictionsUpdateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,30 +39,47 @@ public partial interface IPredictionsClient /// Overwrite prediction data by prediction ID. /// /// + /// + /// Cluster for the current prediction + /// + /// + /// Related task mislabeling score + /// + /// + /// An ML Backend instance that created the prediction. + /// + /// + /// A run of a ModelVersion that created the prediction. + /// /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + /// + /// Array of task IDs of the closest neighbors /// + /// /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of prediction results for the task /// /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created + /// Prediction score /// + /// /// 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 ApiPredictionsUpdateAsync( int id, + global::System.Collections.Generic.IList result, + int task, + int? cluster = default, + double? mislabeling = default, + int? model = default, + int? modelRun = default, string? modelVersion = default, - global::System.Collections.Generic.IList? result = default, + object? neighbors = default, + int? project = default, double? score = default, - int? task = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IProjectTemplatesClient.CreateProjectFromTemplate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IProjectTemplatesClient.CreateProjectFromTemplate.g.cs index bf9e7eed..d8f67c0b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IProjectTemplatesClient.CreateProjectFromTemplate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IProjectTemplatesClient.CreateProjectFromTemplate.g.cs @@ -22,7 +22,7 @@ public partial interface IProjectTemplatesClient global::System.Threading.Tasks.Task CreateProjectFromTemplateAsync( int id, - global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest request, + global::LabelStudio.CreateProjectFromTemplateRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -43,7 +43,7 @@ public partial interface IProjectTemplatesClient global::System.Threading.Tasks.Task> CreateProjectFromTemplateAsResponseAsync( int id, - global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest request, + global::LabelStudio.CreateProjectFromTemplateRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -72,8 +72,8 @@ public partial interface IProjectTemplatesClient global::System.Threading.Tasks.Task CreateProjectFromTemplateAsync( int id, string title, - int workspaceId, string? description = default, + int? workspaceId = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IPromptsClient.Create3.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IPromptsClient.Create3.g.cs index 3ad59eeb..8e21210a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IPromptsClient.Create3.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IPromptsClient.Create3.g.cs @@ -24,7 +24,7 @@ public partial interface IPromptsClient int promptId, int versionId, - global::LabelStudio.ModelRunRequest request, + global::LabelStudio.ModelRunRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -47,7 +47,7 @@ public partial interface IPromptsClient int promptId, int versionId, - global::LabelStudio.ModelRunRequest request, + global::LabelStudio.ModelRunRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create.g.cs index 9eb93f13..839ec7d7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesAzureCreateRequest request, + global::LabelStudio.AzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesAzureCreateRequest request, + global::LabelStudio.AzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -44,36 +44,40 @@ public partial interface IStorageAzureClient /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, string? accountKey = default, string? accountName = default, string? container = default, @@ -81,8 +85,9 @@ public partial interface IStorageAzureClient string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create2.g.cs index f928f110..3da4becf 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Create2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesExportAzureCreateRequest request, + global::LabelStudio.AzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesExportAzureCreateRequest request, + global::LabelStudio.AzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -41,36 +41,47 @@ public partial interface IStorageAzureClient /// Azure Blob account name /// /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled /// /// /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? accountKey = default, string? accountName = default, bool? canDeleteObjects = default, string? container = default, string? description = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update.g.cs index 981ee053..78130854 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageAzureClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageAzureClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -49,31 +49,34 @@ public partial interface IStorageAzureClient /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -88,7 +91,9 @@ public partial interface IStorageAzureClient bool? presign = default, int? presignTtl = default, int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update2.g.cs index 275855b7..97048510 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Update2.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageAzureClient global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageAzureClient global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -46,23 +46,31 @@ public partial interface IStorageAzureClient /// Azure Blob account name /// /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled /// /// /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -76,7 +84,10 @@ public partial interface IStorageAzureClient string? description = default, string? prefix = default, int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate.g.cs index b822f38c..c4d5dcd3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -44,7 +44,7 @@ public partial interface IStorageAzureClient /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -53,30 +53,34 @@ public partial interface IStorageAzureClient /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, string? accountKey = default, string? accountName = default, string? container = default, @@ -85,8 +89,9 @@ public partial interface IStorageAzureClient string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate2.g.cs index e7de9501..629eacb1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageAzureClient.Validate2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageAzureClient /// global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -41,14 +41,13 @@ public partial interface IStorageAzureClient /// Azure Blob account name /// /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled /// /// /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -57,15 +56,25 @@ public partial interface IStorageAzureClient /// Azure blob prefix name /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? accountKey = default, string? accountName = default, bool? canDeleteObjects = default, @@ -73,8 +82,10 @@ public partial interface IStorageAzureClient string? description = default, int? id = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create.g.cs index f5f4ee47..399aee82 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create.g.cs @@ -20,7 +20,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,7 +39,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -75,18 +75,6 @@ public partial interface IStorageDatabricksFilesClient /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Path under the volume /// @@ -109,14 +97,6 @@ public partial interface IStorageDatabricksFilesClient /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -131,9 +111,6 @@ public partial interface IStorageDatabricksFilesClient /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -157,22 +134,16 @@ public partial interface IStorageDatabricksFilesClient global::LabelStudio.AuthTypeEnum? authType = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, bool? presign = default, int? presignTtl = default, bool? recursiveScan = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create2.g.cs index 5f646e7d..1b3eb26b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Create2.g.cs @@ -20,7 +20,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,7 +39,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -78,18 +78,6 @@ public partial interface IStorageDatabricksFilesClient /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Export path prefix under the volume /// @@ -103,14 +91,6 @@ public partial interface IStorageDatabricksFilesClient /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -125,9 +105,6 @@ public partial interface IStorageDatabricksFilesClient /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -152,19 +129,13 @@ public partial interface IStorageDatabricksFilesClient bool? canDeleteObjects = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update.g.cs index 0c71021d..c978ec90 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update.g.cs @@ -22,7 +22,7 @@ public partial interface IStorageDatabricksFilesClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.PatchedDatabricksImportStorageRequest request, + global::LabelStudio.PatchedDatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -43,7 +43,7 @@ public partial interface IStorageDatabricksFilesClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.PatchedDatabricksImportStorageRequest request, + global::LabelStudio.PatchedDatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -80,18 +80,6 @@ public partial interface IStorageDatabricksFilesClient /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Path under the volume /// @@ -114,14 +102,6 @@ public partial interface IStorageDatabricksFilesClient /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -136,9 +116,6 @@ public partial interface IStorageDatabricksFilesClient /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -160,10 +137,6 @@ public partial interface IStorageDatabricksFilesClient string? clientId = default, string? description = default, string? host = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, bool? presign = default, int? presignTtl = default, @@ -172,12 +145,10 @@ public partial interface IStorageDatabricksFilesClient string? regexFilter = default, int? requestTimeoutS = default, string? schema = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, string? volume = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update2.g.cs index fdd5660f..ab10e77e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Update2.g.cs @@ -22,7 +22,7 @@ public partial interface IStorageDatabricksFilesClient global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.PatchedDatabricksExportStorageRequest request, + global::LabelStudio.PatchedDatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -43,7 +43,7 @@ public partial interface IStorageDatabricksFilesClient global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.PatchedDatabricksExportStorageRequest request, + global::LabelStudio.PatchedDatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -83,18 +83,6 @@ public partial interface IStorageDatabricksFilesClient /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Export path prefix under the volume /// @@ -108,14 +96,6 @@ public partial interface IStorageDatabricksFilesClient /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -130,9 +110,6 @@ public partial interface IStorageDatabricksFilesClient /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -155,21 +132,15 @@ public partial interface IStorageDatabricksFilesClient string? clientId = default, string? description = default, string? host = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, int? project = default, string? regexFilter = default, int? requestTimeoutS = default, string? schema = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, string? volume = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate.g.cs index e347db95..250d51f2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate.g.cs @@ -20,7 +20,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,7 +39,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -75,17 +75,8 @@ public partial interface IStorageDatabricksFilesClient /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes + /// + /// Storage ID. If set, storage with specified ID will be updated /// /// /// Path under the volume @@ -109,14 +100,6 @@ public partial interface IStorageDatabricksFilesClient /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -131,9 +114,6 @@ public partial interface IStorageDatabricksFilesClient /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -157,22 +137,17 @@ public partial interface IStorageDatabricksFilesClient global::LabelStudio.AuthTypeEnum? authType = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, + int? id = default, string? prefix = default, bool? presign = default, int? presignTtl = default, bool? recursiveScan = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate2.g.cs index 4b902921..f9ede1c8 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageDatabricksFilesClient.Validate2.g.cs @@ -20,7 +20,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,7 +39,7 @@ public partial interface IStorageDatabricksFilesClient /// global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -78,17 +78,8 @@ public partial interface IStorageDatabricksFilesClient /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes + /// + /// Storage ID. If set, storage with specified ID will be updated /// /// /// Export path prefix under the volume @@ -103,14 +94,6 @@ public partial interface IStorageDatabricksFilesClient /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -125,9 +108,6 @@ public partial interface IStorageDatabricksFilesClient /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -152,19 +132,14 @@ public partial interface IStorageDatabricksFilesClient bool? canDeleteObjects = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, + int? id = default, string? prefix = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create.g.cs index 0273f088..39e96e98 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportGcsCreateRequest request, + global::LabelStudio.GCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportGcsCreateRequest request, + global::LabelStudio.GCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -38,14 +38,13 @@ public partial interface IStorageGcsClient /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -54,23 +53,35 @@ public partial interface IStorageGcsClient /// GCS bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, string? bucket = default, bool? canDeleteObjects = default, string? description = default, string? googleApplicationCredentials = default, string? googleProjectId = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create2.g.cs index 1283f7b6..6209b79d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Create2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesGcsCreateRequest request, + global::LabelStudio.GCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesGcsCreateRequest request, + global::LabelStudio.GCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -38,10 +38,10 @@ public partial interface IStorageGcsClient /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -50,30 +50,34 @@ public partial interface IStorageGcsClient /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? bucket = default, string? description = default, string? googleApplicationCredentials = default, @@ -81,8 +85,9 @@ public partial interface IStorageGcsClient string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update.g.cs index db4aad3c..9208263c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageGcsClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageGcsClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -43,14 +43,13 @@ public partial interface IStorageGcsClient /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -59,10 +58,19 @@ public partial interface IStorageGcsClient /// GCS bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -76,7 +84,10 @@ public partial interface IStorageGcsClient string? googleProjectId = default, string? prefix = default, int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update2.g.cs index 40cb3143..bc7b1ef8 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Update2.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageGcsClient global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageGcsClient global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -43,10 +43,10 @@ public partial interface IStorageGcsClient /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -55,25 +55,28 @@ public partial interface IStorageGcsClient /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -88,7 +91,9 @@ public partial interface IStorageGcsClient bool? presign = default, int? presignTtl = default, int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate.g.cs index 006550e8..346a9ca0 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest request, + global::LabelStudio.GCSExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest request, + global::LabelStudio.GCSExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -38,14 +38,13 @@ public partial interface IStorageGcsClient /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -57,15 +56,25 @@ public partial interface IStorageGcsClient /// GCS bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, string? bucket = default, bool? canDeleteObjects = default, string? description = default, @@ -73,8 +82,10 @@ public partial interface IStorageGcsClient string? googleProjectId = default, int? id = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate2.g.cs index 814bd4ed..f771138c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageGcsClient.Validate2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesGcsValidateCreateRequest request, + global::LabelStudio.GCSImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageGcsClient /// global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesGcsValidateCreateRequest request, + global::LabelStudio.GCSImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -38,10 +38,10 @@ public partial interface IStorageGcsClient /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -53,30 +53,34 @@ public partial interface IStorageGcsClient /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? bucket = default, string? description = default, string? googleApplicationCredentials = default, @@ -85,8 +89,9 @@ public partial interface IStorageGcsClient string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create.g.cs index 59bc9c5b..63328949 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,40 +27,47 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Create export storage
/// Create a new local file export storage connection to store annotations. ///
+ /// + /// Deletion from storage enabled + /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, + bool? canDeleteObjects = default, string? description = default, string? path = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create2.g.cs index 7761e215..7e632f60 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Create2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -35,32 +35,39 @@ public partial interface IStorageLocalClient /// Create a new local file import storage connection. /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? description = default, string? path = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update.g.cs index c25eac67..233ad623 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageLocalClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageLocalClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,34 +39,41 @@ public partial interface IStorageLocalClient /// Update a specific local file export storage connection. /// /// + /// + /// Deletion from storage enabled + /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 UpdateAsync( int id, + bool? canDeleteObjects = default, string? description = default, string? path = default, int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update2.g.cs index 868b19c4..f2b8a60b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Update2.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageLocalClient global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageLocalClient global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -40,23 +40,28 @@ public partial interface IStorageLocalClient /// /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -66,7 +71,9 @@ public partial interface IStorageLocalClient string? description = default, string? path = default, int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate.g.cs index 508bf30c..6927001c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,44 +27,51 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Validate export storage
/// Validate a specific local file export storage connection. ///
+ /// + /// Deletion from storage enabled + /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, + bool? canDeleteObjects = default, string? description = default, int? id = default, string? path = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate2.g.cs index 77bbff7e..abf33ed8 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageLocalClient.Validate2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageLocalClient /// global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -35,36 +35,43 @@ public partial interface IStorageLocalClient /// Validate a specific local file import storage connection. /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? description = default, int? id = default, string? path = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create.g.cs index a80a4a06..0d0f9d87 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportRedisCreateRequest request, + global::LabelStudio.RedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportRedisCreateRequest request, + global::LabelStudio.RedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -35,14 +35,13 @@ public partial interface IStorageRedisClient /// Create a new Redis export storage connection to store annotations. /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Database ID of database to use + /// Server Database /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -57,15 +56,25 @@ public partial interface IStorageRedisClient /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, bool? canDeleteObjects = default, int? db = default, string? description = default, @@ -73,8 +82,10 @@ public partial interface IStorageRedisClient string? password = default, string? path = default, string? port = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create2.g.cs index ee0cda11..0a3915e0 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Create2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesRedisCreateRequest request, + global::LabelStudio.RedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,15 +27,18 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesRedisCreateRequest request, + global::LabelStudio.RedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Create import storage
/// Create a new Redis import storage connection. ///
+ /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -50,29 +53,33 @@ public partial interface IStorageRedisClient /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, + int? db = default, string? description = default, string? host = default, string? password = default, string? path = default, string? port = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update.g.cs index 4204e4fe..279a4c08 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageRedisClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageRedisClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -40,14 +40,13 @@ public partial interface IStorageRedisClient /// /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Database ID of database to use + /// Server Database /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -62,10 +61,19 @@ public partial interface IStorageRedisClient /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -80,7 +88,10 @@ public partial interface IStorageRedisClient string? path = default, string? port = default, int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update2.g.cs index 2d441691..834d64ba 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Update2.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageRedisClient global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageRedisClient global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -39,8 +39,11 @@ public partial interface IStorageRedisClient /// Update a specific Redis import storage connection. /// /// + /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -55,23 +58,26 @@ public partial interface IStorageRedisClient /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Update2Async( int id, + int? db = default, string? description = default, string? host = default, string? password = default, @@ -79,6 +85,7 @@ public partial interface IStorageRedisClient string? port = default, int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate.g.cs index 79d5bba8..2ad1ad58 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest request, + global::LabelStudio.RedisExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest request, + global::LabelStudio.RedisExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -35,14 +35,13 @@ public partial interface IStorageRedisClient /// Validate a specific Redis export storage connection. /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Database ID of database to use + /// Server Database /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -60,15 +59,25 @@ public partial interface IStorageRedisClient /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, bool? canDeleteObjects = default, int? db = default, string? description = default, @@ -77,8 +86,10 @@ public partial interface IStorageRedisClient string? password = default, string? path = default, string? port = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate2.g.cs index f47cb462..9b410f3e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageRedisClient.Validate2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesRedisValidateCreateRequest request, + global::LabelStudio.RedisImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,15 +27,18 @@ public partial interface IStorageRedisClient /// global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesRedisValidateCreateRequest request, + global::LabelStudio.RedisImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Validate import storage
/// Validate a specific Redis import storage connection. ///
+ /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -53,30 +56,34 @@ public partial interface IStorageRedisClient /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, + int? db = default, string? description = default, string? host = default, int? id = default, string? password = default, string? path = default, string? port = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create.g.cs index 3cb6538e..88aca662 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportS3CreateRequest request, + global::LabelStudio.S3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportS3CreateRequest request, + global::LabelStudio.S3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -50,17 +50,19 @@ public partial interface IStorageS3Client /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -68,13 +70,20 @@ public partial interface IStorageS3Client /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -83,10 +92,12 @@ public partial interface IStorageS3Client bool? canDeleteObjects = default, string? description = default, string? prefix = default, - int? project = default, + string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create2.g.cs index 001d8d0f..39cc4f58 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Create2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesS3CreateRequest request, + global::LabelStudio.S3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesS3CreateRequest request, + global::LabelStudio.S3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -50,27 +50,25 @@ public partial interface IStorageS3Client /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -78,17 +76,20 @@ public partial interface IStorageS3Client /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -98,11 +99,11 @@ public partial interface IStorageS3Client string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, bool? recursiveScan = default, string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update.g.cs index d5f1dcf3..c7ace9b6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageS3Client global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageS3Client global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -55,17 +55,19 @@ public partial interface IStorageS3Client /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -73,8 +75,14 @@ public partial interface IStorageS3Client /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -90,9 +98,12 @@ public partial interface IStorageS3Client string? description = default, string? prefix = default, int? project = default, + string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update2.g.cs index d41790ea..7f3bd895 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Update2.g.cs @@ -16,7 +16,7 @@ public partial interface IStorageS3Client global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IStorageS3Client global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -55,27 +55,25 @@ public partial interface IStorageS3Client /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -83,12 +81,14 @@ public partial interface IStorageS3Client /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -109,6 +109,7 @@ public partial interface IStorageS3Client string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate.g.cs index 86078e53..05703a81 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest request, + global::LabelStudio.S3ExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest request, + global::LabelStudio.S3ExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -50,11 +50,10 @@ public partial interface IStorageS3Client /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -63,7 +62,10 @@ public partial interface IStorageS3Client /// S3 bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -71,13 +73,20 @@ public partial interface IStorageS3Client /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -87,10 +96,12 @@ public partial interface IStorageS3Client string? description = default, int? id = default, string? prefix = default, - int? project = default, + string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate2.g.cs index de485b9c..188d8f43 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IStorageS3Client.Validate2.g.cs @@ -14,7 +14,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesS3ValidateCreateRequest request, + global::LabelStudio.S3ImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IStorageS3Client /// global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesS3ValidateCreateRequest request, + global::LabelStudio.S3ImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -50,7 +50,7 @@ public partial interface IStorageS3Client /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -59,21 +59,19 @@ public partial interface IStorageS3Client /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -81,17 +79,20 @@ public partial interface IStorageS3Client /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -102,11 +103,11 @@ public partial interface IStorageS3Client string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, bool? recursiveScan = default, string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Assign.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Assign.g.cs index 5a4a8a81..72ed57bc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Assign.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Assign.g.cs @@ -24,7 +24,7 @@ public partial interface ITasksClient int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest request, + global::LabelStudio.TaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -47,7 +47,7 @@ public partial interface ITasksClient int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest request, + global::LabelStudio.TaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -63,18 +63,17 @@ public partial interface ITasksClient /// /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// /// 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 AssignAsync( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType type, + global::LabelStudio.AssignmentTypeEnum type, global::System.Collections.Generic.IList users, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.BulkAssign.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.BulkAssign.g.cs index 1f04d928..67f5ce32 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.BulkAssign.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.BulkAssign.g.cs @@ -22,7 +22,7 @@ public partial interface ITasksClient global::System.Threading.Tasks.Task BulkAssignAsync( int id, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest request, + global::LabelStudio.BulkTaskAssigneesRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -43,7 +43,7 @@ public partial interface ITasksClient global::System.Threading.Tasks.Task> BulkAssignAsResponseAsync( int id, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest request, + global::LabelStudio.BulkTaskAssigneesRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -57,27 +57,24 @@ public partial interface ITasksClient /// Assign multiple users to a collection of tasks within a specific project. /// /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// + /// /// /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// /// 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 BulkAssignAsync( int id, - global::LabelStudio.OneOf selectedItems, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType type, + global::LabelStudio.OneOf selectedItems, + global::LabelStudio.AssignmentTypeEnum type, global::System.Collections.Generic.IList users, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters? filters = default, + global::LabelStudio.PrepareParamsFiltersRequest? filters = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Update.g.cs index 1ba99a95..a5161ea4 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ITasksClient.Update.g.cs @@ -24,7 +24,7 @@ public partial interface ITasksClient int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest request, + global::LabelStudio.PatchedTaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -47,7 +47,7 @@ public partial interface ITasksClient int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest request, + global::LabelStudio.PatchedTaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -63,19 +63,18 @@ public partial interface ITasksClient /// /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// /// 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 UpdateAsync( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType type, - global::System.Collections.Generic.IList users, + global::LabelStudio.AssignmentTypeEnum? type = default, + global::System.Collections.Generic.IList? users = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Create.g.cs index 10d96810..50391eaa 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Create.g.cs @@ -14,7 +14,7 @@ public partial interface IUsersClient /// global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiUsersCreateRequest request, + global::LabelStudio.LseUserRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,53 +27,43 @@ public partial interface IUsersClient /// global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiUsersCreateRequest request, + global::LabelStudio.LseUserRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// /// Create new user
/// Create a user in Label Studio. ///
+ /// /// - /// Whether the user allows newsletters + /// Allow sending newsletters to user /// - /// - /// Avatar URL of the user + /// + /// Custom keyboard shortcuts configuration for the user interface /// - /// - /// Email of the user - /// - /// - /// First name of the user - /// - /// - /// User ID - /// - /// - /// Initials of the user - /// - /// - /// Last name of the user - /// - /// - /// Phone number of the user - /// - /// - /// Username of the user + /// + /// + /// + /// + /// + /// Included only in requests /// + /// + /// /// 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 CreateAsync( + string password, + string username, + int? activeOrganization = default, bool? allowNewsletters = default, - string? avatar = default, + object? customHotkeys = default, + global::System.DateTime? dateJoined = default, string? email = default, string? firstName = default, - int? id = default, - string? initials = default, string? lastName = default, string? phone = default, - string? username = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs index 95e6bf6b..5fbb89bc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs @@ -17,7 +17,7 @@ public partial interface IUsersClient global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiUsersPartialUpdateRequest request, + global::LabelStudio.PatchedLseUserSerializerUpdateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -33,7 +33,7 @@ public partial interface IUsersClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiUsersPartialUpdateRequest request, + global::LabelStudio.PatchedLseUserSerializerUpdateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -42,44 +42,44 @@ public partial interface IUsersClient /// /// /// + /// /// - /// Whether the user allows newsletters + /// Allow sending newsletters to user /// - /// - /// Avatar URL of the user + /// + /// Custom keyboard shortcuts configuration for the user interface /// - /// - /// Email of the user + /// + /// + /// Included only in requests /// - /// - /// First name of the user + /// + /// + /// Included only in requests /// - /// - /// User ID + /// + /// + /// Included only in requests /// - /// - /// Initials of the user - /// - /// - /// Last name of the user - /// - /// - /// Phone number of the user - /// - /// - /// Username of the user + /// + /// Included only in requests /// + /// + /// /// 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 UpdateAsync( int id, + object emailNotificationSettings, + bool? isEmailVerified, + string? onboardingState, + string password, + int? activeOrganization = default, bool? allowNewsletters = default, - string? avatar = default, - string? email = default, + object? customHotkeys = default, + global::System.DateTime? dateJoined = default, string? firstName = default, - int? requestId = default, - string? initials = default, string? lastName = default, string? phone = default, string? username = default, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Create2.g.cs index 2dfb5ad5..e5f74418 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Create2.g.cs @@ -14,7 +14,7 @@ public partial interface IViewsClient /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiDmViewsCreateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -27,7 +27,7 @@ public partial interface IViewsClient /// global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiDmViewsCreateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -35,7 +35,7 @@ public partial interface IViewsClient /// Create a view for a specific project. /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -44,7 +44,7 @@ public partial interface IViewsClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiDmViewsCreateRequestData? data = default, + global::LabelStudio.ViewDataRequestRequest? data = default, int? project = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Update.g.cs index f7d48449..1e91d750 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IViewsClient.Update.g.cs @@ -16,7 +16,7 @@ public partial interface IViewsClient global::System.Threading.Tasks.Task UpdateAsync( string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequest request, + global::LabelStudio.PatchedViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -31,7 +31,7 @@ public partial interface IViewsClient global::System.Threading.Tasks.Task> UpdateAsResponseAsync( string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequest request, + global::LabelStudio.PatchedViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); /// @@ -40,7 +40,7 @@ public partial interface IViewsClient /// /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -50,7 +50,7 @@ public partial interface IViewsClient /// global::System.Threading.Tasks.Task UpdateAsync( string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequestData? data = default, + global::LabelStudio.ViewDataRequestRequest? data = default, int? project = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index 39efb8ac..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmActionsCreateRequestFiltersItemChildFilterFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter 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.ApiDmActionsCreateRequestFiltersItemChildFilterFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullable.g.cs deleted file mode 100644 index 067fbe82..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter? 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.ApiDmActionsCreateRequestFiltersItemChildFilterFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter? 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.ApiDmActionsCreateRequestFiltersItemChildFilterFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index e43f6b3a..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmActionsCreateRequestFiltersItemChildFilterOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator 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.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullable.g.cs deleted file mode 100644 index 8ff73017..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator? 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.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator? 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.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterNullable.g.cs deleted file mode 100644 index 1cd6a7df..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmActionsCreateRequestFiltersItemFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter? 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.ApiDmActionsCreateRequestFiltersItemFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter? 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.ApiDmActionsCreateRequestFiltersItemFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperator.g.cs deleted file mode 100644 index b8dea215..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmActionsCreateRequestFiltersItemOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator 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.ApiDmActionsCreateRequestFiltersItemOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunction.g.cs deleted file mode 100644 index 59fd2dbc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunction.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersConjunctionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction 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.ApiDmViewsCreateRequestDataFiltersConjunctionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunctionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionNullable.g.cs deleted file mode 100644 index 878fab12..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersConjunctionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction? 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.ApiDmViewsCreateRequestDataFiltersConjunctionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction? 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.ApiDmViewsCreateRequestDataFiltersConjunctionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index 2f3d89bc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullable.g.cs deleted file mode 100644 index a1d63fad..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index 1fb3877b..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullable.g.cs deleted file mode 100644 index e674f048..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilter.g.cs deleted file mode 100644 index 2bc54ebc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter 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.ApiDmViewsCreateRequestDataFiltersItemFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterNullable.g.cs deleted file mode 100644 index 073a0b87..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter? 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.ApiDmViewsCreateRequestDataFiltersItemFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter? 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.ApiDmViewsCreateRequestDataFiltersItemFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperator.g.cs deleted file mode 100644 index 5469e577..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator 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.ApiDmViewsCreateRequestDataFiltersItemOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorNullable.g.cs deleted file mode 100644 index 426d3200..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataFiltersItemOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator? 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.ApiDmViewsCreateRequestDataFiltersItemOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator? 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.ApiDmViewsCreateRequestDataFiltersItemOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItem.g.cs deleted file mode 100644 index fab3a08e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItem.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsCreateRequestDataOrderingItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem 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.ApiDmViewsCreateRequestDataOrderingItemExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItemExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunction.g.cs deleted file mode 100644 index d0bed37f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunction.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersConjunctionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction 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.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullable.g.cs deleted file mode 100644 index f13e360b..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction? 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.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction? 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.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index fcdad52d..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullable.g.cs deleted file mode 100644 index ac3f1b1a..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index 67f84f9e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullable.g.cs deleted file mode 100644 index 3d5ff6f0..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.g.cs deleted file mode 100644 index 5ac63644..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter 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.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullable.g.cs deleted file mode 100644 index 8ea28516..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.g.cs deleted file mode 100644 index 71015e99..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator 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.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullable.g.cs deleted file mode 100644 index b9ef8c73..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItem.g.cs deleted file mode 100644 index 4f608902..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItem.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataOrderingItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem 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.ApiDmViewsPartialUpdateRequestDataOrderingItemExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItemExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemNullable.g.cs deleted file mode 100644 index 66e6c31e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsPartialUpdateRequestDataOrderingItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem? 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.ApiDmViewsPartialUpdateRequestDataOrderingItemExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem? 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.ApiDmViewsPartialUpdateRequestDataOrderingItemExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunction.g.cs deleted file mode 100644 index 1f7038ab..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunction.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersConjunctionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction 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.ApiDmViewsUpdateRequestDataFiltersConjunctionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunctionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionNullable.g.cs deleted file mode 100644 index 03328700..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersConjunctionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction? 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.ApiDmViewsUpdateRequestDataFiltersConjunctionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction? 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.ApiDmViewsUpdateRequestDataFiltersConjunctionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index 4017d47f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullable.g.cs deleted file mode 100644 index bfd2060e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index d4bb075d..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullable.g.cs deleted file mode 100644 index 9b9b417a..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilter.g.cs deleted file mode 100644 index 1c6c7a7c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter 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.ApiDmViewsUpdateRequestDataFiltersItemFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterNullable.g.cs deleted file mode 100644 index 4aa2206f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter? 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.ApiDmViewsUpdateRequestDataFiltersItemFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter? 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.ApiDmViewsUpdateRequestDataFiltersItemFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperator.g.cs deleted file mode 100644 index bf3cf9d1..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator 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.ApiDmViewsUpdateRequestDataFiltersItemOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorNullable.g.cs deleted file mode 100644 index 8458b4be..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataFiltersItemOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator? 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.ApiDmViewsUpdateRequestDataFiltersItemOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator? 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.ApiDmViewsUpdateRequestDataFiltersItemOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemNullable.g.cs deleted file mode 100644 index 34ddddc0..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiDmViewsUpdateRequestDataOrderingItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem? 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.ApiDmViewsUpdateRequestDataOrderingItemExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem? 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.ApiDmViewsUpdateRequestDataOrderingItemExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.g.cs deleted file mode 100644 index 97294abd..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole 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.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullable.g.cs deleted file mode 100644 index d5cb51fc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole? 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.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole? 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.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.g.cs deleted file mode 100644 index 299ff12b..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullable.g.cs deleted file mode 100644 index 7f5eb39f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index 1072779e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullable.g.cs deleted file mode 100644 index dcba55de..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index f5583454..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullable.g.cs deleted file mode 100644 index bd2933bc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.g.cs deleted file mode 100644 index 012a59bc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullable.g.cs deleted file mode 100644 index b71e4037..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.g.cs deleted file mode 100644 index 389b3e7b..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullable.g.cs deleted file mode 100644 index 56f59deb..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestType.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestType.g.cs deleted file mode 100644 index 3bf022b0..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestType.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType 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.ApiProjectsTasksAssigneesBulkCreateRequestTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeNullable.g.cs deleted file mode 100644 index c488a756..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesBulkCreateRequestTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType? 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.ApiProjectsTasksAssigneesBulkCreateRequestTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType? 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.ApiProjectsTasksAssigneesBulkCreateRequestTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestType.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestType.g.cs deleted file mode 100644 index 859a7a4b..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestType.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesCreateRequestTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType 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.ApiProjectsTasksAssigneesCreateRequestTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeNullable.g.cs deleted file mode 100644 index b03f3081..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesCreateRequestTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType? 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.ApiProjectsTasksAssigneesCreateRequestTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType? 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.ApiProjectsTasksAssigneesCreateRequestTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestType.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestType.g.cs deleted file mode 100644 index dd60fbb6..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestType.g.cs +++ /dev/null @@ -1,53 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesPartialUpdateRequestTypeJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType 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.ApiProjectsTasksAssigneesPartialUpdateRequestTypeExtensions.ToEnum(stringValue) ?? default; - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType value, - global::System.Text.Json.JsonSerializerOptions options) - { - writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - - writer.WriteStringValue(global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestTypeExtensions.ToValueString(value)); - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullable.g.cs deleted file mode 100644 index 4ed6fe90..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullable.g.cs +++ /dev/null @@ -1,60 +0,0 @@ -#nullable enable - -namespace LabelStudio.JsonConverters -{ - /// - public sealed class ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType? 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.ApiProjectsTasksAssigneesPartialUpdateRequestTypeExtensions.ToEnum(stringValue); - } - - break; - } - case global::System.Text.Json.JsonTokenType.Number: - { - var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType)numValue; - } - case global::System.Text.Json.JsonTokenType.Null: - { - return default(global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType?); - } - default: - throw new global::System.ArgumentOutOfRangeException(nameof(reader)); - } - - return default; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType? 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.ApiProjectsTasksAssigneesPartialUpdateRequestTypeExtensions.ToValueString(value.Value)); - } - } - } -} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethod.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.AssignmentTypeEnum.g.cs similarity index 65% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethod.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.AssignmentTypeEnum.g.cs index f40781dd..a6034964 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethod.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.AssignmentTypeEnum.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiMlCreateRequestAuthMethodJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class AssignmentTypeEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiMlCreateRequestAuthMethod Read( + public override global::LabelStudio.AssignmentTypeEnum Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiMlCreateRequestAuthMethodJsonConverter : global::System.T var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiMlCreateRequestAuthMethodExtensions.ToEnum(stringValue) ?? default; + return global::LabelStudio.AssignmentTypeEnumExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ApiMlCreateRequestAuthMethodJsonConverter : global::System.T case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiMlCreateRequestAuthMethod)numValue; + return (global::LabelStudio.AssignmentTypeEnum)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiMlCreateRequestAuthMethod); + return default(global::LabelStudio.AssignmentTypeEnum); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ApiMlCreateRequestAuthMethodJsonConverter : global::System.T /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiMlCreateRequestAuthMethod value, + global::LabelStudio.AssignmentTypeEnum value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::LabelStudio.ApiMlCreateRequestAuthMethodExtensions.ToValueString(value)); + writer.WriteStringValue(global::LabelStudio.AssignmentTypeEnumExtensions.ToValueString(value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.AssignmentTypeEnumNullable.g.cs similarity index 67% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodNullable.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.AssignmentTypeEnumNullable.g.cs index 8c4f3026..e1eaceee 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodNullable.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.AssignmentTypeEnumNullable.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiMlCreateRequestAuthMethodNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class AssignmentTypeEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiMlCreateRequestAuthMethod? Read( + public override global::LabelStudio.AssignmentTypeEnum? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiMlCreateRequestAuthMethodNullableJsonConverter : global:: var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiMlCreateRequestAuthMethodExtensions.ToEnum(stringValue); + return global::LabelStudio.AssignmentTypeEnumExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ApiMlCreateRequestAuthMethodNullableJsonConverter : global:: case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiMlCreateRequestAuthMethod)numValue; + return (global::LabelStudio.AssignmentTypeEnum)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiMlCreateRequestAuthMethod?); + return default(global::LabelStudio.AssignmentTypeEnum?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ApiMlCreateRequestAuthMethodNullableJsonConverter : global:: /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiMlCreateRequestAuthMethod? value, + global::LabelStudio.AssignmentTypeEnum? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::LabelStudio.ApiMlCreateRequestAuthMethodExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::LabelStudio.AssignmentTypeEnumExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethod.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ChatMessageRoleEnum.g.cs similarity index 63% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethod.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ChatMessageRoleEnum.g.cs index 9e5b2e74..b935cf5c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethod.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ChatMessageRoleEnum.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiMlPartialUpdateRequestAuthMethodJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ChatMessageRoleEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod Read( + public override global::LabelStudio.ChatMessageRoleEnum Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiMlPartialUpdateRequestAuthMethodJsonConverter : global::S var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiMlPartialUpdateRequestAuthMethodExtensions.ToEnum(stringValue) ?? default; + return global::LabelStudio.ChatMessageRoleEnumExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ApiMlPartialUpdateRequestAuthMethodJsonConverter : global::S case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod)numValue; + return (global::LabelStudio.ChatMessageRoleEnum)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod); + return default(global::LabelStudio.ChatMessageRoleEnum); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ApiMlPartialUpdateRequestAuthMethodJsonConverter : global::S /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod value, + global::LabelStudio.ChatMessageRoleEnum value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::LabelStudio.ApiMlPartialUpdateRequestAuthMethodExtensions.ToValueString(value)); + writer.WriteStringValue(global::LabelStudio.ChatMessageRoleEnumExtensions.ToValueString(value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ChatMessageRoleEnumNullable.g.cs similarity index 65% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodNullable.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ChatMessageRoleEnumNullable.g.cs index 142ae54c..efc8f414 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodNullable.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ChatMessageRoleEnumNullable.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ChatMessageRoleEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod? Read( + public override global::LabelStudio.ChatMessageRoleEnum? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter : g var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiMlPartialUpdateRequestAuthMethodExtensions.ToEnum(stringValue); + return global::LabelStudio.ChatMessageRoleEnumExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter : g case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod)numValue; + return (global::LabelStudio.ChatMessageRoleEnum)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod?); + return default(global::LabelStudio.ChatMessageRoleEnum?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter : g /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod? value, + global::LabelStudio.ChatMessageRoleEnum? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::LabelStudio.ApiMlPartialUpdateRequestAuthMethodExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::LabelStudio.ChatMessageRoleEnumExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.TypeEnum.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ConjunctionEnum.g.cs similarity index 69% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.TypeEnum.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ConjunctionEnum.g.cs index 56d4ec96..13f05e36 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.TypeEnum.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ConjunctionEnum.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class TypeEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ConjunctionEnumJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.TypeEnum Read( + public override global::LabelStudio.ConjunctionEnum Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class TypeEnumJsonConverter : global::System.Text.Json.Serializati var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.TypeEnumExtensions.ToEnum(stringValue) ?? default; + return global::LabelStudio.ConjunctionEnumExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class TypeEnumJsonConverter : global::System.Text.Json.Serializati case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.TypeEnum)numValue; + return (global::LabelStudio.ConjunctionEnum)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.TypeEnum); + return default(global::LabelStudio.ConjunctionEnum); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class TypeEnumJsonConverter : global::System.Text.Json.Serializati /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.TypeEnum value, + global::LabelStudio.ConjunctionEnum value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::LabelStudio.TypeEnumExtensions.ToValueString(value)); + writer.WriteStringValue(global::LabelStudio.ConjunctionEnumExtensions.ToValueString(value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.TypeEnumNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ConjunctionEnumNullable.g.cs similarity index 70% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.TypeEnumNullable.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ConjunctionEnumNullable.g.cs index 52546d0b..734ad88a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.TypeEnumNullable.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ConjunctionEnumNullable.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class TypeEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class ConjunctionEnumNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.TypeEnum? Read( + public override global::LabelStudio.ConjunctionEnum? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class TypeEnumNullableJsonConverter : global::System.Text.Json.Ser var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.TypeEnumExtensions.ToEnum(stringValue); + return global::LabelStudio.ConjunctionEnumExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class TypeEnumNullableJsonConverter : global::System.Text.Json.Ser case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.TypeEnum)numValue; + return (global::LabelStudio.ConjunctionEnum)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.TypeEnum?); + return default(global::LabelStudio.ConjunctionEnum?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class TypeEnumNullableJsonConverter : global::System.Text.Json.Ser /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.TypeEnum? value, + global::LabelStudio.ConjunctionEnum? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::LabelStudio.TypeEnumExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::LabelStudio.ConjunctionEnumExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilter.g.cs similarity index 61% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunction.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilter.g.cs index f68279da..59ec1694 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunction.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilter.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmActionsCreateRequestFiltersConjunctionJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemChildFilterFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmActionsCreateRequestFiltersConjunctionJsonConverter : g var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunctionExtensions.ToEnum(stringValue) ?? default; + return global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilterExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ApiDmActionsCreateRequestFiltersConjunctionJsonConverter : g case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ApiDmActionsCreateRequestFiltersConjunctionJsonConverter : g /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction value, + global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunctionExtensions.ToValueString(value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilterExtensions.ToValueString(value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterNullable.g.cs similarity index 63% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionNullable.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterNullable.g.cs index 014ac5b3..3ba2c702 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionNullable.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterNullable.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemChildFilterFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction? Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConve var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunctionExtensions.ToEnum(stringValue); + return global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilterExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConve case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction?); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConve /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction? value, + global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunctionExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilterExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperator.g.cs similarity index 60% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilter.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperator.g.cs index fe5eff04..73b5f4fe 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilter.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperator.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmActionsCreateRequestFiltersItemFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemChildFilterOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmActionsCreateRequestFiltersItemFilterJsonConverter : gl var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilterExtensions.ToEnum(stringValue) ?? default; + return global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperatorExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ApiDmActionsCreateRequestFiltersItemFilterJsonConverter : gl case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ApiDmActionsCreateRequestFiltersItemFilterJsonConverter : gl /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter value, + global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilterExtensions.ToValueString(value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperatorExtensions.ToValueString(value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorNullable.g.cs similarity index 62% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorNullable.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorNullable.g.cs index a271e77e..3276dc00 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorNullable.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorNullable.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemChildFilterOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator? Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConv var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperatorExtensions.ToEnum(stringValue); + return global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperatorExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConv case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator?); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConv /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator? value, + global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperatorExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperatorExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilter.g.cs similarity index 66% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItem.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilter.g.cs index 7da8cf8c..4e87c06b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItem.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilter.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmActionsCreateRequestOrderingItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemFilterJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmActionsCreateRequestOrderingItem Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemFilter Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmActionsCreateRequestOrderingItemJsonConverter : global: var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmActionsCreateRequestOrderingItemExtensions.ToEnum(stringValue) ?? default; + return global::LabelStudio.PrepareParamsFiltersRequestItemFilterExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ApiDmActionsCreateRequestOrderingItemJsonConverter : global: case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestOrderingItem)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemFilter)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmActionsCreateRequestOrderingItem); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemFilter); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ApiDmActionsCreateRequestOrderingItemJsonConverter : global: /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestOrderingItem value, + global::LabelStudio.PrepareParamsFiltersRequestItemFilter value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestOrderingItemExtensions.ToValueString(value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemFilterExtensions.ToValueString(value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterNullable.g.cs similarity index 68% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemNullable.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterNullable.g.cs index e0fa9e1e..8ff4b15c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemNullable.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterNullable.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmActionsCreateRequestOrderingItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemFilterNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmActionsCreateRequestOrderingItem? Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemFilter? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmActionsCreateRequestOrderingItemNullableJsonConverter : var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmActionsCreateRequestOrderingItemExtensions.ToEnum(stringValue); + return global::LabelStudio.PrepareParamsFiltersRequestItemFilterExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ApiDmActionsCreateRequestOrderingItemNullableJsonConverter : case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmActionsCreateRequestOrderingItem)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemFilter)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmActionsCreateRequestOrderingItem?); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemFilter?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ApiDmActionsCreateRequestOrderingItemNullableJsonConverter : /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmActionsCreateRequestOrderingItem? value, + global::LabelStudio.PrepareParamsFiltersRequestItemFilter? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::LabelStudio.ApiDmActionsCreateRequestOrderingItemExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemFilterExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperator.g.cs similarity index 66% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItem.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperator.g.cs index 9340b12d..16ce03fc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItem.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperator.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmViewsUpdateRequestDataOrderingItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemOperatorJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemOperator Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmViewsUpdateRequestDataOrderingItemJsonConverter : globa var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItemExtensions.ToEnum(stringValue) ?? default; + return global::LabelStudio.PrepareParamsFiltersRequestItemOperatorExtensions.ToEnum(stringValue) ?? default; } break; @@ -26,11 +26,11 @@ public sealed class ApiDmViewsUpdateRequestDataOrderingItemJsonConverter : globa case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemOperator)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemOperator); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,12 +42,12 @@ public sealed class ApiDmViewsUpdateRequestDataOrderingItemJsonConverter : globa /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem value, + global::LabelStudio.PrepareParamsFiltersRequestItemOperator value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); - writer.WriteStringValue(global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItemExtensions.ToValueString(value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemOperatorExtensions.ToValueString(value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorNullable.g.cs similarity index 68% rename from src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemNullable.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorNullable.g.cs index 8fe3a095..b9b47bbd 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemNullable.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorNullable.g.cs @@ -3,10 +3,10 @@ namespace LabelStudio.JsonConverters { /// - public sealed class ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + public sealed class PrepareParamsFiltersRequestItemOperatorNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter { /// - public override global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem? Read( + public override global::LabelStudio.PrepareParamsFiltersRequestItemOperator? Read( ref global::System.Text.Json.Utf8JsonReader reader, global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) @@ -18,7 +18,7 @@ public sealed class ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter var stringValue = reader.GetString(); if (stringValue != null) { - return global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItemExtensions.ToEnum(stringValue); + return global::LabelStudio.PrepareParamsFiltersRequestItemOperatorExtensions.ToEnum(stringValue); } break; @@ -26,11 +26,11 @@ public sealed class ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter case global::System.Text.Json.JsonTokenType.Number: { var numValue = reader.GetInt32(); - return (global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem)numValue; + return (global::LabelStudio.PrepareParamsFiltersRequestItemOperator)numValue; } case global::System.Text.Json.JsonTokenType.Null: { - return default(global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem?); + return default(global::LabelStudio.PrepareParamsFiltersRequestItemOperator?); } default: throw new global::System.ArgumentOutOfRangeException(nameof(reader)); @@ -42,7 +42,7 @@ public sealed class ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter /// public override void Write( global::System.Text.Json.Utf8JsonWriter writer, - global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem? value, + global::LabelStudio.PrepareParamsFiltersRequestItemOperator? value, global::System.Text.Json.JsonSerializerOptions options) { writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); @@ -53,7 +53,7 @@ public override void Write( } else { - writer.WriteStringValue(global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItemExtensions.ToValueString(value.Value)); + writer.WriteStringValue(global::LabelStudio.PrepareParamsFiltersRequestItemOperatorExtensions.ToValueString(value.Value)); } } } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsOrderingRequestItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsOrderingRequestItem.g.cs new file mode 100644 index 00000000..69f47d46 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsOrderingRequestItem.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace LabelStudio.JsonConverters +{ + /// + public sealed class PrepareParamsOrderingRequestItemJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::LabelStudio.PrepareParamsOrderingRequestItem 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.PrepareParamsOrderingRequestItemExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::LabelStudio.PrepareParamsOrderingRequestItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::LabelStudio.PrepareParamsOrderingRequestItem); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::LabelStudio.PrepareParamsOrderingRequestItem value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::LabelStudio.PrepareParamsOrderingRequestItemExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemNullable.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemNullable.g.cs new file mode 100644 index 00000000..d3d9ade2 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace LabelStudio.JsonConverters +{ + /// + public sealed class PrepareParamsOrderingRequestItemNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::LabelStudio.PrepareParamsOrderingRequestItem? 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.PrepareParamsOrderingRequestItemExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::LabelStudio.PrepareParamsOrderingRequestItem)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::LabelStudio.PrepareParamsOrderingRequestItem?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::LabelStudio.PrepareParamsOrderingRequestItem? 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.PrepareParamsOrderingRequestItemExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs index 342fbede..8a417291 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContext.g.cs @@ -37,6 +37,10 @@ namespace LabelStudio typeof(global::LabelStudio.JsonConverters.AssignableUserTypeEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.AuthMethodEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.AuthMethodEnumNullableJsonConverter), @@ -49,6 +53,14 @@ namespace LabelStudio typeof(global::LabelStudio.JsonConverters.BudgetResetPeriodEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.ChatMessageRoleEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ChatMessageRoleEnumNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ConjunctionEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ConjunctionEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.DashboardTypeEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.DashboardTypeEnumNullableJsonConverter), @@ -105,6 +117,26 @@ namespace LabelStudio typeof(global::LabelStudio.JsonConverters.OrganizationRoleEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumNullableJsonConverter), @@ -189,150 +221,6 @@ namespace LabelStudio typeof(global::LabelStudio.JsonConverters.TrialRoleEnumNullableJsonConverter), - typeof(global::LabelStudio.JsonConverters.TypeEnumJsonConverter), - - typeof(global::LabelStudio.JsonConverters.TypeEnumNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeNullableJsonConverter), - typeof(global::LabelStudio.JsonConverters.ApiActivityLogsListMethodJsonConverter), typeof(global::LabelStudio.JsonConverters.ApiActivityLogsListMethodNullableJsonConverter), @@ -415,33 +303,19 @@ namespace LabelStudio typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>), @@ -471,8 +345,8 @@ namespace LabelStudio typeof(global::LabelStudio.JsonConverters.UnixTimestampJsonConverter), })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue_d4cd88601b7727f2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue_42876ca72ef469f3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue_5a49480f2bfb3744")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue_a4839e20384287f3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "ApiProjectsStatsTotalAgreementRetrieveResponseVariant2_34675e999e90b30b")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] @@ -520,7 +394,8 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AnnotationBulkDeleteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.SelectedItemsRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AnnotationHistory))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AnnotationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AnnotationReview))] @@ -529,12 +404,17 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AssignableUserTypeEnum), TypeInfoPropertyName = "AssignableUserTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelStreamTaskDistributionEnum), TypeInfoPropertyName = "LabelStreamTaskDistributionEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AssignmentSettingsRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AssignmentTypeEnum), TypeInfoPropertyName = "AssignmentTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AssociatedProject))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AuthMethodEnum), TypeInfoPropertyName = "AuthMethodEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AuthTypeEnum), TypeInfoPropertyName = "AuthTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureBlobExportStorage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.StorageStatusEnum), TypeInfoPropertyName = "StorageStatusEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureBlobExportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureBlobExportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureBlobImportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureBlobImportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureBlobImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureDatasetStorage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureDatasetStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AzureServicePrincipalExportStorage))] @@ -559,8 +439,17 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.BulkOrganizationMemberTagAssignmentRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.BulkProjectLearningAssignmentRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.BulkResetCourseProgressRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.BulkTaskAssigneesRequestRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "OneOfBulkTaskAssigneesRequestRequestSelectedItemsAllFalseBulkTaskAssigneesRequestRequestSelectedItemsAllTrue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.CancelModelRunResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Certificate))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ChatCompletionRequestRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ChatMessageRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ChatMessageRoleEnum), TypeInfoPropertyName = "ChatMessageRoleEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.CheckMatchingFunctionRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ChildFilter))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ChildFilterRequest))] @@ -570,6 +459,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseUser))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ConfigurablePermissionOption))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ConjunctionEnum), TypeInfoPropertyName = "ConjunctionEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ControlTagWeightRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ConvertedFormat))] @@ -591,6 +481,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OpEnum), TypeInfoPropertyName = "OpEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.CourseStructureOpResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.CreateProjectFromTemplateRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.CustomFunctionCodeRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DataManagerFilterModeEnum), TypeInfoPropertyName = "DataManagerFilterModeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DataQualityAgreementConfusionMatrix))] @@ -601,9 +492,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.DatabricksExportStorage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatabricksExportStorageRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatabricksExportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatabricksExportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatabricksImportStorage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatabricksImportStorageRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatabricksImportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatabricksImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Dataset))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatasetColumn))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DatasetColumnVisibilityDefaults))] @@ -655,7 +548,11 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSDatasetStorage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSDatasetStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSExportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSExportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSExportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSImportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSImportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSSAExportStorage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSSAExportStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.GCSSAImportStorage))] @@ -720,7 +617,11 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LearningResourceUpdate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LearningResourceUploadResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LocalFilesExportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LocalFilesExportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LocalFilesExportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LocalFilesImportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LocalFilesImportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LocalFilesImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseAnnotationFilterOptions))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseAnnotationFilterOptionsRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseExportCreate))] @@ -788,9 +689,12 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseUserOrganizationMemberListContributedToProject))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseUserOrganizationMemberListCreatedProject))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LseUserRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MLBackend))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.StateEnum), TypeInfoPropertyName = "StateEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MLBackendRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MLBackendRequestRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MLBackendTrainRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MLInteractiveAnnotatingRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MappingStatusEnum), TypeInfoPropertyName = "MappingStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.MaybeExpandedComment), TypeInfoPropertyName = "MaybeExpandedComment2")] @@ -808,7 +712,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ModelRun))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectSubsetEnum), TypeInfoPropertyName = "ProjectSubsetEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ModelRunStatusEnum), TypeInfoPropertyName = "ModelRunStatusEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ModelRunRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ModelRunRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OperatorEnum), TypeInfoPropertyName = "OperatorEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OrganizationId))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OrganizationInvite))] @@ -876,15 +780,19 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.UserLearningProgressList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAnalyticsViewRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAnnotationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAnnotationReviewRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureDatasetStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest))] [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.PatchedDatabricksExportStorageRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedDatabricksImportStorageRequest))] + [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))] @@ -892,6 +800,8 @@ namespace LabelStudio [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))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedGCSImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedGCSSAExportStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedGCSSAImportStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedGCSWIFExportStorageRequest))] @@ -901,6 +811,8 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLabelRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLearningResourceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLearningResourceUpdateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseInterfaceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] @@ -910,6 +822,7 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseS3ImportStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseTaskRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedLseUserSerializerUpdateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedMLBackendRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedModelInterfaceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedModelProviderConnectionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedOrganizationMemberCreateUpdateRequest))] @@ -918,59 +831,20 @@ namespace LabelStudio [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedOrganizationPermissionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedPauseRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReasonEnum), TypeInfoPropertyName = "ReasonEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedPredictionRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedProjectLearningAssignmentRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedProjectTemplateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedRedisExportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedRedisImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedS3DatasetStorageRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedS3ExportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedS3ImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedSessionTimeoutPolicyRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedTaskAssigneesMutationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedThirdPartyModelVersionRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedViewRequestRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ViewDataRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedWebhookSerializerForUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedWorkspaceRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Pause))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PauseRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Prediction))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PredictionCountResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Project))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectAnnotationsBrowseItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectAnnotationsBrowseResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectDuplicateModeEnum), TypeInfoPropertyName = "ProjectDuplicateModeEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectDuplicateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroup))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroupRoleEnum), TypeInfoPropertyName = "ProjectGroupRoleEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroupRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectImport))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLabelConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLabelConfigRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLearningAssignment))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLearningAssignmentCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMember))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberBulkAssignRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberBulkAssignRolesRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberBulkAssignResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberIdentityVerificationError))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectReimport))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectRole))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectRoleAssignment))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectRoleRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectSubsetItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectSubsetTaskItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectTemplate))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectTemplateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PromptPreviewResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PublishLearningResourceRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RetakeScopeEnum), TypeInfoPropertyName = "RetakeScopeEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluate))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluateModeEnum), TypeInfoPropertyName = "ReEvaluateModeEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisExportStorage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisImportStorage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RefinePromptRequestRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RefinedPromptResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ThirdPartyModelVersion))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1006,6 +880,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::LabelStudio.JsonConverters.AssignableUserTypeEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.AuthMethodEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.AuthMethodEnumNullableJsonConverter), @@ -1018,6 +896,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::LabelStudio.JsonConverters.BudgetResetPeriodEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.ChatMessageRoleEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ChatMessageRoleEnumNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ConjunctionEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ConjunctionEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.DashboardTypeEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.DashboardTypeEnumNullableJsonConverter), @@ -1074,6 +960,26 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::LabelStudio.JsonConverters.OrganizationRoleEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumNullableJsonConverter), @@ -1158,150 +1064,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::LabelStudio.JsonConverters.TrialRoleEnumNullableJsonConverter), - typeof(global::LabelStudio.JsonConverters.TypeEnumJsonConverter), - - typeof(global::LabelStudio.JsonConverters.TypeEnumNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeNullableJsonConverter), - typeof(global::LabelStudio.JsonConverters.ApiActivityLogsListMethodJsonConverter), typeof(global::LabelStudio.JsonConverters.ApiActivityLogsListMethodNullableJsonConverter), @@ -1384,39 +1146,25 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>, global::System.Collections.Generic.Dictionary>>>), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>, global::System.Collections.Generic.Dictionary>>>), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>, global::System.Collections.Generic.Dictionary>>>), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>, global::System.Collections.Generic.Dictionary>>>), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>), @@ -1440,9 +1188,76 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex typeof(global::LabelStudio.JsonConverters.UnixTimestampJsonConverter), })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue_d4cd88601b7727f2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue_42876ca72ef469f3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue_5a49480f2bfb3744")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue_a4839e20384287f3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "ApiProjectsStatsTotalAgreementRetrieveResponseVariant2_34675e999e90b30b")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PatchedWorkspaceRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Pause))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PauseRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Prediction))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PredictionCountResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter), TypeInfoPropertyName = "PrepareParamsFiltersRequestItemChildFilterFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator), TypeInfoPropertyName = "PrepareParamsFiltersRequestItemChildFilterOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "OneOfStringInt32SingleBooleanObjectObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(float))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemFilter), TypeInfoPropertyName = "PrepareParamsFiltersRequestItemFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemOperator), TypeInfoPropertyName = "PrepareParamsFiltersRequestItemOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsOrderingRequestItem), TypeInfoPropertyName = "PrepareParamsOrderingRequestItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsRequestRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "OneOfPrepareParamsRequestRequestSelectedItemsAllFalsePrepareParamsRequestRequestSelectedItemsAllTrue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Project))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectAnnotationsBrowseItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectAnnotationsBrowseResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectDuplicateModeEnum), TypeInfoPropertyName = "ProjectDuplicateModeEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectDuplicateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroup))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroupRoleEnum), TypeInfoPropertyName = "ProjectGroupRoleEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroupRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectImport))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLabelConfig))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLabelConfigRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLearningAssignment))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectLearningAssignmentCreateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMember))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberBulkAssignRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberBulkAssignRolesRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberBulkAssignResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberIdentityVerificationError))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectMemberRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectReimport))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectRoleAssignment))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectRoleRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectSubsetItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectSubsetTaskItem))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectTemplate))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectTemplateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PromptPreviewResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PublishLearningResourceRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RetakeScopeEnum), TypeInfoPropertyName = "RetakeScopeEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluate))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluateModeEnum), TypeInfoPropertyName = "ReEvaluateModeEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReEvaluateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisExportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisExportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisExportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisImportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisImportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RedisImportStorageWriteRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RefinePromptRequestRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RefinedPromptResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ThirdPartyModelVersion))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RegressionSummary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RegressionsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RequeueRejectedTasksModeEnum), TypeInfoPropertyName = "RequeueRejectedTasksModeEnum2")] @@ -1457,7 +1272,11 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3DatasetStorage))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3DatasetStorageRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3ExportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3ExportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3ExportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3ImportStorage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3ImportStorageValidateRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.S3ImportStorageWriteRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.SamlSettings))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList>))] @@ -1489,8 +1308,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.StateBackfillStatusResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TriggeredBy2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TaskAgreementMatrixResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TaskAssigneesMutationRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TaskAssignment))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TypeEnum), TypeInfoPropertyName = "TypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TaskEvent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TaskEventRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TaskSimple))] @@ -1512,6 +1331,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.View))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ViewLockedBy))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ViewOrderRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ViewRequestRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.Webhook))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.WebhookRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.WebhookSerializerForUpdate))] @@ -1525,135 +1345,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.WorkspaceMemberList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.WorkspaceProjectsRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.WorkspaceRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiAnnotationsPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDatasetsImportPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFilters))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction), TypeInfoPropertyName = "ApiDmActionsCreateRequestFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilter))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter), TypeInfoPropertyName = "ApiDmActionsCreateRequestFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator), TypeInfoPropertyName = "ApiDmActionsCreateRequestFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "OneOfStringInt32SingleBooleanObjectObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(float))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter), TypeInfoPropertyName = "ApiDmActionsCreateRequestFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator), TypeInfoPropertyName = "ApiDmActionsCreateRequestFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestOrderingItem), TypeInfoPropertyName = "ApiDmActionsCreateRequestOrderingItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "OneOfApiDmActionsCreateRequestSelectedItemsAllFalseApiDmActionsCreateRequestSelectedItemsAllTrue2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllFalse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllTrue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFilters))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction), TypeInfoPropertyName = "ApiDmViewsCreateRequestDataFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilter))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter), TypeInfoPropertyName = "ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator), TypeInfoPropertyName = "ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter), TypeInfoPropertyName = "ApiDmViewsCreateRequestDataFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator), TypeInfoPropertyName = "ApiDmViewsCreateRequestDataFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem), TypeInfoPropertyName = "ApiDmViewsCreateRequestDataOrderingItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction), TypeInfoPropertyName = "ApiDmViewsPartialUpdateRequestDataFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter), TypeInfoPropertyName = "ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator), TypeInfoPropertyName = "ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter), TypeInfoPropertyName = "ApiDmViewsPartialUpdateRequestDataFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator), TypeInfoPropertyName = "ApiDmViewsPartialUpdateRequestDataFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem), TypeInfoPropertyName = "ApiDmViewsPartialUpdateRequestDataOrderingItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestData))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFilters))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction), TypeInfoPropertyName = "ApiDmViewsUpdateRequestDataFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilter))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter), TypeInfoPropertyName = "ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator), TypeInfoPropertyName = "ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter), TypeInfoPropertyName = "ApiDmViewsUpdateRequestDataFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator), TypeInfoPropertyName = "ApiDmViewsUpdateRequestDataFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem), TypeInfoPropertyName = "ApiDmViewsUpdateRequestDataOrderingItem2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole), TypeInfoPropertyName = "ApiLlmOpenaiChatCompletionsCreateRequestMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiMlCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiMlCreateRequestAuthMethod), TypeInfoPropertyName = "ApiMlCreateRequestAuthMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiMlPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod), TypeInfoPropertyName = "ApiMlPartialUpdateRequestAuthMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiMlTrainCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiPredictionsCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiPredictionsPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiPredictionsUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType), TypeInfoPropertyName = "ApiProjectsTasksAssigneesPartialUpdateRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType), TypeInfoPropertyName = "ApiProjectsTasksAssigneesCreateRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesAzureCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesAzureValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesAzurePartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportAzureCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportGcsCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportRedisCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportS3CreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesGcsCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesGcsValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesGcsPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesLocalfilesCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesRedisCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesRedisValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesRedisPartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesS3CreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesS3ValidateCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiStoragesS3PartialUpdateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiTasksAnnotationsCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiUsersCreateRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiUsersPartialUpdateRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiActivityLogsListMethod), TypeInfoPropertyName = "ApiActivityLogsListMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime), TypeInfoPropertyName = "ApiAnalyticsKpisRetrieveSegmentByTime2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateId), TypeInfoPropertyName = "ApiDmActionsCreateId2")] @@ -1831,11 +1525,15 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AssignableOrganizationRoleEnum?), TypeInfoPropertyName = "NullableAssignableOrganizationRoleEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AssignableUserTypeEnum?), TypeInfoPropertyName = "NullableAssignableUserTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.LabelStreamTaskDistributionEnum?), TypeInfoPropertyName = "NullableLabelStreamTaskDistributionEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AssignmentTypeEnum?), TypeInfoPropertyName = "NullableAssignmentTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AuthMethodEnum?), TypeInfoPropertyName = "NullableAuthMethodEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.AuthTypeEnum?), TypeInfoPropertyName = "NullableAuthTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.StorageStatusEnum?), TypeInfoPropertyName = "NullableStorageStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PromptsStatusEnum?), TypeInfoPropertyName = "NullablePromptsStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.BudgetResetPeriodEnum?), TypeInfoPropertyName = "NullableBudgetResetPeriodEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfBulkTaskAssigneesRequestRequestSelectedItemsAllFalseBulkTaskAssigneesRequestRequestSelectedItemsAllTrue2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ChatMessageRoleEnum?), TypeInfoPropertyName = "NullableChatMessageRoleEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ConjunctionEnum?), TypeInfoPropertyName = "NullableConjunctionEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectImportStatusEnum?), TypeInfoPropertyName = "NullableProjectImportStatusEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OpEnum?), TypeInfoPropertyName = "NullableOpEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.DataManagerFilterModeEnum?), TypeInfoPropertyName = "NullableDataManagerFilterModeEnum2")] @@ -1860,6 +1558,14 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RoleBasedTask?), TypeInfoPropertyName = "NullableRoleBasedTask2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.StandardUserTypeEnum?), TypeInfoPropertyName = "NullableStandardUserTypeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReasonEnum?), TypeInfoPropertyName = "NullableReasonEnum2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemChildFilterFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemChildFilterOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfStringInt32SingleBooleanObjectObject2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(float?))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemFilter?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemFilter2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsFiltersRequestItemOperator?), TypeInfoPropertyName = "NullablePrepareParamsFiltersRequestItemOperator2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.PrepareParamsOrderingRequestItem?), TypeInfoPropertyName = "NullablePrepareParamsOrderingRequestItem2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfPrepareParamsRequestRequestSelectedItemsAllFalsePrepareParamsRequestRequestSelectedItemsAllTrue2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectDuplicateModeEnum?), TypeInfoPropertyName = "NullableProjectDuplicateModeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ProjectGroupRoleEnum?), TypeInfoPropertyName = "NullableProjectGroupRoleEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RetakeScopeEnum?), TypeInfoPropertyName = "NullableRetakeScopeEnum2")] @@ -1867,45 +1573,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.RequeueRejectedTasksModeEnum?), TypeInfoPropertyName = "NullableRequeueRejectedTasksModeEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReviewCriteriaEnum?), TypeInfoPropertyName = "NullableReviewCriteriaEnum2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ReviewSettingsSamplingEnum?), TypeInfoPropertyName = "NullableReviewSettingsSamplingEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.TypeEnum?), TypeInfoPropertyName = "NullableTypeEnum2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction?), TypeInfoPropertyName = "NullableApiDmActionsCreateRequestFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter?), TypeInfoPropertyName = "NullableApiDmActionsCreateRequestFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator?), TypeInfoPropertyName = "NullableApiDmActionsCreateRequestFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfStringInt32SingleBooleanObjectObject2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(float?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter?), TypeInfoPropertyName = "NullableApiDmActionsCreateRequestFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator?), TypeInfoPropertyName = "NullableApiDmActionsCreateRequestFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateRequestOrderingItem?), TypeInfoPropertyName = "NullableApiDmActionsCreateRequestOrderingItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "NullableOneOfApiDmActionsCreateRequestSelectedItemsAllFalseApiDmActionsCreateRequestSelectedItemsAllTrue2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction?), TypeInfoPropertyName = "NullableApiDmViewsCreateRequestDataFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter?), TypeInfoPropertyName = "NullableApiDmViewsCreateRequestDataFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator?), TypeInfoPropertyName = "NullableApiDmViewsCreateRequestDataFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter?), TypeInfoPropertyName = "NullableApiDmViewsCreateRequestDataFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator?), TypeInfoPropertyName = "NullableApiDmViewsCreateRequestDataFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem?), TypeInfoPropertyName = "NullableApiDmViewsCreateRequestDataOrderingItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction?), TypeInfoPropertyName = "NullableApiDmViewsPartialUpdateRequestDataFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter?), TypeInfoPropertyName = "NullableApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator?), TypeInfoPropertyName = "NullableApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter?), TypeInfoPropertyName = "NullableApiDmViewsPartialUpdateRequestDataFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator?), TypeInfoPropertyName = "NullableApiDmViewsPartialUpdateRequestDataFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem?), TypeInfoPropertyName = "NullableApiDmViewsPartialUpdateRequestDataOrderingItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction?), TypeInfoPropertyName = "NullableApiDmViewsUpdateRequestDataFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter?), TypeInfoPropertyName = "NullableApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator?), TypeInfoPropertyName = "NullableApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter?), TypeInfoPropertyName = "NullableApiDmViewsUpdateRequestDataFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator?), TypeInfoPropertyName = "NullableApiDmViewsUpdateRequestDataFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem?), TypeInfoPropertyName = "NullableApiDmViewsUpdateRequestDataOrderingItem2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole?), TypeInfoPropertyName = "NullableApiLlmOpenaiChatCompletionsCreateRequestMessageRole2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiMlCreateRequestAuthMethod?), TypeInfoPropertyName = "NullableApiMlCreateRequestAuthMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod?), TypeInfoPropertyName = "NullableApiMlPartialUpdateRequestAuthMethod2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesBulkCreateRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesPartialUpdateRequestType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType?), TypeInfoPropertyName = "NullableApiProjectsTasksAssigneesCreateRequestType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiActivityLogsListMethod?), TypeInfoPropertyName = "NullableApiActivityLogsListMethod2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime?), TypeInfoPropertyName = "NullableApiAnalyticsKpisRetrieveSegmentByTime2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.ApiDmActionsCreateId?), TypeInfoPropertyName = "NullableApiDmActionsCreateId2")] @@ -1934,12 +1601,93 @@ 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))] + [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))] + [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))] + [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))] + [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))] + [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>))] + [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 { } @@ -1975,6 +1723,10 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::LabelStudio.JsonConverters.AssignableUserTypeEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.AuthMethodEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.AuthMethodEnumNullableJsonConverter), @@ -1987,6 +1739,14 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::LabelStudio.JsonConverters.BudgetResetPeriodEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.ChatMessageRoleEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ChatMessageRoleEnumNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ConjunctionEnumJsonConverter), + + typeof(global::LabelStudio.JsonConverters.ConjunctionEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.DashboardTypeEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.DashboardTypeEnumNullableJsonConverter), @@ -2043,6 +1803,26 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::LabelStudio.JsonConverters.OrganizationRoleEnumNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorNullableJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemJsonConverter), + + typeof(global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemNullableJsonConverter), + typeof(global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumJsonConverter), typeof(global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumNullableJsonConverter), @@ -2127,150 +1907,6 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::LabelStudio.JsonConverters.TrialRoleEnumNullableJsonConverter), - typeof(global::LabelStudio.JsonConverters.TypeEnumJsonConverter), - - typeof(global::LabelStudio.JsonConverters.TypeEnumNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullableJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeJsonConverter), - - typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeNullableJsonConverter), - typeof(global::LabelStudio.JsonConverters.ApiActivityLogsListMethodJsonConverter), typeof(global::LabelStudio.JsonConverters.ApiActivityLogsListMethodNullableJsonConverter), @@ -2353,33 +1989,19 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), - typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), + typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter), typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter>), @@ -2409,101 +2031,9 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex typeof(global::LabelStudio.JsonConverters.UnixTimestampJsonConverter), })] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue_d4cd88601b7727f2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue_42876ca72ef469f3")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf), TypeInfoPropertyName = "AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue_5a49480f2bfb3744")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue_a4839e20384287f3")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::LabelStudio.OneOf?), TypeInfoPropertyName = "ApiProjectsStatsTotalAgreementRetrieveResponseVariant2_34675e999e90b30b")] - [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))] - [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))] - [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))] - [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))] - [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>))] - [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))] - [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))] - [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))] @@ -2629,12 +2159,18 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::LabelStudio.JsonConverters.AssignableOrganizationRoleEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.AssignableUserTypeEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.AssignableUserTypeEnumNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.AssignmentTypeEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.AuthMethodEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.AuthMethodEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.AuthTypeEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.AuthTypeEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.BudgetResetPeriodEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.BudgetResetPeriodEnumNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.ChatMessageRoleEnumJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.ChatMessageRoleEnumNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.ConjunctionEnumJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.ConjunctionEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.DashboardTypeEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.DashboardTypeEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.DataManagerFilterModeEnumJsonConverter()); @@ -2663,6 +2199,16 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::LabelStudio.JsonConverters.OrganizationPermissionRoleEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.OrganizationRoleEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.OrganizationRoleEnumNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorNullableJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemJsonConverter()); + options.Converters.Add(new global::LabelStudio.JsonConverters.PrepareParamsOrderingRequestItemNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.ProjectDuplicateModeEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.ProjectGroupRoleEnumJsonConverter()); @@ -2705,78 +2251,6 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::LabelStudio.JsonConverters.StorageStatusEnumNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.TrialRoleEnumJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.TrialRoleEnumNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.TypeEnumJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.TypeEnumNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestOrderingItemNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataOrderingItemNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataOrderingItemNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataOrderingItemNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeNullableJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeJsonConverter()); - options.Converters.Add(new global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.ApiActivityLogsListMethodJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.ApiActivityLogsListMethodNullableJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.ApiAnalyticsKpisRetrieveSegmentByTimeJsonConverter()); @@ -2818,20 +2292,13 @@ private SourceGenerationContext(global::System.Text.Json.JsonSerializerOptions o options.Converters.Add(new global::LabelStudio.JsonConverters.MaybeExpandedCommentJsonConverter()); options.Converters.Add(new global::LabelStudio.JsonConverters.RoleBasedTaskJsonConverter()); 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.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.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>>>()); diff --git a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs index e36d26a7..9a5c00b9 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.JsonSerializerContextTypes.g.cs @@ -200,3287 +200,3071 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::LabelStudio.SelectedItemsRequest? Type43 { get; set; } + public global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse? Type43 { get; set; } /// /// /// - public global::LabelStudio.AnnotationHistory? Type44 { get; set; } + public global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue? Type44 { get; set; } /// /// /// - public global::LabelStudio.AnnotationRequest? Type45 { get; set; } + public global::LabelStudio.AnnotationHistory? Type45 { get; set; } /// /// /// - public global::LabelStudio.AnnotationReview? Type46 { get; set; } + public global::LabelStudio.AnnotationRequest? Type46 { get; set; } /// /// /// - public global::LabelStudio.AnnotationReviewRequest? Type47 { get; set; } + public global::LabelStudio.AnnotationReview? Type47 { get; set; } /// /// /// - public global::LabelStudio.AssignableOrganizationRoleEnum? Type48 { get; set; } + public global::LabelStudio.AnnotationReviewRequest? Type48 { get; set; } /// /// /// - public global::LabelStudio.AssignableUserTypeEnum? Type49 { get; set; } + public global::LabelStudio.AssignableOrganizationRoleEnum? Type49 { get; set; } /// /// /// - public global::LabelStudio.LabelStreamTaskDistributionEnum? Type50 { get; set; } + public global::LabelStudio.AssignableUserTypeEnum? Type50 { get; set; } /// /// /// - public global::LabelStudio.AssignmentSettingsRequest? Type51 { get; set; } + public global::LabelStudio.LabelStreamTaskDistributionEnum? Type51 { get; set; } /// /// /// - public global::LabelStudio.AssociatedProject? Type52 { get; set; } + public global::LabelStudio.AssignmentSettingsRequest? Type52 { get; set; } /// /// /// - public global::LabelStudio.AuthMethodEnum? Type53 { get; set; } + public global::LabelStudio.AssignmentTypeEnum? Type53 { get; set; } /// /// /// - public global::LabelStudio.AuthTypeEnum? Type54 { get; set; } + public global::LabelStudio.AssociatedProject? Type54 { get; set; } /// /// /// - public global::LabelStudio.AzureBlobExportStorage? Type55 { get; set; } + public global::LabelStudio.AuthMethodEnum? Type55 { get; set; } /// /// /// - public global::LabelStudio.StorageStatusEnum? Type56 { get; set; } + public global::LabelStudio.AuthTypeEnum? Type56 { get; set; } /// /// /// - public global::LabelStudio.AzureBlobImportStorage? Type57 { get; set; } + public global::LabelStudio.AzureBlobExportStorage? Type57 { get; set; } /// /// /// - public global::LabelStudio.AzureDatasetStorage? Type58 { get; set; } + public global::LabelStudio.StorageStatusEnum? Type58 { get; set; } /// /// /// - public global::LabelStudio.AzureDatasetStorageRequest? Type59 { get; set; } + public global::LabelStudio.AzureBlobExportStorageValidateRequest? Type59 { get; set; } /// /// /// - public global::LabelStudio.AzureServicePrincipalExportStorage? Type60 { get; set; } + public global::LabelStudio.AzureBlobExportStorageWriteRequest? Type60 { get; set; } /// /// /// - public global::LabelStudio.AzureServicePrincipalExportStorageRequest? Type61 { get; set; } + public global::LabelStudio.AzureBlobImportStorage? Type61 { get; set; } /// /// /// - public global::LabelStudio.AzureServicePrincipalImportStorage? Type62 { get; set; } + public global::LabelStudio.AzureBlobImportStorageValidateRequest? Type62 { get; set; } /// /// /// - public global::LabelStudio.AzureServicePrincipalImportStorageRequest? Type63 { get; set; } + public global::LabelStudio.AzureBlobImportStorageWriteRequest? Type63 { get; set; } /// /// /// - public global::LabelStudio.BatchFailedPredictions? Type64 { get; set; } + public global::LabelStudio.AzureDatasetStorage? Type64 { get; set; } /// /// /// - public global::LabelStudio.BatchFailedPredictionsRequestRequest? Type65 { get; set; } + public global::LabelStudio.AzureDatasetStorageRequest? Type65 { get; set; } /// /// /// - public global::LabelStudio.BatchPredictions? Type66 { get; set; } + public global::LabelStudio.AzureServicePrincipalExportStorage? Type66 { get; set; } /// /// /// - public global::LabelStudio.BatchPredictionsRequestRequest? Type67 { get; set; } + public global::LabelStudio.AzureServicePrincipalExportStorageRequest? Type67 { get; set; } /// /// /// - public global::LabelStudio.BillingChecks? Type68 { get; set; } + public global::LabelStudio.AzureServicePrincipalImportStorage? Type68 { get; set; } /// /// /// - public global::LabelStudio.CountLimit? Type69 { get; set; } + public global::LabelStudio.AzureServicePrincipalImportStorageRequest? Type69 { get; set; } /// /// /// - public global::LabelStudio.PromptsStatusEnum? Type70 { get; set; } + public global::LabelStudio.BatchFailedPredictions? Type70 { get; set; } /// /// /// - public global::LabelStudio.BillingFlags? Type71 { get; set; } + public global::LabelStudio.BatchFailedPredictionsRequestRequest? Type71 { get; set; } /// /// /// - public global::LabelStudio.BillingInfoResponse? Type72 { get; set; } + public global::LabelStudio.BatchPredictions? Type72 { get; set; } /// /// /// - public global::LabelStudio.Blueprint? Type73 { get; set; } + public global::LabelStudio.BatchPredictionsRequestRequest? Type73 { get; set; } /// /// /// - public global::LabelStudio.BlueprintRequest? Type74 { get; set; } + public global::LabelStudio.BillingChecks? Type74 { get; set; } /// /// /// - public global::LabelStudio.BudgetResetPeriodEnum? Type75 { get; set; } + public global::LabelStudio.CountLimit? Type75 { get; set; } /// /// /// - public global::LabelStudio.BulkIndicatorRun? Type76 { get; set; } + public global::LabelStudio.PromptsStatusEnum? Type76 { get; set; } /// /// /// - public global::LabelStudio.BulkIndicatorsResponse? Type77 { get; set; } + public global::LabelStudio.BillingFlags? Type77 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type78 { get; set; } + public global::LabelStudio.BillingInfoResponse? Type78 { get; set; } /// /// /// - public global::LabelStudio.BulkOrganizationMemberTagAssignmentRequest? Type79 { get; set; } + public global::LabelStudio.Blueprint? Type79 { get; set; } /// /// /// - public global::LabelStudio.BulkProjectLearningAssignmentRequest? Type80 { get; set; } + public global::LabelStudio.BlueprintRequest? Type80 { get; set; } /// /// /// - public global::LabelStudio.BulkResetCourseProgressRequest? Type81 { get; set; } + public global::LabelStudio.BudgetResetPeriodEnum? Type81 { get; set; } /// /// /// - public global::LabelStudio.CancelModelRunResponse? Type82 { get; set; } + public global::LabelStudio.BulkIndicatorRun? Type82 { get; set; } /// /// /// - public global::LabelStudio.Certificate? Type83 { get; set; } + public global::LabelStudio.BulkIndicatorsResponse? Type83 { get; set; } /// /// /// - public global::LabelStudio.CheckMatchingFunctionRequestRequest? Type84 { get; set; } + public global::System.Collections.Generic.IList? Type84 { get; set; } /// /// /// - public global::LabelStudio.ChildFilter? Type85 { get; set; } + public global::LabelStudio.BulkOrganizationMemberTagAssignmentRequest? Type85 { get; set; } /// /// /// - public global::LabelStudio.ChildFilterRequest? Type86 { get; set; } + public global::LabelStudio.BulkProjectLearningAssignmentRequest? Type86 { get; set; } /// /// /// - public global::LabelStudio.Comment? Type87 { get; set; } + public global::LabelStudio.BulkResetCourseProgressRequest? Type87 { get; set; } /// /// /// - public global::LabelStudio.CommentRequest? Type88 { get; set; } + public global::LabelStudio.BulkTaskAssigneesRequestRequest? Type88 { get; set; } /// /// /// - public global::LabelStudio.CommentSerializerWithExpandedUser? Type89 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequest? Type89 { get; set; } /// /// /// - public global::LabelStudio.LseUser? Type90 { get; set; } + public global::LabelStudio.OneOf? Type90 { get; set; } /// /// /// - public global::LabelStudio.ConfigurablePermissionOption? Type91 { get; set; } + public global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse? Type91 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type92 { get; set; } + public global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue? Type92 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type93 { get; set; } + public global::LabelStudio.CancelModelRunResponse? Type93 { get; set; } /// /// /// - public global::LabelStudio.ControlTagWeightRequest? Type94 { get; set; } + public global::LabelStudio.Certificate? Type94 { get; set; } /// /// /// - public global::LabelStudio.ConvertedFormat? Type95 { get; set; } + public global::LabelStudio.ChatCompletionRequestRequest? Type95 { get; set; } /// /// /// - public global::LabelStudio.ProjectImportStatusEnum? Type96 { get; set; } + public global::System.Collections.Generic.IList? Type96 { get; set; } /// /// /// - public global::LabelStudio.ConvertedFormatRequest? Type97 { get; set; } + public global::LabelStudio.ChatMessageRequest? Type97 { get; set; } /// /// /// - public global::LabelStudio.CourseEditingSession? Type98 { get; set; } + public global::LabelStudio.ChatMessageRoleEnum? Type98 { get; set; } /// /// /// - public global::LabelStudio.CourseEditingSessionHeartbeatRequest? Type99 { get; set; } + public global::LabelStudio.CheckMatchingFunctionRequestRequest? Type99 { get; set; } /// /// /// - public global::LabelStudio.CourseEditingSessionResponse? Type100 { get; set; } + public global::LabelStudio.ChildFilter? Type100 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type101 { get; set; } + public global::LabelStudio.ChildFilterRequest? Type101 { get; set; } /// /// /// - public global::LabelStudio.CourseModule? Type102 { get; set; } + public global::LabelStudio.Comment? Type102 { get; set; } /// /// /// - public global::LabelStudio.CourseOutline? Type103 { get; set; } + public global::LabelStudio.CommentRequest? Type103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type104 { get; set; } + public global::LabelStudio.CommentSerializerWithExpandedUser? Type104 { get; set; } /// /// /// - public global::LabelStudio.CourseOutlineModule? Type105 { get; set; } + public global::LabelStudio.LseUser? Type105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type106 { get; set; } + public global::LabelStudio.ConfigurablePermissionOption? Type106 { get; set; } /// /// /// - public global::LabelStudio.CourseOutlinePage? Type107 { get; set; } + public global::System.Collections.Generic.IList? Type107 { get; set; } /// /// /// - public global::LabelStudio.CoursePageSaveResponse? Type108 { get; set; } + public global::LabelStudio.ConjunctionEnum? Type108 { get; set; } /// /// /// - public global::LabelStudio.CourseProgressImportResult? Type109 { get; set; } + public global::System.Collections.Generic.Dictionary? Type109 { get; set; } /// /// /// - public global::LabelStudio.CourseStructureOpRequest? Type110 { get; set; } + public global::LabelStudio.ControlTagWeightRequest? Type110 { get; set; } /// /// /// - public global::LabelStudio.OpEnum? Type111 { get; set; } + public global::LabelStudio.ConvertedFormat? Type111 { get; set; } /// /// /// - public global::LabelStudio.CourseStructureOpResponse? Type112 { get; set; } + public global::LabelStudio.ProjectImportStatusEnum? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type113 { get; set; } + public global::LabelStudio.ConvertedFormatRequest? Type113 { get; set; } /// /// /// - public global::LabelStudio.CustomFunctionCodeRequestRequest? Type114 { get; set; } + public global::LabelStudio.CourseEditingSession? Type114 { get; set; } /// /// /// - public global::LabelStudio.DataManagerFilterModeEnum? Type115 { get; set; } + public global::LabelStudio.CourseEditingSessionHeartbeatRequest? Type115 { get; set; } /// /// /// - public global::LabelStudio.DataQualityAgreementConfusionMatrix? Type116 { get; set; } + public global::LabelStudio.CourseEditingSessionResponse? Type116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type117 { get; set; } + public global::System.Collections.Generic.IList? Type117 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type118 { get; set; } + public global::LabelStudio.CourseModule? Type118 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type119 { get; set; } + public global::LabelStudio.CourseOutline? Type119 { get; set; } /// /// /// - public global::LabelStudio.DataQualityConfusionPair? Type120 { get; set; } + public global::System.Collections.Generic.IList? Type120 { get; set; } /// /// /// - public global::LabelStudio.DataQualityAgreementDimensions? Type121 { get; set; } + public global::LabelStudio.CourseOutlineModule? Type121 { get; set; } /// /// /// - public global::LabelStudio.DataQualityAgreementDistribution? Type122 { get; set; } + public global::System.Collections.Generic.IList? Type122 { get; set; } /// /// /// - public global::LabelStudio.DatabricksExportStorage? Type123 { get; set; } + public global::LabelStudio.CourseOutlinePage? Type123 { get; set; } /// /// /// - public global::LabelStudio.DatabricksExportStorageRequest? Type124 { get; set; } + public global::LabelStudio.CoursePageSaveResponse? Type124 { get; set; } /// /// /// - public global::LabelStudio.DatabricksImportStorage? Type125 { get; set; } + public global::LabelStudio.CourseProgressImportResult? Type125 { get; set; } /// /// /// - public global::LabelStudio.DatabricksImportStorageRequest? Type126 { get; set; } + public global::LabelStudio.CourseStructureOpRequest? Type126 { get; set; } /// /// /// - public global::LabelStudio.Dataset? Type127 { get; set; } + public global::LabelStudio.OpEnum? Type127 { get; set; } /// /// /// - public global::LabelStudio.DatasetColumn? Type128 { get; set; } + public global::LabelStudio.CourseStructureOpResponse? Type128 { get; set; } /// /// /// - public global::LabelStudio.DatasetColumnVisibilityDefaults? Type129 { get; set; } + public global::System.Collections.Generic.IList? Type129 { get; set; } /// /// /// - public global::LabelStudio.DatasetColumnsResponse? Type130 { get; set; } + public global::LabelStudio.CreateProjectFromTemplateRequestRequest? Type130 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type131 { get; set; } + public global::LabelStudio.CustomFunctionCodeRequestRequest? Type131 { get; set; } /// /// /// - public global::LabelStudio.DatasetImportCandidatesCreateRequest? Type132 { get; set; } + public global::LabelStudio.DataManagerFilterModeEnum? Type132 { get; set; } /// /// /// - public global::LabelStudio.DatasetImportCandidatesResponse? Type133 { get; set; } + public global::LabelStudio.DataQualityAgreementConfusionMatrix? Type133 { get; set; } /// /// /// - public global::LabelStudio.DatasetMember? Type134 { get; set; } + public global::System.Collections.Generic.IList>? Type134 { get; set; } /// /// /// - public global::LabelStudio.DatasetMemberRequest? Type135 { get; set; } + public global::System.Collections.Generic.IList? Type135 { get; set; } /// /// /// - public global::LabelStudio.DatasetRequest? Type136 { get; set; } + public global::System.Collections.Generic.IList? Type136 { get; set; } /// /// /// - public global::LabelStudio.UserSimpleRequest? Type137 { get; set; } + public global::LabelStudio.DataQualityConfusionPair? Type137 { get; set; } /// /// /// - public global::LabelStudio.DatasetStorageAvailableDataType? Type138 { get; set; } + public global::LabelStudio.DataQualityAgreementDimensions? Type138 { get; set; } /// /// /// - public global::LabelStudio.DatasetStorageColumnType? Type139 { get; set; } + public global::LabelStudio.DataQualityAgreementDistribution? Type139 { get; set; } /// /// /// - public global::LabelStudio.DatasetStorageColumnsResponse? Type140 { get; set; } + public global::LabelStudio.DatabricksExportStorage? Type140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type141 { get; set; } + public global::LabelStudio.DatabricksExportStorageValidateRequest? Type141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type142 { get; set; } + public global::LabelStudio.DatabricksExportStorageWriteRequest? Type142 { get; set; } /// /// /// - public global::LabelStudio.DatasetTasksMetadataResponse? Type143 { get; set; } + public global::LabelStudio.DatabricksImportStorage? Type143 { get; set; } /// /// /// - public global::LabelStudio.DatasetView? Type144 { get; set; } + public global::LabelStudio.DatabricksImportStorageValidateRequest? Type144 { get; set; } /// /// /// - public global::LabelStudio.FilterGroup? Type145 { get; set; } + public global::LabelStudio.DatabricksImportStorageWriteRequest? Type145 { get; set; } /// /// /// - public global::LabelStudio.DatasetViewLockedBy? Type146 { get; set; } + public global::LabelStudio.Dataset? Type146 { get; set; } /// /// /// - public global::LabelStudio.DatasetViewRequest? Type147 { get; set; } + public global::LabelStudio.DatasetColumn? Type147 { get; set; } /// /// /// - public global::LabelStudio.FilterGroupRequest? Type148 { get; set; } + public global::LabelStudio.DatasetColumnVisibilityDefaults? Type148 { get; set; } /// /// /// - public global::LabelStudio.DefaultModelVersionNameResponse? Type149 { get; set; } + public global::LabelStudio.DatasetColumnsResponse? Type149 { get; set; } /// /// /// - public global::LabelStudio.DefaultRole? Type150 { get; set; } + public global::System.Collections.Generic.IList? Type150 { get; set; } /// /// /// - public global::LabelStudio.OrganizationRoleEnum? Type151 { get; set; } + public global::LabelStudio.DatasetImportCandidatesCreateRequest? Type151 { get; set; } /// /// /// - public global::LabelStudio.Dimension? Type152 { get; set; } + public global::LabelStudio.DatasetImportCandidatesResponse? Type152 { get; set; } /// /// /// - public global::LabelStudio.DimensionCreateRequest? Type153 { get; set; } + public global::LabelStudio.DatasetMember? Type153 { get; set; } /// /// /// - public global::LabelStudio.DimensionList? Type154 { get; set; } + public global::LabelStudio.DatasetMemberRequest? Type154 { get; set; } /// /// /// - public global::LabelStudio.DimensionRequest? Type155 { get; set; } + public global::LabelStudio.DatasetRequest? Type155 { get; set; } /// /// /// - public global::LabelStudio.DuplicateLearningResourceRequest? Type156 { get; set; } + public global::LabelStudio.UserSimpleRequest? Type156 { get; set; } /// /// /// - public global::LabelStudio.EditionEnum? Type157 { get; set; } + public global::LabelStudio.DatasetStorageAvailableDataType? Type157 { get; set; } /// /// /// - public global::LabelStudio.EstimatedDurationUnitEnum? Type158 { get; set; } + public global::LabelStudio.DatasetStorageColumnType? Type158 { get; set; } /// /// /// - public global::LabelStudio.Export? Type159 { get; set; } + public global::LabelStudio.DatasetStorageColumnsResponse? Type159 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type160 { get; set; } + public global::System.Collections.Generic.IList? Type160 { get; set; } /// /// /// - public global::LabelStudio.ExportConvertRequest? Type161 { get; set; } + public global::System.Collections.Generic.IList? Type161 { get; set; } /// /// /// - public global::LabelStudio.FSMTransitionExecuteRequestRequest? Type162 { get; set; } + public global::LabelStudio.DatasetTasksMetadataResponse? Type162 { get; set; } /// /// /// - public global::LabelStudio.FSMTransitionExecuteResponse? Type163 { get; set; } + public global::LabelStudio.DatasetView? Type163 { get; set; } /// /// /// - public global::LabelStudio.StateModel? Type164 { get; set; } + public global::LabelStudio.FilterGroup? Type164 { get; set; } /// /// /// - public global::LabelStudio.FewShotExample? Type165 { get; set; } + public global::LabelStudio.DatasetViewLockedBy? Type165 { get; set; } /// /// /// - public global::LabelStudio.FewShotExampleRequest? Type166 { get; set; } + public global::LabelStudio.DatasetViewRequest? Type166 { get; set; } /// /// /// - public global::LabelStudio.FileUpload? Type167 { get; set; } + public global::LabelStudio.FilterGroupRequest? Type167 { get; set; } /// /// /// - public global::LabelStudio.Filter? Type168 { get; set; } + public global::LabelStudio.DefaultModelVersionNameResponse? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::LabelStudio.DefaultRole? Type169 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type170 { get; set; } + public global::LabelStudio.OrganizationRoleEnum? Type170 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type171 { get; set; } + public global::LabelStudio.Dimension? Type171 { get; set; } /// /// /// - public global::LabelStudio.FilterRequest? Type172 { get; set; } + public global::LabelStudio.DimensionCreateRequest? Type172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type173 { get; set; } + public global::LabelStudio.DimensionList? Type173 { get; set; } /// /// /// - public global::LabelStudio.GCPCustomFunctionUpdateRequest? Type174 { get; set; } + public global::LabelStudio.DimensionRequest? Type174 { get; set; } /// /// /// - public global::LabelStudio.GCSDatasetStorage? Type175 { get; set; } + public global::LabelStudio.DuplicateLearningResourceRequest? Type175 { get; set; } /// /// /// - public global::LabelStudio.GCSDatasetStorageRequest? Type176 { get; set; } + public global::LabelStudio.EditionEnum? Type176 { get; set; } /// /// /// - public global::LabelStudio.GCSExportStorage? Type177 { get; set; } + public global::LabelStudio.EstimatedDurationUnitEnum? Type177 { get; set; } /// /// /// - public global::LabelStudio.GCSImportStorage? Type178 { get; set; } + public global::LabelStudio.Export? Type178 { get; set; } /// /// /// - public global::LabelStudio.GCSSAExportStorage? Type179 { get; set; } + public global::System.Collections.Generic.IList? Type179 { get; set; } /// /// /// - public global::LabelStudio.GCSSAExportStorageRequest? Type180 { get; set; } + public global::LabelStudio.ExportConvertRequest? Type180 { get; set; } /// /// /// - public global::LabelStudio.GCSSAImportStorage? Type181 { get; set; } + public global::LabelStudio.FSMTransitionExecuteRequestRequest? Type181 { get; set; } /// /// /// - public global::LabelStudio.GCSSAImportStorageRequest? Type182 { get; set; } + public global::LabelStudio.FSMTransitionExecuteResponse? Type182 { get; set; } /// /// /// - public global::LabelStudio.GCSWIFExportStorage? Type183 { get; set; } + public global::LabelStudio.StateModel? Type183 { get; set; } /// /// /// - public global::LabelStudio.GCSWIFExportStorageRequest? Type184 { get; set; } + public global::LabelStudio.FewShotExample? Type184 { get; set; } /// /// /// - public global::LabelStudio.GCSWIFImportStorage? Type185 { get; set; } + public global::LabelStudio.FewShotExampleRequest? Type185 { get; set; } /// /// /// - public global::LabelStudio.GCSWIFImportStorageRequest? Type186 { get; set; } + public global::LabelStudio.FileUpload? Type186 { get; set; } /// /// /// - public global::LabelStudio.Hotkeys? Type187 { get; set; } + public global::LabelStudio.Filter? Type187 { get; set; } /// /// /// - public global::LabelStudio.ImportApiRequest? Type188 { get; set; } + public global::System.Collections.Generic.IList? Type188 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type189 { get; set; } + public global::System.Collections.Generic.IList? Type189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::LabelStudio.PredictionRequest? Type191 { get; set; } + public global::LabelStudio.FilterRequest? Type191 { get; set; } /// /// /// - public global::LabelStudio.InferenceRunCostEstimate? Type192 { get; set; } + public global::System.Collections.Generic.IList? Type192 { get; set; } /// /// /// - public global::LabelStudio.KPIDetailResponse? Type193 { get; set; } + public global::LabelStudio.GCPCustomFunctionUpdateRequest? Type193 { get; set; } /// /// /// - public global::LabelStudio.KPIProjectSegment? Type194 { get; set; } + public global::LabelStudio.GCSDatasetStorage? Type194 { get; set; } /// /// /// - public global::LabelStudio.KPIUserSegment? Type195 { get; set; } + public global::LabelStudio.GCSDatasetStorageRequest? Type195 { get; set; } /// /// /// - public global::LabelStudio.KPIMatrixSegment? Type196 { get; set; } + public global::LabelStudio.GCSExportStorage? Type196 { get; set; } /// /// /// - public global::LabelStudio.KPIProjectMatrixSegment? Type197 { get; set; } + public global::LabelStudio.GCSExportStorageValidateRequest? Type197 { get; set; } /// /// /// - public global::LabelStudio.SegmentationEnum? Type198 { get; set; } + public global::LabelStudio.GCSExportStorageWriteRequest? Type198 { get; set; } /// /// /// - public global::LabelStudio.KPITimeSegment? Type199 { get; set; } + public global::LabelStudio.GCSImportStorage? Type199 { get; set; } /// /// /// - public global::LabelStudio.KPIValue? Type200 { get; set; } + public global::LabelStudio.GCSImportStorageValidateRequest? Type200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type201 { get; set; } + public global::LabelStudio.GCSImportStorageWriteRequest? Type201 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type202 { get; set; } + public global::LabelStudio.GCSSAExportStorage? Type202 { get; set; } /// /// /// - public global::LabelStudio.KPIUserInfo? Type203 { get; set; } + public global::LabelStudio.GCSSAExportStorageRequest? Type203 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type204 { get; set; } + public global::LabelStudio.GCSSAImportStorage? Type204 { get; set; } /// /// /// - public global::LabelStudio.KPIMetadata? Type205 { get; set; } + public global::LabelStudio.GCSSAImportStorageRequest? Type205 { get; set; } /// /// /// - public global::LabelStudio.KPIProjectInfo? Type206 { get; set; } + public global::LabelStudio.GCSWIFExportStorage? Type206 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type207 { get; set; } + public global::LabelStudio.GCSWIFExportStorageRequest? Type207 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type208 { get; set; } + public global::LabelStudio.GCSWIFImportStorage? Type208 { get; set; } /// /// /// - public global::LabelStudio.OneOf? Type209 { get; set; } + public global::LabelStudio.GCSWIFImportStorageRequest? Type209 { get; set; } /// /// /// - public global::LabelStudio.LSAPITokenBlacklistRequest? Type210 { get; set; } + public global::LabelStudio.Hotkeys? Type210 { get; set; } /// /// /// - public global::LabelStudio.LSAPITokenRotateRequest? Type211 { get; set; } + public global::LabelStudio.ImportApiRequest? Type211 { get; set; } /// /// /// - public global::LabelStudio.LSEAPITokenCreate? Type212 { get; set; } + public global::System.Collections.Generic.IList? Type212 { get; set; } /// /// /// - public global::LabelStudio.LSEAPITokenList? Type213 { get; set; } + public global::System.Collections.Generic.IList? Type213 { get; set; } /// /// /// - public global::LabelStudio.LSEJWTSettings? Type214 { get; set; } + public global::LabelStudio.PredictionRequest? Type214 { get; set; } /// /// /// - public global::LabelStudio.LSEJWTSettingsRequest? Type215 { get; set; } + public global::LabelStudio.InferenceRunCostEstimate? Type215 { get; set; } /// /// /// - public global::LabelStudio.LSEKeyIndicatorValue? Type216 { get; set; } + public global::LabelStudio.KPIDetailResponse? Type216 { get; set; } /// /// /// - public global::LabelStudio.Label? Type217 { get; set; } + public global::LabelStudio.KPIProjectSegment? Type217 { get; set; } /// /// /// - public global::LabelStudio.LabelBulkUpdateRequest? Type218 { get; set; } + public global::LabelStudio.KPIUserSegment? Type218 { get; set; } /// /// /// - public global::LabelStudio.LabelBulkUpdateResponse? Type219 { get; set; } + public global::LabelStudio.KPIMatrixSegment? Type219 { get; set; } /// /// /// - public global::LabelStudio.LabelCreate? Type220 { get; set; } + public global::LabelStudio.KPIProjectMatrixSegment? Type220 { get; set; } /// /// /// - public global::LabelStudio.LabelCreateRequest? Type221 { get; set; } + public global::LabelStudio.SegmentationEnum? Type221 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionCountsResponse? Type222 { get; set; } + public global::LabelStudio.KPITimeSegment? Type222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type223 { get; set; } + public global::LabelStudio.KPIValue? Type223 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionCountsRow? Type224 { get; set; } + public global::System.Collections.Generic.IList? Type224 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionCountsTotals? Type225 { get; set; } + public global::System.Collections.Generic.IList? Type225 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type226 { get; set; } + public global::LabelStudio.KPIUserInfo? Type226 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionStructureDimension? Type227 { get; set; } + public global::System.Collections.Generic.IList>? Type227 { get; set; } /// /// /// - public global::LabelStudio.LabelDistributionStructureResponse? Type228 { get; set; } + public global::LabelStudio.KPIMetadata? Type228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type229 { get; set; } + public global::LabelStudio.KPIProjectInfo? Type229 { get; set; } /// /// /// - public global::LabelStudio.LabelLink? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::LabelStudio.LabelLinkRequest? Type231 { get; set; } + public global::System.Collections.Generic.IList>? Type231 { get; set; } /// /// /// - public global::LabelStudio.LearningProgressResponse? Type232 { get; set; } + public global::LabelStudio.OneOf? Type232 { get; set; } /// /// /// - public global::LabelStudio.LearningProgressUpdateRequest? Type233 { get; set; } + public global::LabelStudio.LSAPITokenBlacklistRequest? Type233 { get; set; } /// /// /// - public global::LabelStudio.LearningResource? Type234 { get; set; } + public global::LabelStudio.LSAPITokenRotateRequest? Type234 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceAssignmentSummary? Type235 { get; set; } + public global::LabelStudio.LSEAPITokenCreate? Type235 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceCreate? Type236 { get; set; } + public global::LabelStudio.LSEAPITokenList? Type236 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceCreateRequest? Type237 { get; set; } + public global::LabelStudio.LSEJWTSettings? Type237 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceDetail? Type238 { get; set; } + public global::LabelStudio.LSEJWTSettingsRequest? Type238 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceRequest? Type239 { get; set; } + public global::LabelStudio.LSEKeyIndicatorValue? Type239 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceUpdate? Type240 { get; set; } + public global::LabelStudio.Label? Type240 { get; set; } /// /// /// - public global::LabelStudio.LearningResourceUploadResponse? Type241 { get; set; } + public global::LabelStudio.LabelBulkUpdateRequest? Type241 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesExportStorage? Type242 { get; set; } + public global::LabelStudio.LabelBulkUpdateResponse? Type242 { get; set; } /// /// /// - public global::LabelStudio.LocalFilesImportStorage? Type243 { get; set; } + public global::LabelStudio.LabelCreate? Type243 { get; set; } /// /// /// - public global::LabelStudio.LseAnnotationFilterOptions? Type244 { get; set; } + public global::LabelStudio.LabelCreateRequest? Type244 { get; set; } /// /// /// - public global::LabelStudio.LseAnnotationFilterOptionsRequest? Type245 { get; set; } + public global::LabelStudio.LabelDistributionCountsResponse? Type245 { get; set; } /// /// /// - public global::LabelStudio.LseExportCreate? Type246 { get; set; } + public global::System.Collections.Generic.IList? Type246 { get; set; } /// /// /// - public global::LabelStudio.SerializationOptions? Type247 { get; set; } + public global::LabelStudio.LabelDistributionCountsRow? Type247 { get; set; } /// /// /// - public global::LabelStudio.LseTaskFilterOptions? Type248 { get; set; } + public global::LabelStudio.LabelDistributionCountsTotals? Type248 { get; set; } /// /// /// - public global::LabelStudio.LseExportCreateRequest? Type249 { get; set; } + public global::System.Collections.Generic.Dictionary? Type249 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type250 { get; set; } + public global::LabelStudio.LabelDistributionStructureDimension? Type250 { get; set; } /// /// /// - public global::LabelStudio.SerializationOptionsRequest? Type251 { get; set; } + public global::LabelStudio.LabelDistributionStructureResponse? Type251 { get; set; } /// /// /// - public global::LabelStudio.LseTaskFilterOptionsRequest? Type252 { get; set; } + public global::System.Collections.Generic.IList? Type252 { get; set; } /// /// /// - public global::LabelStudio.LseFields? Type253 { get; set; } + public global::LabelStudio.LabelLink? Type253 { get; set; } /// /// /// - public global::LabelStudio.OnboardingStateEnum? Type254 { get; set; } + public global::LabelStudio.LabelLinkRequest? Type254 { get; set; } /// /// /// - public global::LabelStudio.TrialRoleEnum? Type255 { get; set; } + public global::LabelStudio.LearningProgressResponse? Type255 { get; set; } /// /// /// - public global::LabelStudio.LseFieldsRequest? Type256 { get; set; } + public global::LabelStudio.LearningProgressUpdateRequest? Type256 { get; set; } /// /// /// - public global::LabelStudio.LseInterface? Type257 { get; set; } + public global::LabelStudio.LearningResource? Type257 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceAppendVersionRequest? Type258 { get; set; } + public global::LabelStudio.LearningResourceAssignmentSummary? Type258 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceAppendVersionsRequest? Type259 { get; set; } + public global::LabelStudio.LearningResourceCreate? Type259 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type260 { get; set; } + public global::LabelStudio.LearningResourceCreateRequest? Type260 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceList? Type261 { get; set; } + public global::LabelStudio.LearningResourceDetail? Type261 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceRequest? Type262 { get; set; } + public global::LabelStudio.LearningResourceRequest? Type262 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceVersionDescriptionRequest? Type263 { get; set; } + public global::LabelStudio.LearningResourceUpdate? Type263 { get; set; } /// /// /// - public global::LabelStudio.LseInterfaceVersionIdRequest? Type264 { get; set; } + public global::LabelStudio.LearningResourceUploadResponse? Type264 { get; set; } /// /// /// - public global::LabelStudio.LseOrganization? Type265 { get; set; } + public global::LabelStudio.LocalFilesExportStorage? Type265 { get; set; } /// /// /// - public global::LabelStudio.OrganizationBilling? Type266 { get; set; } + public global::LabelStudio.LocalFilesExportStorageValidateRequest? Type266 { get; set; } /// /// /// - public global::LabelStudio.LseOrganizationMemberList? Type267 { get; set; } + public global::LabelStudio.LocalFilesExportStorageWriteRequest? Type267 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type268 { get; set; } + public global::LabelStudio.LocalFilesImportStorage? Type268 { get; set; } /// /// /// - public global::LabelStudio.LseOrganizationMemberListContributedToProject? Type269 { get; set; } + public global::LabelStudio.LocalFilesImportStorageValidateRequest? Type269 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type270 { get; set; } + public global::LabelStudio.LocalFilesImportStorageWriteRequest? Type270 { get; set; } /// /// /// - public global::LabelStudio.LseOrganizationMemberListCreatedProject? Type271 { get; set; } + public global::LabelStudio.LseAnnotationFilterOptions? Type271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type272 { get; set; } + public global::LabelStudio.LseAnnotationFilterOptionsRequest? Type272 { get; set; } /// /// /// - public global::LabelStudio.SimpleOrganizationMemberTag? Type273 { get; set; } + public global::LabelStudio.LseExportCreate? Type273 { get; set; } /// /// /// - public global::LabelStudio.LseUserOrganizationMemberList? Type274 { get; set; } + public global::LabelStudio.SerializationOptions? Type274 { get; set; } /// /// /// - public global::LabelStudio.LseProject? Type275 { get; set; } + public global::LabelStudio.LseTaskFilterOptions? Type275 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCounts? Type276 { get; set; } + public global::LabelStudio.LseExportCreateRequest? Type276 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreate? Type277 { get; set; } + public global::System.Collections.Generic.IList? Type277 { get; set; } /// /// /// - public global::LabelStudio.LseProjectCreateRequest? Type278 { get; set; } + public global::LabelStudio.SerializationOptionsRequest? Type278 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type279 { get; set; } + public global::LabelStudio.LseTaskFilterOptionsRequest? Type279 { get; set; } /// /// /// - public global::LabelStudio.LseProjectParams? Type280 { get; set; } + public global::LabelStudio.LseFields? Type280 { get; set; } /// /// /// - public global::LabelStudio.LseProjectParamsRequest? Type281 { get; set; } + public global::LabelStudio.OnboardingStateEnum? Type281 { get; set; } /// /// /// - public global::LabelStudio.LseProjectResponse? Type282 { get; set; } + public global::LabelStudio.TrialRoleEnum? Type282 { get; set; } /// /// /// - public global::LabelStudio.LseProjectStateResponse? Type283 { get; set; } + public global::LabelStudio.LseFieldsRequest? Type283 { get; set; } /// /// /// - public global::LabelStudio.LseS3ExportStorage? Type284 { get; set; } + public global::LabelStudio.LseInterface? Type284 { get; set; } /// /// /// - public global::LabelStudio.LseS3ExportStorageRequest? Type285 { get; set; } + public global::LabelStudio.LseInterfaceAppendVersionRequest? Type285 { get; set; } /// /// /// - public global::LabelStudio.LseS3ImportStorage? Type286 { get; set; } + public global::LabelStudio.LseInterfaceAppendVersionsRequest? Type286 { get; set; } /// /// /// - public global::LabelStudio.LseS3ImportStorageRequest? Type287 { get; set; } + public global::System.Collections.Generic.IList? Type287 { get; set; } /// /// /// - public global::LabelStudio.LseTask? Type288 { get; set; } + public global::LabelStudio.LseInterfaceList? Type288 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type289 { get; set; } + public global::LabelStudio.LseInterfaceRequest? Type289 { get; set; } /// /// /// - public global::LabelStudio.LseTaskDraft? Type290 { get; set; } + public global::LabelStudio.LseInterfaceVersionDescriptionRequest? Type290 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type291 { get; set; } + public global::LabelStudio.LseInterfaceVersionIdRequest? Type291 { get; set; } /// /// /// - public global::LabelStudio.LseTaskPrediction? Type292 { get; set; } + public global::LabelStudio.LseOrganization? Type292 { get; set; } /// /// /// - public global::LabelStudio.LseTaskRequest? Type293 { get; set; } + public global::LabelStudio.OrganizationBilling? Type293 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForAnnotators? Type294 { get; set; } + public global::LabelStudio.LseOrganizationMemberList? Type294 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type295 { get; set; } + public global::System.Collections.Generic.IList? Type295 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForAnnotatorsDraft? Type296 { get; set; } + public global::LabelStudio.LseOrganizationMemberListContributedToProject? Type296 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type297 { get; set; } + public global::System.Collections.Generic.IList? Type297 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForAnnotatorsPrediction? Type298 { get; set; } + public global::LabelStudio.LseOrganizationMemberListCreatedProject? Type298 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForReviewers? Type299 { get; set; } + public global::System.Collections.Generic.IList? Type299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type300 { get; set; } + public global::LabelStudio.SimpleOrganizationMemberTag? Type300 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForReviewersDraft? Type301 { get; set; } + public global::LabelStudio.LseUserOrganizationMemberList? Type301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type302 { get; set; } + public global::LabelStudio.LseProject? Type302 { get; set; } /// /// /// - public global::LabelStudio.LseTaskSerializerForReviewersPrediction? Type303 { get; set; } + public global::LabelStudio.LseProjectCounts? Type303 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type304 { get; set; } + public global::LabelStudio.LseProjectCreate? Type304 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type305 { get; set; } + public global::LabelStudio.LseProjectCreateRequest? Type305 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMembership? Type306 { get; set; } + public global::System.Collections.Generic.Dictionary? Type306 { get; set; } /// /// /// - public global::LabelStudio.LseUserAPI? Type307 { get; set; } + public global::LabelStudio.LseProjectParams? Type307 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type308 { get; set; } + public global::LabelStudio.LseProjectParamsRequest? Type308 { get; set; } /// /// /// - public global::LabelStudio.LseUserOrganizationMemberListContributedToProject? Type309 { get; set; } + public global::LabelStudio.LseProjectResponse? Type309 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type310 { get; set; } + public global::LabelStudio.LseProjectStateResponse? Type310 { get; set; } /// /// /// - public global::LabelStudio.LseUserOrganizationMemberListCreatedProject? Type311 { get; set; } + public global::LabelStudio.LseS3ExportStorage? Type311 { get; set; } /// /// /// - public global::LabelStudio.MLBackend? Type312 { get; set; } + public global::LabelStudio.LseS3ExportStorageRequest? Type312 { get; set; } /// /// /// - public global::LabelStudio.StateEnum? Type313 { get; set; } + public global::LabelStudio.LseS3ImportStorage? Type313 { get; set; } /// /// /// - public global::LabelStudio.MLBackendRequest? Type314 { get; set; } + public global::LabelStudio.LseS3ImportStorageRequest? Type314 { get; set; } /// /// /// - public global::LabelStudio.MLInteractiveAnnotatingRequestRequest? Type315 { get; set; } + public global::LabelStudio.LseTask? Type315 { get; set; } /// /// /// - public global::LabelStudio.MappingStatusEnum? Type316 { get; set; } + public global::System.Collections.Generic.IList? Type316 { get; set; } /// /// /// - public global::LabelStudio.MaybeExpandedComment? Type317 { get; set; } + public global::LabelStudio.LseTaskDraft? Type317 { get; set; } /// /// /// - public global::LabelStudio.MetricParam? Type318 { get; set; } + public global::System.Collections.Generic.IList? Type318 { get; set; } /// /// /// - public global::LabelStudio.MetricParamUpdateRequest? Type319 { get; set; } + public global::LabelStudio.LseTaskPrediction? Type319 { get; set; } /// /// /// - public global::LabelStudio.ModelInterface? Type320 { get; set; } + public global::LabelStudio.LseTaskRequest? Type320 { get; set; } /// /// /// - public global::LabelStudio.SkillNameEnum? Type321 { get; set; } + public global::LabelStudio.LseTaskSerializerForAnnotators? Type321 { get; set; } /// /// /// - public global::LabelStudio.ModelInterfaceRequest? Type322 { get; set; } + public global::System.Collections.Generic.IList? Type322 { get; set; } /// /// /// - public global::LabelStudio.ModelInterfaceSerializerGET? Type323 { get; set; } + public global::LabelStudio.LseTaskSerializerForAnnotatorsDraft? Type323 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type324 { get; set; } + public global::System.Collections.Generic.IList? Type324 { get; set; } /// /// /// - public global::LabelStudio.ModelProviderConnection? Type325 { get; set; } + public global::LabelStudio.LseTaskSerializerForAnnotatorsPrediction? Type325 { get; set; } /// /// /// - public global::LabelStudio.ProviderEnum? Type326 { get; set; } + public global::LabelStudio.LseTaskSerializerForReviewers? Type326 { get; set; } /// /// /// - public global::LabelStudio.ScopeEnum? Type327 { get; set; } + public global::System.Collections.Generic.IList? Type327 { get; set; } /// /// /// - public global::LabelStudio.ModelProviderConnectionRequest? Type328 { get; set; } + public global::LabelStudio.LseTaskSerializerForReviewersDraft? Type328 { get; set; } /// /// /// - public global::LabelStudio.ModelRun? Type329 { get; set; } + public global::System.Collections.Generic.IList? Type329 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetEnum? Type330 { get; set; } + public global::LabelStudio.LseTaskSerializerForReviewersPrediction? Type330 { get; set; } /// /// /// - public global::LabelStudio.ModelRunStatusEnum? Type331 { get; set; } + public global::System.Collections.Generic.Dictionary? Type331 { get; set; } /// /// /// - public global::LabelStudio.ModelRunRequest? Type332 { get; set; } + public global::System.Collections.Generic.IList? Type332 { get; set; } /// /// /// - public global::LabelStudio.OperatorEnum? Type333 { get; set; } + public global::LabelStudio.OrganizationMembership? Type333 { get; set; } /// /// /// - public global::LabelStudio.OrganizationId? Type334 { get; set; } + public global::LabelStudio.LseUserAPI? Type334 { get; set; } /// /// /// - public global::LabelStudio.OrganizationInvite? Type335 { get; set; } + public global::System.Collections.Generic.IList? Type335 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMember? Type336 { get; set; } + public global::LabelStudio.LseUserOrganizationMemberListContributedToProject? Type336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type337 { get; set; } + public global::System.Collections.Generic.IList? Type337 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberContributedToProject? Type338 { get; set; } + public global::LabelStudio.LseUserOrganizationMemberListCreatedProject? Type338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type339 { get; set; } + public global::LabelStudio.LseUserRequest? Type339 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberCreatedProject? Type340 { get; set; } + public global::LabelStudio.MLBackend? Type340 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTag? Type341 { get; set; } + public global::LabelStudio.StateEnum? Type341 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagBulkCreateRequest? Type342 { get; set; } + public global::LabelStudio.MLBackendRequest? Type342 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportCreateRequest? Type343 { get; set; } + public global::LabelStudio.MLBackendRequestRequest? Type343 { get; set; } /// /// /// - public byte[]? Type344 { get; set; } + public global::LabelStudio.MLBackendTrainRequestRequest? Type344 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportStatus? Type345 { get; set; } + public global::LabelStudio.MLInteractiveAnnotatingRequestRequest? Type345 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagImportStatusStatusEnum? Type346 { get; set; } + public global::LabelStudio.MappingStatusEnum? Type346 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMemberTagRequest? Type347 { get; set; } + public global::LabelStudio.MaybeExpandedComment? Type347 { get; set; } /// /// /// - public global::LabelStudio.OrganizationMembershipRequest? Type348 { get; set; } + public global::LabelStudio.MetricParam? Type348 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermission? Type349 { get; set; } + public global::LabelStudio.MetricParamUpdateRequest? Type349 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type350 { get; set; } + public global::LabelStudio.ModelInterface? Type350 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermissionRoleEnum? Type351 { get; set; } + public global::LabelStudio.SkillNameEnum? Type351 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type352 { get; set; } + public global::LabelStudio.ModelInterfaceRequest? Type352 { get; set; } /// /// /// - public global::LabelStudio.OrganizationPermissionRequest? Type353 { get; set; } + public global::LabelStudio.ModelInterfaceSerializerGET? Type353 { get; set; } /// /// /// - public global::LabelStudio.OrganizationRoleAssignment? Type354 { get; set; } + public global::System.Collections.Generic.IList? Type354 { get; set; } /// /// /// - public global::LabelStudio.PaginatedAllRolesProjectListList? Type355 { get; set; } + public global::LabelStudio.ModelProviderConnection? Type355 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type356 { get; set; } + public global::LabelStudio.ProviderEnum? Type356 { get; set; } /// /// /// - public global::LabelStudio.PaginatedAnnotationHistoryList? Type357 { get; set; } + public global::LabelStudio.ScopeEnum? Type357 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type358 { get; set; } + public global::LabelStudio.ModelProviderConnectionRequest? Type358 { get; set; } /// /// /// - public global::LabelStudio.PaginatedCertificateList? Type359 { get; set; } + public global::LabelStudio.ModelRun? Type359 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type360 { get; set; } + public global::LabelStudio.ProjectSubsetEnum? Type360 { get; set; } /// /// /// - public global::LabelStudio.PaginatedCourseModuleList? Type361 { get; set; } + public global::LabelStudio.ModelRunStatusEnum? Type361 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelCreateList? Type362 { get; set; } + public global::LabelStudio.ModelRunRequestRequest? Type362 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type363 { get; set; } + public global::LabelStudio.OperatorEnum? Type363 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelLinkList? Type364 { get; set; } + public global::LabelStudio.OrganizationId? Type364 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type365 { get; set; } + public global::LabelStudio.OrganizationInvite? Type365 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLabelList? Type366 { get; set; } + public global::LabelStudio.OrganizationMember? Type366 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type367 { get; set; } + public global::System.Collections.Generic.IList? Type367 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLearningResourceList? Type368 { get; set; } + public global::LabelStudio.OrganizationMemberContributedToProject? Type368 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type369 { get; set; } + public global::System.Collections.Generic.IList? Type369 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseInterfaceListList? Type370 { get; set; } + public global::LabelStudio.OrganizationMemberCreatedProject? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::LabelStudio.OrganizationMemberTag? Type371 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseOrganizationMemberListList? Type372 { get; set; } + public global::LabelStudio.OrganizationMemberTagBulkCreateRequest? Type372 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type373 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportCreateRequest? Type373 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseProjectCountsList? Type374 { get; set; } + public byte[]? Type374 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type375 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportStatus? Type375 { get; set; } /// /// /// - public global::LabelStudio.PaginatedLseUserList? Type376 { get; set; } + public global::LabelStudio.OrganizationMemberTagImportStatusStatusEnum? Type376 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type377 { get; set; } + public global::LabelStudio.OrganizationMemberTagRequest? Type377 { get; set; } /// /// /// - public global::LabelStudio.PaginatedModelInterfaceSerializerGETList? Type378 { get; set; } + public global::LabelStudio.OrganizationMembershipRequest? Type378 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type379 { get; set; } + public global::LabelStudio.OrganizationPermission? Type379 { get; set; } /// /// /// - public global::LabelStudio.PaginatedOrganizationMemberTagList? Type380 { get; set; } + public global::System.Collections.Generic.IList? Type380 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type381 { get; set; } + public global::LabelStudio.OrganizationPermissionRoleEnum? Type381 { get; set; } /// /// /// - public global::LabelStudio.PaginatedPaginatedProjectMemberList? Type382 { get; set; } + public global::System.Collections.Generic.IList? Type382 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type383 { get; set; } + public global::LabelStudio.OrganizationPermissionRequest? Type383 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectMember? Type384 { get; set; } + public global::LabelStudio.OrganizationRoleAssignment? Type384 { get; set; } /// /// /// - public global::LabelStudio.PaginatedProjectSubsetTasksResponseList? Type385 { get; set; } + public global::LabelStudio.PaginatedAllRolesProjectListList? Type385 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type386 { get; set; } + public global::System.Collections.Generic.IList? Type386 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetTasksResponse? Type387 { get; set; } + public global::LabelStudio.PaginatedAnnotationHistoryList? Type387 { get; set; } /// /// /// - public global::LabelStudio.PaginatedRoleBasedTaskList? Type388 { get; set; } + public global::System.Collections.Generic.IList? Type388 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type389 { get; set; } + public global::LabelStudio.PaginatedCertificateList? Type389 { get; set; } /// /// /// - public global::LabelStudio.RoleBasedTask? Type390 { get; set; } + public global::System.Collections.Generic.IList? Type390 { get; set; } /// /// /// - public global::LabelStudio.PaginatedSeatReportList? Type391 { get; set; } + public global::LabelStudio.PaginatedCourseModuleList? Type391 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type392 { get; set; } + public global::LabelStudio.PaginatedLabelCreateList? Type392 { get; set; } /// /// /// - public global::LabelStudio.SeatReport? Type393 { get; set; } + public global::System.Collections.Generic.IList? Type393 { get; set; } /// /// /// - public global::LabelStudio.PaginatedStateModelList? Type394 { get; set; } + public global::LabelStudio.PaginatedLabelLinkList? Type394 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type395 { get; set; } + public global::System.Collections.Generic.IList? Type395 { get; set; } /// /// /// - public global::LabelStudio.PaginatedUserLearningProgressListList? Type396 { get; set; } + public global::LabelStudio.PaginatedLabelList? Type396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type397 { get; set; } + public global::System.Collections.Generic.IList? Type397 { get; set; } /// /// /// - public global::LabelStudio.UserLearningProgressList? Type398 { get; set; } + public global::LabelStudio.PaginatedLearningResourceList? Type398 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnalyticsViewRequest? Type399 { get; set; } + public global::System.Collections.Generic.IList? Type399 { get; set; } /// /// /// - public global::LabelStudio.PatchedAnnotationReviewRequest? Type400 { get; set; } + public global::LabelStudio.PaginatedLseInterfaceListList? Type400 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureDatasetStorageRequest? Type401 { get; set; } + public global::System.Collections.Generic.IList? Type401 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest? Type402 { get; set; } + public global::LabelStudio.PaginatedLseOrganizationMemberListList? Type402 { get; set; } /// /// /// - public global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest? Type403 { get; set; } + public global::System.Collections.Generic.IList? Type403 { get; set; } /// /// /// - public global::LabelStudio.PatchedBlueprintUpdateRequest? Type404 { get; set; } + public global::LabelStudio.PaginatedLseProjectCountsList? Type404 { get; set; } /// /// /// - public global::LabelStudio.PatchedCommentRequest? Type405 { get; set; } + public global::System.Collections.Generic.IList? Type405 { get; set; } /// /// /// - public global::LabelStudio.PatchedCoursePageUpdateRequest? Type406 { get; set; } + public global::LabelStudio.PaginatedLseUserList? Type406 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatabricksExportStorageRequest? Type407 { get; set; } + public global::System.Collections.Generic.IList? Type407 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatabricksImportStorageRequest? Type408 { get; set; } + public global::LabelStudio.PaginatedModelInterfaceSerializerGETList? Type408 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatasetRequest? Type409 { get; set; } + public global::System.Collections.Generic.IList? Type409 { get; set; } /// /// /// - public global::LabelStudio.PatchedDatasetViewRequest? Type410 { get; set; } + public global::LabelStudio.PaginatedOrganizationMemberTagList? Type410 { get; set; } /// /// /// - public global::LabelStudio.PatchedDefaultRoleRequest? Type411 { get; set; } + public global::System.Collections.Generic.IList? Type411 { get; set; } /// /// /// - public global::LabelStudio.PatchedDimensionRequest? Type412 { get; set; } + public global::LabelStudio.PaginatedPaginatedProjectMemberList? Type412 { get; set; } /// /// /// - public global::LabelStudio.PatchedFewShotExampleRequest? Type413 { get; set; } + public global::System.Collections.Generic.IList? Type413 { get; set; } /// /// /// - public global::LabelStudio.PatchedFileUploadRequest? Type414 { get; set; } + public global::LabelStudio.PaginatedProjectMember? Type414 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSDatasetStorageRequest? Type415 { get; set; } + public global::LabelStudio.PaginatedProjectSubsetTasksResponseList? Type415 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSSAExportStorageRequest? Type416 { get; set; } + public global::System.Collections.Generic.IList? Type416 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSSAImportStorageRequest? Type417 { get; set; } + public global::LabelStudio.ProjectSubsetTasksResponse? Type417 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSWIFExportStorageRequest? Type418 { get; set; } + public global::LabelStudio.PaginatedRoleBasedTaskList? Type418 { get; set; } /// /// /// - public global::LabelStudio.PatchedGCSWIFImportStorageRequest? Type419 { get; set; } + public global::System.Collections.Generic.IList? Type419 { get; set; } /// /// /// - public global::LabelStudio.PatchedHotkeysRequest? Type420 { get; set; } + public global::LabelStudio.RoleBasedTask? Type420 { get; set; } /// /// /// - public global::LabelStudio.PatchedLabelLinkRequest? Type421 { get; set; } + public global::LabelStudio.PaginatedSeatReportList? Type421 { get; set; } /// /// /// - public global::LabelStudio.PatchedLabelRequest? Type422 { get; set; } + public global::System.Collections.Generic.IList? Type422 { get; set; } /// /// /// - public global::LabelStudio.PatchedLearningResourceRequest? Type423 { get; set; } + public global::LabelStudio.SeatReport? Type423 { get; set; } /// /// /// - public global::LabelStudio.PatchedLearningResourceUpdateRequest? Type424 { get; set; } + public global::LabelStudio.PaginatedStateModelList? Type424 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseInterfaceRequest? Type425 { get; set; } + public global::System.Collections.Generic.IList? Type425 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest? Type426 { get; set; } + public global::LabelStudio.PaginatedUserLearningProgressListList? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type427 { get; set; } + public global::System.Collections.Generic.IList? Type427 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseProjectUpdateRequest? Type428 { get; set; } + public global::LabelStudio.UserLearningProgressList? Type428 { get; set; } /// /// /// - public global::LabelStudio.ReviewSettingsRequest? Type429 { get; set; } + public global::LabelStudio.PatchedAnalyticsViewRequest? Type429 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseS3ExportStorageRequest? Type430 { get; set; } + public global::LabelStudio.PatchedAnnotationRequest? Type430 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseS3ImportStorageRequest? Type431 { get; set; } + public global::LabelStudio.PatchedAnnotationReviewRequest? Type431 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseTaskRequest? Type432 { get; set; } + public global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? Type432 { get; set; } /// /// /// - public global::LabelStudio.PatchedLseUserSerializerUpdateRequest? Type433 { get; set; } + public global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? Type433 { get; set; } /// /// /// - public global::LabelStudio.PatchedModelInterfaceRequest? Type434 { get; set; } + public global::LabelStudio.PatchedAzureDatasetStorageRequest? Type434 { get; set; } /// /// /// - public global::LabelStudio.PatchedModelProviderConnectionRequest? Type435 { get; set; } + public global::LabelStudio.PatchedAzureServicePrincipalExportStorageRequest? Type435 { get; set; } /// /// /// - public global::LabelStudio.PatchedOrganizationMemberCreateUpdateRequest? Type436 { get; set; } + public global::LabelStudio.PatchedAzureServicePrincipalImportStorageRequest? Type436 { get; set; } /// /// /// - public global::LabelStudio.StandardUserTypeEnum? Type437 { get; set; } + public global::LabelStudio.PatchedBlueprintUpdateRequest? Type437 { get; set; } /// /// /// - public global::LabelStudio.PatchedOrganizationMemberTagRequest? Type438 { get; set; } + public global::LabelStudio.PatchedCommentRequest? Type438 { get; set; } /// /// /// - public global::LabelStudio.PatchedOrganizationPermissionRequest? Type439 { get; set; } + public global::LabelStudio.PatchedCoursePageUpdateRequest? Type439 { get; set; } /// /// /// - public global::LabelStudio.PatchedPauseRequest? Type440 { get; set; } + public global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? Type440 { get; set; } /// /// /// - public global::LabelStudio.ReasonEnum? Type441 { get; set; } + public global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? Type441 { get; set; } /// /// /// - public global::LabelStudio.PatchedProjectLearningAssignmentRequest? Type442 { get; set; } + public global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest? Type442 { get; set; } /// /// /// - public global::LabelStudio.PatchedProjectTemplateRequest? Type443 { get; set; } + public global::LabelStudio.PatchedDatasetRequest? Type443 { get; set; } /// /// /// - public global::LabelStudio.PatchedS3DatasetStorageRequest? Type444 { get; set; } + public global::LabelStudio.PatchedDatasetViewRequest? Type444 { get; set; } /// /// /// - public global::LabelStudio.PatchedSessionTimeoutPolicyRequest? Type445 { get; set; } + public global::LabelStudio.PatchedDefaultRoleRequest? Type445 { get; set; } /// /// /// - public global::LabelStudio.PatchedThirdPartyModelVersionRequest? Type446 { get; set; } + public global::LabelStudio.PatchedDimensionRequest? Type446 { get; set; } /// /// /// - public global::LabelStudio.PatchedWebhookSerializerForUpdateRequest? Type447 { get; set; } + public global::LabelStudio.PatchedFewShotExampleRequest? Type447 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type448 { get; set; } + public global::LabelStudio.PatchedFileUploadRequest? Type448 { get; set; } /// /// /// - public global::LabelStudio.PatchedWorkspaceRequest? Type449 { get; set; } + public global::LabelStudio.PatchedGCSDatasetStorageRequest? Type449 { get; set; } /// /// /// - public global::LabelStudio.Pause? Type450 { get; set; } + public global::LabelStudio.PatchedGCSExportStorageWriteRequest? Type450 { get; set; } /// /// /// - public global::LabelStudio.PauseRequest? Type451 { get; set; } + public global::LabelStudio.PatchedGCSImportStorageWriteRequest? Type451 { get; set; } /// /// /// - public global::LabelStudio.Prediction? Type452 { get; set; } + public global::LabelStudio.PatchedGCSSAExportStorageRequest? Type452 { get; set; } /// /// /// - public global::LabelStudio.PredictionCountResponse? Type453 { get; set; } + public global::LabelStudio.PatchedGCSSAImportStorageRequest? Type453 { get; set; } /// /// /// - public global::LabelStudio.Project? Type454 { get; set; } + public global::LabelStudio.PatchedGCSWIFExportStorageRequest? Type454 { get; set; } /// /// /// - public global::LabelStudio.ProjectAnnotationsBrowseItem? Type455 { get; set; } + public global::LabelStudio.PatchedGCSWIFImportStorageRequest? Type455 { get; set; } /// /// /// - public global::LabelStudio.ProjectAnnotationsBrowseResponse? Type456 { get; set; } + public global::LabelStudio.PatchedHotkeysRequest? Type456 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type457 { get; set; } + public global::LabelStudio.PatchedLabelLinkRequest? Type457 { get; set; } /// /// /// - public global::LabelStudio.ProjectDuplicateModeEnum? Type458 { get; set; } + public global::LabelStudio.PatchedLabelRequest? Type458 { get; set; } /// /// /// - public global::LabelStudio.ProjectDuplicateRequest? Type459 { get; set; } + public global::LabelStudio.PatchedLearningResourceRequest? Type459 { get; set; } /// /// /// - public global::LabelStudio.ProjectGroup? Type460 { get; set; } + public global::LabelStudio.PatchedLearningResourceUpdateRequest? Type460 { get; set; } /// /// /// - public global::LabelStudio.ProjectGroupRoleEnum? Type461 { get; set; } + public global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? Type461 { get; set; } /// /// /// - public global::LabelStudio.ProjectGroupRequest? Type462 { get; set; } + public global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? Type462 { get; set; } /// /// /// - public global::LabelStudio.ProjectImport? Type463 { get; set; } + public global::LabelStudio.PatchedLseInterfaceRequest? Type463 { get; set; } /// /// /// - public global::LabelStudio.ProjectLabelConfig? Type464 { get; set; } + public global::LabelStudio.PatchedLseOrganizationSerializerUpdateRequest? Type464 { get; set; } /// /// /// - public global::LabelStudio.ProjectLabelConfigRequest? Type465 { get; set; } + public global::System.Collections.Generic.IList>? Type465 { get; set; } /// /// /// - public global::LabelStudio.ProjectLearningAssignment? Type466 { get; set; } + public global::LabelStudio.PatchedLseProjectUpdateRequest? Type466 { get; set; } /// /// /// - public global::LabelStudio.ProjectLearningAssignmentCreateRequest? Type467 { get; set; } + public global::LabelStudio.ReviewSettingsRequest? Type467 { get; set; } /// /// /// - public global::LabelStudio.ProjectMember? Type468 { get; set; } + public global::LabelStudio.PatchedLseS3ExportStorageRequest? Type468 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberBulkAssignRequest? Type469 { get; set; } + public global::LabelStudio.PatchedLseS3ImportStorageRequest? Type469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type470 { get; set; } + public global::LabelStudio.PatchedLseTaskRequest? Type470 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberBulkAssignRolesRequest? Type471 { get; set; } + public global::LabelStudio.PatchedLseUserSerializerUpdateRequest? Type471 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberBulkAssignResponse? Type472 { get; set; } + public global::LabelStudio.PatchedMLBackendRequestRequest? Type472 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberIdentityVerificationError? Type473 { get; set; } + public global::LabelStudio.PatchedModelInterfaceRequest? Type473 { get; set; } /// /// /// - public global::LabelStudio.ProjectMemberRequest? Type474 { get; set; } + public global::LabelStudio.PatchedModelProviderConnectionRequest? Type474 { get; set; } /// /// /// - public global::LabelStudio.ProjectReimport? Type475 { get; set; } + public global::LabelStudio.PatchedOrganizationMemberCreateUpdateRequest? Type475 { get; set; } /// /// /// - public global::LabelStudio.ProjectRole? Type476 { get; set; } + public global::LabelStudio.StandardUserTypeEnum? Type476 { get; set; } /// /// /// - public global::LabelStudio.ProjectRoleAssignment? Type477 { get; set; } + public global::LabelStudio.PatchedOrganizationMemberTagRequest? Type477 { get; set; } /// /// /// - public global::LabelStudio.ProjectRoleRequest? Type478 { get; set; } + public global::LabelStudio.PatchedOrganizationPermissionRequest? Type478 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetItem? Type479 { get; set; } + public global::LabelStudio.PatchedPauseRequest? Type479 { get; set; } /// /// /// - public global::LabelStudio.ProjectSubsetTaskItem? Type480 { get; set; } + public global::LabelStudio.ReasonEnum? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::LabelStudio.PatchedPredictionRequest? Type481 { get; set; } /// /// /// - public global::LabelStudio.ProjectTemplate? Type482 { get; set; } + public global::LabelStudio.PatchedProjectLearningAssignmentRequest? Type482 { get; set; } /// /// /// - public global::LabelStudio.ProjectTemplateRequest? Type483 { get; set; } + public global::LabelStudio.PatchedProjectTemplateRequest? Type483 { get; set; } /// /// /// - public global::LabelStudio.PromptPreviewResponse? Type484 { get; set; } + public global::LabelStudio.PatchedRedisExportStorageWriteRequest? Type484 { get; set; } /// /// /// - public global::LabelStudio.PublishLearningResourceRequest? Type485 { get; set; } + public global::LabelStudio.PatchedRedisImportStorageWriteRequest? Type485 { get; set; } /// /// /// - public global::LabelStudio.RetakeScopeEnum? Type486 { get; set; } + public global::LabelStudio.PatchedS3DatasetStorageRequest? Type486 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluate? Type487 { get; set; } + public global::LabelStudio.PatchedS3ExportStorageWriteRequest? Type487 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluateModeEnum? Type488 { get; set; } + public global::LabelStudio.PatchedS3ImportStorageWriteRequest? Type488 { get; set; } /// /// /// - public global::LabelStudio.ReEvaluateRequest? Type489 { get; set; } + public global::LabelStudio.PatchedSessionTimeoutPolicyRequest? Type489 { get; set; } /// /// /// - public global::LabelStudio.RedisExportStorage? Type490 { get; set; } + public global::LabelStudio.PatchedTaskAssigneesMutationRequest? Type490 { get; set; } /// /// /// - public global::LabelStudio.RedisImportStorage? Type491 { get; set; } + public global::LabelStudio.PatchedThirdPartyModelVersionRequest? Type491 { get; set; } /// /// /// - public global::LabelStudio.RefinePromptRequestRequest? Type492 { get; set; } + public global::LabelStudio.PatchedViewRequestRequest? Type492 { get; set; } /// /// /// - public global::LabelStudio.RefinedPromptResponse? Type493 { get; set; } + public global::LabelStudio.ViewDataRequestRequest? Type493 { get; set; } /// /// /// - public global::LabelStudio.ThirdPartyModelVersion? Type494 { get; set; } + public global::LabelStudio.PatchedWebhookSerializerForUpdateRequest? Type494 { get; set; } /// /// /// - public global::LabelStudio.RegressionSummary? Type495 { get; set; } + public global::System.Collections.Generic.IList? Type495 { get; set; } /// /// /// - public global::LabelStudio.RegressionsResponse? Type496 { get; set; } + public global::LabelStudio.PatchedWorkspaceRequest? Type496 { get; set; } /// /// /// - public global::LabelStudio.RequeueRejectedTasksModeEnum? Type497 { get; set; } + public global::LabelStudio.Pause? Type497 { get; set; } /// /// /// - public global::LabelStudio.ReviewCriteriaEnum? Type498 { get; set; } + public global::LabelStudio.PauseRequest? Type498 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRule? Type499 { get; set; } + public global::LabelStudio.Prediction? Type499 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRuleRequestRequest? Type500 { get; set; } + public global::LabelStudio.PredictionCountResponse? Type500 { get; set; } /// /// /// - public global::LabelStudio.ReviewRoutingRulesReplaceRequest? Type501 { get; set; } + public global::System.Collections.Generic.IList? Type501 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type502 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItem? Type502 { get; set; } /// /// /// - public global::LabelStudio.ReviewSettingsSamplingEnum? Type503 { get; set; } + public global::System.Collections.Generic.IList? Type503 { get; set; } /// /// /// - public global::LabelStudio.RevokeCertificateRequest? Type504 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter? Type504 { get; set; } /// /// /// - public global::LabelStudio.RevokeInviteRequest? Type505 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter? Type505 { get; set; } /// /// /// - public global::LabelStudio.S3DatasetStorage? Type506 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator? Type506 { get; set; } /// /// /// - public global::LabelStudio.S3DatasetStorageRequest? Type507 { get; set; } + public global::LabelStudio.OneOf? Type507 { get; set; } /// /// /// - public global::LabelStudio.S3ExportStorage? Type508 { get; set; } + public float? Type508 { get; set; } /// /// /// - public global::LabelStudio.S3ImportStorage? Type509 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemFilter? Type509 { get; set; } /// /// /// - public global::LabelStudio.SamlSettings? Type510 { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequestItemOperator? Type510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type511 { get; set; } + public global::System.Collections.Generic.IList? Type511 { get; set; } /// /// /// - public global::System.Collections.Generic.IList>? Type512 { get; set; } + public global::LabelStudio.PrepareParamsOrderingRequestItem? Type512 { get; set; } /// /// /// - public global::LabelStudio.SamlSettingsUpdate? Type513 { get; set; } + public global::LabelStudio.PrepareParamsRequestRequest? Type513 { get; set; } /// /// /// - public global::LabelStudio.SamlSettingsUpdateRequest? Type514 { get; set; } + public global::LabelStudio.OneOf? Type514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type515 { get; set; } + public global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse? Type515 { get; set; } /// /// /// - public global::LabelStudio.ScimSettings? Type516 { get; set; } + public global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue? Type516 { get; set; } /// /// /// - public global::LabelStudio.ScimSettingsUpdate? Type517 { get; set; } + public global::LabelStudio.Project? Type517 { get; set; } /// /// /// - public global::LabelStudio.ScimSettingsUpdateRequest? Type518 { get; set; } + public global::LabelStudio.ProjectAnnotationsBrowseItem? Type518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type519 { get; set; } + public global::LabelStudio.ProjectAnnotationsBrowseResponse? Type519 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type520 { get; set; } + public global::System.Collections.Generic.IList? Type520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type521 { get; set; } + public global::LabelStudio.ProjectDuplicateModeEnum? Type521 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceAccessAssignment? Type522 { get; set; } + public global::LabelStudio.ProjectDuplicateRequest? Type522 { get; set; } /// /// /// - public global::LabelStudio.SendInviteRequest? Type523 { get; set; } + public global::LabelStudio.ProjectGroup? Type523 { get; set; } /// /// /// - public global::LabelStudio.SerializationOption? Type524 { get; set; } + public global::LabelStudio.ProjectGroupRoleEnum? Type524 { get; set; } /// /// /// - public global::LabelStudio.SerializationOptionRequest? Type525 { get; set; } + public global::LabelStudio.ProjectGroupRequest? Type525 { get; set; } /// /// /// - public global::LabelStudio.SessionTimeoutPolicy? Type526 { get; set; } + public global::LabelStudio.ProjectImport? Type526 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillCancelResponse? Type527 { get; set; } + public global::LabelStudio.ProjectLabelConfig? Type527 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillErrorResponse? Type528 { get; set; } + public global::LabelStudio.ProjectLabelConfigRequest? Type528 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobItem? Type529 { get; set; } + public global::LabelStudio.ProjectLearningAssignment? Type529 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobItemResponse? Type530 { get; set; } + public global::LabelStudio.ProjectLearningAssignmentCreateRequest? Type530 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillProgress? Type531 { get; set; } + public global::LabelStudio.ProjectMember? Type531 { get; set; } /// /// /// - public global::LabelStudio.StateTriggeredBy? Type532 { get; set; } + public global::LabelStudio.ProjectMemberBulkAssignRequest? Type532 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillJobListResponse? Type533 { get; set; } + public global::System.Collections.Generic.IList? Type533 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type534 { get; set; } + public global::LabelStudio.ProjectMemberBulkAssignRolesRequest? Type534 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillOrgStatus? Type535 { get; set; } + public global::LabelStudio.ProjectMemberBulkAssignResponse? Type535 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillResponse? Type536 { get; set; } + public global::LabelStudio.ProjectMemberIdentityVerificationError? Type536 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type537 { get; set; } + public global::LabelStudio.ProjectMemberRequest? Type537 { get; set; } /// /// /// - public global::LabelStudio.StateBackfillStatusResponse? Type538 { get; set; } + public global::LabelStudio.ProjectReimport? Type538 { get; set; } /// /// /// - public global::LabelStudio.TriggeredBy2? Type539 { get; set; } + public global::LabelStudio.ProjectRole? Type539 { get; set; } /// /// /// - public global::LabelStudio.TaskAgreementMatrixResponse? Type540 { get; set; } + public global::LabelStudio.ProjectRoleAssignment? Type540 { get; set; } /// /// /// - public global::LabelStudio.TaskAssignment? Type541 { get; set; } + public global::LabelStudio.ProjectRoleRequest? Type541 { get; set; } /// /// /// - public global::LabelStudio.TypeEnum? Type542 { get; set; } + public global::LabelStudio.ProjectSubsetItem? Type542 { get; set; } /// /// /// - public global::LabelStudio.TaskEvent? Type543 { get; set; } + public global::LabelStudio.ProjectSubsetTaskItem? Type543 { get; set; } /// /// /// - public global::LabelStudio.TaskEventRequest? Type544 { get; set; } + public global::System.Collections.Generic.IList? Type544 { get; set; } /// /// /// - public global::LabelStudio.TaskSimple? Type545 { get; set; } + public global::LabelStudio.ProjectTemplate? Type545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type546 { get; set; } + public global::LabelStudio.ProjectTemplateRequest? Type546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type547 { get; set; } + public global::LabelStudio.PromptPreviewResponse? Type547 { get; set; } /// /// /// - public global::LabelStudio.ThirdPartyModelVersionRequest? Type548 { get; set; } + public global::LabelStudio.PublishLearningResourceRequest? Type548 { get; set; } /// /// /// - public global::LabelStudio.TokenDetailError? Type549 { get; set; } + public global::LabelStudio.RetakeScopeEnum? Type549 { get; set; } /// /// /// - public global::LabelStudio.TokenRefreshRequest? Type550 { get; set; } + public global::LabelStudio.ReEvaluate? Type550 { get; set; } /// /// /// - public global::LabelStudio.TokenRefreshResponse? Type551 { get; set; } + public global::LabelStudio.ReEvaluateModeEnum? Type551 { get; set; } /// /// /// - public global::LabelStudio.TokenRotateResponse? Type552 { get; set; } + public global::LabelStudio.ReEvaluateRequest? Type552 { get; set; } /// /// /// - public global::LabelStudio.TryTaskRequestRequest? Type553 { get; set; } + public global::LabelStudio.RedisExportStorage? Type553 { get; set; } /// /// /// - public global::LabelStudio.TryTaskResponse? Type554 { get; set; } + public global::LabelStudio.RedisExportStorageValidateRequest? Type554 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlDomainRequestRequest? Type555 { get; set; } + public global::LabelStudio.RedisExportStorageWriteRequest? Type555 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlDomainResponse? Type556 { get; set; } + public global::LabelStudio.RedisImportStorage? Type556 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlMetadataUrlRequestRequest? Type557 { get; set; } + public global::LabelStudio.RedisImportStorageValidateRequest? Type557 { get; set; } /// /// /// - public global::LabelStudio.ValidateSamlMetadataUrlResponse? Type558 { get; set; } + public global::LabelStudio.RedisImportStorageWriteRequest? Type558 { get; set; } /// /// /// - public global::LabelStudio.ValueCountsBackfillJob? Type559 { get; set; } + public global::LabelStudio.RefinePromptRequestRequest? Type559 { get; set; } /// /// /// - public global::LabelStudio.VersionResponse? Type560 { get; set; } + public global::LabelStudio.RefinedPromptResponse? Type560 { get; set; } /// /// /// - public global::LabelStudio.View? Type561 { get; set; } + public global::LabelStudio.ThirdPartyModelVersion? Type561 { get; set; } /// /// /// - public global::LabelStudio.ViewLockedBy? Type562 { get; set; } + public global::LabelStudio.RegressionSummary? Type562 { get; set; } /// /// /// - public global::LabelStudio.ViewOrderRequest? Type563 { get; set; } + public global::LabelStudio.RegressionsResponse? Type563 { get; set; } /// /// /// - public global::LabelStudio.Webhook? Type564 { get; set; } + public global::LabelStudio.RequeueRejectedTasksModeEnum? Type564 { get; set; } /// /// /// - public global::LabelStudio.WebhookRequest? Type565 { get; set; } + public global::LabelStudio.ReviewCriteriaEnum? Type565 { get; set; } /// /// /// - public global::LabelStudio.WebhookSerializerForUpdate? Type566 { get; set; } + public global::LabelStudio.ReviewRoutingRule? Type566 { get; set; } /// /// /// - public global::LabelStudio.WebhookSerializerForUpdateRequest? Type567 { get; set; } + public global::LabelStudio.ReviewRoutingRuleRequestRequest? Type567 { get; set; } /// /// /// - public global::LabelStudio.WhoAmILseFields? Type568 { get; set; } + public global::LabelStudio.ReviewRoutingRulesReplaceRequest? Type568 { get; set; } /// /// /// - public global::LabelStudio.WhoAmIUser? Type569 { get; set; } + public global::System.Collections.Generic.IList? Type569 { get; set; } /// /// /// - public global::LabelStudio.Workspace? Type570 { get; set; } + public global::LabelStudio.ReviewSettingsSamplingEnum? Type570 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberBulkAssignRequest? Type571 { get; set; } + public global::LabelStudio.RevokeCertificateRequest? Type571 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberCreate? Type572 { get; set; } + public global::LabelStudio.RevokeInviteRequest? Type572 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberCreateRequest? Type573 { get; set; } + public global::LabelStudio.S3DatasetStorage? Type573 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceMemberList? Type574 { get; set; } + public global::LabelStudio.S3DatasetStorageRequest? Type574 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceProjectsRequest? Type575 { get; set; } + public global::LabelStudio.S3ExportStorage? Type575 { get; set; } /// /// /// - public global::LabelStudio.WorkspaceRequest? Type576 { get; set; } + public global::LabelStudio.S3ExportStorageValidateRequest? Type576 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationsPartialUpdateRequest? Type577 { get; set; } + public global::LabelStudio.S3ExportStorageWriteRequest? Type577 { get; set; } /// /// /// - public global::LabelStudio.ApiDatasetsImportPartialUpdateRequest? Type578 { get; set; } + public global::LabelStudio.S3ImportStorage? Type578 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequest? Type579 { get; set; } + public global::LabelStudio.S3ImportStorageValidateRequest? Type579 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFilters? Type580 { get; set; } + public global::LabelStudio.S3ImportStorageWriteRequest? Type580 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction? Type581 { get; set; } + public global::LabelStudio.SamlSettings? Type581 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type582 { get; set; } + public global::System.Collections.Generic.IList? Type582 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFiltersItem? Type583 { get; set; } + public global::System.Collections.Generic.IList>? Type583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type584 { get; set; } + public global::LabelStudio.SamlSettingsUpdate? Type584 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilter? Type585 { get; set; } + public global::LabelStudio.SamlSettingsUpdateRequest? Type585 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter? Type586 { get; set; } + public global::System.Collections.Generic.IList? Type586 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator? Type587 { get; set; } + public global::LabelStudio.ScimSettings? Type587 { get; set; } /// /// /// - public global::LabelStudio.OneOf? Type588 { get; set; } + public global::LabelStudio.ScimSettingsUpdate? Type588 { get; set; } /// /// /// - public float? Type589 { get; set; } + public global::LabelStudio.ScimSettingsUpdateRequest? Type589 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator? Type591 { get; set; } + public global::System.Collections.Generic.IList? Type591 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type592 { get; set; } + public global::System.Collections.Generic.IList? Type592 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestOrderingItem? Type593 { get; set; } + public global::LabelStudio.WorkspaceAccessAssignment? Type593 { get; set; } /// /// /// - public global::LabelStudio.OneOf? Type594 { get; set; } + public global::LabelStudio.SendInviteRequest? Type594 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllFalse? Type595 { get; set; } + public global::LabelStudio.SerializationOption? Type595 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllTrue? Type596 { get; set; } + public global::LabelStudio.SerializationOptionRequest? Type596 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequest? Type597 { get; set; } + public global::LabelStudio.SessionTimeoutPolicy? Type597 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestData? Type598 { get; set; } + public global::LabelStudio.StateBackfillCancelResponse? Type598 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFilters? Type599 { get; set; } + public global::LabelStudio.StateBackfillErrorResponse? Type599 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction? Type600 { get; set; } + public global::LabelStudio.StateBackfillJobItem? Type600 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type601 { get; set; } + public global::LabelStudio.StateBackfillJobItemResponse? Type601 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItem? Type602 { get; set; } + public global::LabelStudio.StateBackfillProgress? Type602 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type603 { get; set; } + public global::LabelStudio.StateTriggeredBy? Type603 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilter? Type604 { get; set; } + public global::LabelStudio.StateBackfillJobListResponse? Type604 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter? Type605 { get; set; } + public global::System.Collections.Generic.IList? Type605 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator? Type606 { get; set; } + public global::LabelStudio.StateBackfillOrgStatus? Type606 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter? Type607 { get; set; } + public global::LabelStudio.StateBackfillResponse? Type607 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator? Type608 { get; set; } + public global::System.Collections.Generic.IList? Type608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type609 { get; set; } + public global::LabelStudio.StateBackfillStatusResponse? Type609 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsCreateRequestDataOrderingItem? Type610 { get; set; } + public global::LabelStudio.TriggeredBy2? Type610 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequest? Type611 { get; set; } + public global::LabelStudio.TaskAgreementMatrixResponse? Type611 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestData? Type612 { get; set; } + public global::LabelStudio.TaskAssigneesMutationRequest? Type612 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters? Type613 { get; set; } + public global::LabelStudio.TaskAssignment? Type613 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction? Type614 { get; set; } + public global::LabelStudio.TaskEvent? Type614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type615 { get; set; } + public global::LabelStudio.TaskEventRequest? Type615 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItem? Type616 { get; set; } + public global::LabelStudio.TaskSimple? Type616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type617 { get; set; } + public global::System.Collections.Generic.IList? Type617 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter? Type619 { get; set; } + public global::LabelStudio.ThirdPartyModelVersionRequest? Type619 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator? Type620 { get; set; } + public global::LabelStudio.TokenDetailError? Type620 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter? Type621 { get; set; } + public global::LabelStudio.TokenRefreshRequest? Type621 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator? Type622 { get; set; } + public global::LabelStudio.TokenRefreshResponse? Type622 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type623 { get; set; } + public global::LabelStudio.TokenRotateResponse? Type623 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataOrderingItem? Type624 { get; set; } + public global::LabelStudio.TryTaskRequestRequest? Type624 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequest? Type625 { get; set; } + public global::LabelStudio.TryTaskResponse? Type625 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestData? Type626 { get; set; } + public global::LabelStudio.ValidateSamlDomainRequestRequest? Type626 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFilters? Type627 { get; set; } + public global::LabelStudio.ValidateSamlDomainResponse? Type627 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction? Type628 { get; set; } + public global::LabelStudio.ValidateSamlMetadataUrlRequestRequest? Type628 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type629 { get; set; } + public global::LabelStudio.ValidateSamlMetadataUrlResponse? Type629 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItem? Type630 { get; set; } + public global::LabelStudio.ValueCountsBackfillJob? Type630 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type631 { get; set; } + public global::LabelStudio.VersionResponse? Type631 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilter? Type632 { get; set; } + public global::LabelStudio.View? Type632 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter? Type633 { get; set; } + public global::LabelStudio.ViewLockedBy? Type633 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator? Type634 { get; set; } + public global::LabelStudio.ViewOrderRequest? Type634 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter? Type635 { get; set; } + public global::LabelStudio.ViewRequestRequest? Type635 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator? Type636 { get; set; } + public global::LabelStudio.Webhook? Type636 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type637 { get; set; } + public global::LabelStudio.WebhookRequest? Type637 { get; set; } /// /// /// - public global::LabelStudio.ApiDmViewsUpdateRequestDataOrderingItem? Type638 { get; set; } + public global::LabelStudio.WebhookSerializerForUpdate? Type638 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type639 { get; set; } + public global::LabelStudio.WebhookSerializerForUpdateRequest? Type639 { get; set; } /// /// /// - public global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest? Type640 { get; set; } + public global::LabelStudio.WhoAmILseFields? Type640 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest? Type641 { get; set; } + public global::LabelStudio.WhoAmIUser? Type641 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type642 { get; set; } + public global::LabelStudio.Workspace? Type642 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessage? Type643 { get; set; } + public global::LabelStudio.WorkspaceMemberBulkAssignRequest? Type643 { get; set; } /// /// /// - public global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole? Type644 { get; set; } + public global::LabelStudio.WorkspaceMemberCreate? Type644 { get; set; } /// /// /// - public global::LabelStudio.ApiMlCreateRequest? Type645 { get; set; } + public global::LabelStudio.WorkspaceMemberCreateRequest? Type645 { get; set; } /// /// /// - public global::LabelStudio.ApiMlCreateRequestAuthMethod? Type646 { get; set; } + public global::LabelStudio.WorkspaceMemberList? Type646 { get; set; } /// /// /// - public global::LabelStudio.ApiMlPartialUpdateRequest? Type647 { get; set; } + public global::LabelStudio.WorkspaceProjectsRequest? Type647 { get; set; } /// /// /// - public global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod? Type648 { get; set; } + public global::LabelStudio.WorkspaceRequest? Type648 { get; set; } /// /// /// - public global::LabelStudio.ApiMlTrainCreateRequest? Type649 { get; set; } + public global::System.Collections.Generic.IList? Type649 { get; set; } /// /// /// - public global::LabelStudio.ApiPredictionsCreateRequest? Type650 { get; set; } + public global::LabelStudio.ApiLearningResourcesUserProgressImportCreateRequest? Type650 { get; set; } /// /// /// - public global::LabelStudio.ApiPredictionsPartialUpdateRequest? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::LabelStudio.ApiPredictionsUpdateRequest? Type652 { get; set; } + public global::LabelStudio.ApiActivityLogsListMethod? Type652 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest? Type653 { get; set; } + public global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime? Type653 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type654 { get; set; } + public global::LabelStudio.ApiDmActionsCreateId? Type654 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest? Type655 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsIdpAssignmentsHistoryListKind? Type655 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters? Type656 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource? Type656 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction? Type657 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType? Type657 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type658 { get; set; } + public global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind? Type658 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem? Type659 { get; set; } + public global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode? Type659 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type660 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable? Type660 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter? Type661 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable? Type661 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter? Type662 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveTable? Type662 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator? Type663 { get; set; } + public global::LabelStudio.ApiProjectsTasksAssigneesDestroyType? Type663 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter? Type664 { get; set; } + public global::LabelStudio.ApiProjectsSubsetTasksListAlignmentOutcome? Type664 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator? Type665 { get; set; } + public global::LabelStudio.ApiPromptsCompatibleProjectsListProjectType? Type665 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse? Type666 { get; set; } + public global::LabelStudio.ApiPromptsVersionsInferenceRunsListProjectSubset? Type666 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue? Type667 { get; set; } + public global::LabelStudio.ApiTasksListFields? Type667 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType? Type668 { get; set; } + public global::System.Collections.Generic.IList? Type668 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest? Type669 { get; set; } + public global::System.Collections.Generic.IList? Type669 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType? Type670 { get; set; } + public global::System.Collections.Generic.IList? Type670 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest? Type671 { get; set; } + public global::LabelStudio.ApiAnnotationHistoryDestroyResponse? Type671 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType? Type672 { get; set; } + public global::System.Collections.Generic.IList? Type672 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesAzureCreateRequest? Type673 { get; set; } + public global::LabelStudio.ApiAnnotationsBulkDeleteCreateResponse? Type673 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesAzureValidateCreateRequest? Type674 { get; set; } + public global::System.Collections.Generic.IList? Type674 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesAzurePartialUpdateRequest? Type675 { get; set; } + public global::LabelStudio.ApiAnnotationsBulkCreateResponseItem? Type675 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportAzureCreateRequest? Type676 { get; set; } + public global::System.Collections.Generic.IList? Type676 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest? Type677 { get; set; } + public global::LabelStudio.ApiCurrentUserResetTokenCreateResponse? Type677 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest? Type678 { get; set; } + public global::LabelStudio.ApiCurrentUserTokenRetrieveResponse? Type678 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportGcsCreateRequest? Type679 { get; set; } + public global::System.Collections.Generic.IList? Type679 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest? Type680 { get; set; } + public global::System.Collections.Generic.IList? Type680 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest? Type681 { get; set; } + public global::System.Collections.Generic.IList? Type681 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest? Type682 { get; set; } + public global::System.Collections.Generic.IList? Type682 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest? Type683 { get; set; } + public global::System.Collections.Generic.IList? Type683 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest? Type684 { get; set; } + public global::System.Collections.Generic.IList? Type684 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportRedisCreateRequest? Type685 { get; set; } + public global::System.Collections.Generic.IList? Type685 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest? Type686 { get; set; } + public global::System.Collections.Generic.IList? Type686 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest? Type687 { get; set; } + public global::System.Collections.Generic.IList? Type687 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportS3CreateRequest? Type688 { get; set; } + public global::LabelStudio.ApiDmActionsRetrieveResponseItem? Type688 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest? Type689 { get; set; } + public global::LabelStudio.ApiDmActionsRetrieveResponseItemDialog? Type689 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest? Type690 { get; set; } + public global::LabelStudio.OneOf>? Type690 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesGcsCreateRequest? Type691 { get; set; } + public global::System.Collections.Generic.IList? Type691 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesGcsValidateCreateRequest? Type692 { get; set; } + public global::System.Collections.Generic.IList? Type692 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesGcsPartialUpdateRequest? Type693 { get; set; } + public global::LabelStudio.ApiInferenceRunsIndicatorsListResponseItem? Type693 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesLocalfilesCreateRequest? Type694 { get; set; } + public global::LabelStudio.ApiLearningResourcesUserProgressBulkResetCreateResponse? Type694 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest? Type695 { get; set; } + public global::System.Collections.Generic.IList? Type695 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest? Type696 { get; set; } + public global::LabelStudio.ApiMlVersionsRetrieveResponse? Type696 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesRedisCreateRequest? Type697 { get; set; } + public global::System.Collections.Generic.IList? Type697 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesRedisValidateCreateRequest? Type698 { get; set; } + public global::LabelStudio.ApiModelProviderConnectionsProviderChoicesRetrieveResponse? Type698 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesRedisPartialUpdateRequest? Type699 { get; set; } + public global::System.Collections.Generic.IList? Type699 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesS3CreateRequest? Type700 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsAssignmentsCreateResponse? Type700 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesS3ValidateCreateRequest? Type701 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsBulkDestroyResponse? Type701 { get; set; } /// /// /// - public global::LabelStudio.ApiStoragesS3PartialUpdateRequest? Type702 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsBulkCreateResponse? Type702 { get; set; } /// /// /// - public global::LabelStudio.ApiTasksAnnotationsCreateRequest? Type703 { get; set; } + public global::LabelStudio.ApiOrganizationsMemberTagsImportsCreateResponse? Type703 { get; set; } /// /// /// - public global::LabelStudio.ApiUsersCreateRequest? Type704 { get; set; } + public global::System.Collections.Generic.IList? Type704 { get; set; } /// /// /// - public global::LabelStudio.ApiUsersPartialUpdateRequest? Type705 { get; set; } + public global::System.Collections.Generic.IList? Type705 { get; set; } /// /// /// - public global::LabelStudio.ApiActivityLogsListMethod? Type706 { get; set; } + public global::System.Collections.Generic.IList? Type706 { get; set; } /// /// /// - public global::LabelStudio.ApiAnalyticsKpisRetrieveSegmentByTime? Type707 { get; set; } + public global::System.Collections.Generic.IList? Type707 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsCreateId? Type708 { get; set; } + public global::System.Collections.Generic.IList? Type708 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsIdpAssignmentsHistoryListKind? Type709 { get; set; } + public global::System.Collections.Generic.IList? Type709 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListSource? Type710 { get; set; } + public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponse? Type710 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsMembershipHistoryListUserType? Type711 { get; set; } + public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponseStatus? Type711 { get; set; } /// /// /// - public global::LabelStudio.ApiFsmOrganizationsSettingsHistoryListKind? Type712 { get; set; } + public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponse? Type712 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAnalyticsDataQualityAgreementAnalysisConfusionMatrixRetrieveMode? Type713 { get; set; } + public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponseStatus? Type713 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceParticipantsListTable? Type714 { get; set; } + public global::LabelStudio.ApiProjectsDashboardRetrieveResponse? Type714 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveTable? Type715 { get; set; } + public global::LabelStudio.ApiProjectsDuplicateCreateResponse? Type715 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveTable? Type716 { get; set; } + public global::System.Collections.Generic.IList? Type716 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesDestroyType? Type717 { get; set; } + public global::LabelStudio.ApiProjectsExportsConvertCreateResponse? Type717 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsSubsetTasksListAlignmentOutcome? Type718 { get; set; } + public global::System.Collections.Generic.IList? Type718 { get; set; } /// /// /// - public global::LabelStudio.ApiPromptsCompatibleProjectsListProjectType? Type719 { get; set; } + public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponse? Type719 { get; set; } /// /// /// - public global::LabelStudio.ApiPromptsVersionsInferenceRunsListProjectSubset? Type720 { get; set; } + public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponseStatus? Type720 { get; set; } /// /// /// - public global::LabelStudio.ApiTasksListFields? Type721 { get; set; } + public global::LabelStudio.ApiProjectsImportCreateResponse? Type721 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type722 { get; set; } + public global::LabelStudio.ApiProjectsImportPredictionsCreateResponse? Type722 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type723 { get; set; } + public global::LabelStudio.ApiProjectsMembersBulkDestroyResponse? Type723 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type724 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsAgreementRetrieveResponse? Type724 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationHistoryDestroyResponse? Type725 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsAgreementGroundtruthRetrieveResponse? Type725 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type726 { get; set; } + public global::LabelStudio.ApiProjectsModelStatsPredictionRetrieveResponse? Type726 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationsBulkDeleteCreateResponse? Type727 { get; set; } + public global::System.Collections.Generic.IList? Type727 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type728 { get; set; } + public global::LabelStudio.ApiProjectsStatsIaaRetrieveResponse? Type728 { get; set; } /// /// /// - public global::LabelStudio.ApiAnnotationsBulkCreateResponseItem? Type729 { get; set; } + public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? Type729 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type730 { get; set; } + public global::System.Collections.Generic.Dictionary>>? Type730 { get; set; } /// /// /// - public global::LabelStudio.ApiCurrentUserResetTokenCreateResponse? Type731 { get; set; } + public global::LabelStudio.OneOf>? Type731 { get; set; } /// /// /// - public global::LabelStudio.ApiCurrentUserTokenRetrieveResponse? Type732 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementGroundtruthRetrieveResponse? Type732 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type733 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorRetrieveResponse? Type733 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type734 { get; set; } + public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorsRetrieveResponse? Type734 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type735 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponse? Type735 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type736 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFilters? Type736 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type737 { get; set; } + public global::System.Collections.Generic.IList? Type737 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type738 { get; set; } + public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFiltersStat? Type738 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type739 { get; set; } + public global::LabelStudio.ApiProjectsStatsFinishedRetrieveResponse? Type739 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type740 { get; set; } + public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponse? Type740 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type741 { get; set; } + public global::System.Collections.Generic.IList? Type741 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsRetrieveResponseItem? Type742 { get; set; } + public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponseLeadTimeStat? Type742 { get; set; } /// /// /// - public global::LabelStudio.ApiDmActionsRetrieveResponseItemDialog? Type743 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveResponse? Type743 { get; set; } /// /// /// - public global::LabelStudio.OneOf>? Type744 { get; set; } + public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveResponse? Type744 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type745 { get; set; } + public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant1? Type745 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type746 { get; set; } + public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant2? Type746 { get; set; } /// /// /// - public global::LabelStudio.ApiInferenceRunsIndicatorsListResponseItem? Type747 { get; set; } + public global::System.Collections.Generic.IList? Type747 { get; set; } /// /// /// - public global::LabelStudio.ApiLearningResourcesUserProgressBulkResetCreateResponse? Type748 { get; set; } + public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateResponse? Type748 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type749 { get; set; } + public global::System.Collections.Generic.IList? Type749 { get; set; } /// /// /// - public global::LabelStudio.ApiMlVersionsRetrieveResponse? Type750 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsPredictionListResponse? Type750 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type751 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsReviewScoreListResponse? Type751 { get; set; } /// /// /// - public global::LabelStudio.ApiModelProviderConnectionsProviderChoicesRetrieveResponse? Type752 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsPredictionRetrieveResponse? Type752 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type753 { get; set; } + public global::LabelStudio.ApiProjectsUserStatsReviewScoreRetrieveResponse? Type753 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsAssignmentsCreateResponse? Type754 { get; set; } + public global::LabelStudio.ApiProjectsUsersStatsAgreementGroundtruthRetrieveResponse? Type754 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsBulkDestroyResponse? Type755 { get; set; } + public global::System.Collections.Generic.IList? Type755 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsBulkCreateResponse? Type756 { get; set; } + public global::System.Collections.Generic.IList? Type756 { get; set; } /// /// /// - public global::LabelStudio.ApiOrganizationsMemberTagsImportsCreateResponse? Type757 { get; set; } + public global::System.Collections.Generic.IList? Type757 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type758 { get; set; } + public global::System.Collections.Generic.IList? Type758 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type759 { get; set; } + public global::System.Collections.Generic.IList? Type759 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type760 { get; set; } + public global::System.Collections.Generic.IList? Type760 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type761 { get; set; } + public global::System.Collections.Generic.IList? Type761 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type762 { get; set; } + public global::System.Collections.Generic.IList? Type762 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type763 { get; set; } + public global::System.Collections.Generic.IList? Type763 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponse? Type764 { get; set; } + public global::System.Collections.Generic.IList? Type764 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsAwsCustomFunctionRetrieveResponseStatus? Type765 { get; set; } + public global::System.Collections.Generic.IList? Type765 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponse? Type766 { get; set; } + public global::System.Collections.Generic.IList? Type766 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsCustomFunctionRetrieveResponseStatus? Type767 { get; set; } + public global::System.Collections.Generic.IList? Type767 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsDashboardRetrieveResponse? Type768 { get; set; } + public global::System.Collections.Generic.IList? Type768 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsDuplicateCreateResponse? Type769 { get; set; } + public global::System.Collections.Generic.IList? Type769 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type770 { get; set; } + public global::System.Collections.Generic.IList? Type770 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsExportsConvertCreateResponse? Type771 { get; set; } + public global::System.Collections.Generic.IList? Type771 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type772 { get; set; } + public global::System.Collections.Generic.IList? Type772 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponse? Type773 { get; set; } + public global::System.Collections.Generic.IList? Type773 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsGcpCustomFunctionRetrieveResponseStatus? Type774 { get; set; } + public global::System.Collections.Generic.IList? Type774 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsImportCreateResponse? Type775 { get; set; } + public global::System.Collections.Generic.IList? Type775 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsImportPredictionsCreateResponse? Type776 { get; set; } + public global::LabelStudio.ApiStoragesExportTypesRetrieveResponseItem? Type776 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsMembersBulkDestroyResponse? Type777 { get; set; } + public global::System.Collections.Generic.IList? Type777 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsAgreementRetrieveResponse? Type778 { get; set; } + public global::System.Collections.Generic.IList? Type778 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsAgreementGroundtruthRetrieveResponse? Type779 { get; set; } + public global::System.Collections.Generic.IList? Type779 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsModelStatsPredictionRetrieveResponse? Type780 { get; set; } + public global::System.Collections.Generic.IList? Type780 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type781 { get; set; } + public global::System.Collections.Generic.IList? Type781 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsIaaRetrieveResponse? Type782 { get; set; } + public global::System.Collections.Generic.IList? Type782 { get; set; } /// /// /// - public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? Type783 { get; set; } + public global::System.Collections.Generic.IList? Type783 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>>? Type784 { get; set; } + public global::System.Collections.Generic.IList? Type784 { get; set; } /// /// /// - public global::LabelStudio.OneOf>? Type785 { get; set; } + public global::LabelStudio.ApiStoragesTypesRetrieveResponseItem? Type785 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementGroundtruthRetrieveResponse? Type786 { get; set; } + public global::System.Collections.Generic.IList? Type786 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorRetrieveResponse? Type787 { get; set; } + public global::System.Collections.Generic.IList? Type787 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsAgreementAnnotatorsRetrieveResponse? Type788 { get; set; } + public global::System.Collections.Generic.IList? Type788 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponse? Type789 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponse? Type789 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFilters? Type790 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsCreated? Type790 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type791 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsDeleted? Type791 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsDataFilterRetrieveResponseUserFiltersStat? Type792 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationCreated? Type792 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsFinishedRetrieveResponse? Type793 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationUpdated? Type793 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponse? Type794 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkCreated? Type794 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type795 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkDeleted? Type795 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsLeadTimeRetrieveResponseLeadTimeStat? Type796 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkUpdated? Type796 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceRowsRetrieveResponse? Type797 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectCreated? Type797 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsMemberPerformanceSummaryRetrieveResponse? Type798 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectDeleted? Type798 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant1? Type799 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectUpdated? Type799 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsStatsTotalAgreementRetrieveResponseVariant2? Type800 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewsDeleted? Type800 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type801 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewCreated? Type801 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateResponse? Type802 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewUpdated? Type802 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type803 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksCreated? Type803 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsPredictionListResponse? Type804 { get; set; } + public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksDeleted? Type804 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsReviewScoreListResponse? Type805 { get; set; } + public global::System.Collections.Generic.IList? Type805 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsPredictionRetrieveResponse? Type806 { get; set; } + public global::System.Collections.Generic.IList? Type806 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUserStatsReviewScoreRetrieveResponse? Type807 { get; set; } + public global::LabelStudio.ApiWorkspacesMembershipsBulkDestroyResponse? Type807 { get; set; } /// /// /// - public global::LabelStudio.ApiProjectsUsersStatsAgreementGroundtruthRetrieveResponse? Type808 { get; set; } + public global::LabelStudio.ApiWorkspacesMembershipsBulkCreateResponse? Type808 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type809 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type810 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type811 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type812 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type813 { 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? Type816 { 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? Type819 { 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? Type822 { 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? Type825 { 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? Type828 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type829 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiStoragesExportTypesRetrieveResponseItem? Type830 { 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? Type833 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type834 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type835 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type836 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type837 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type838 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiStoragesTypesRetrieveResponseItem? Type839 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type840 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type841 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type842 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponse? Type843 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsCreated? Type844 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationsDeleted? Type845 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationCreated? Type846 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseAnnotationUpdated? Type847 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkCreated? Type848 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkDeleted? Type849 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseLabelLinkUpdated? Type850 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectCreated? Type851 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectDeleted? Type852 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseProjectUpdated? Type853 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewsDeleted? Type854 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewCreated? Type855 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseReviewUpdated? Type856 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksCreated? Type857 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWebhooksInfoRetrieveResponseTasksDeleted? Type858 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type859 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type860 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWorkspacesMembershipsBulkDestroyResponse? Type861 { get; set; } - /// - /// - /// - public global::LabelStudio.ApiWorkspacesMembershipsBulkCreateResponse? Type862 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type863 { get; set; } + public global::System.Collections.Generic.IList? Type809 { get; set; } /// /// @@ -3509,670 +3293,626 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType6 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType7 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType8 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType9 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType10 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List>? ListType11 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType12 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType13 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType14 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType15 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType16 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.List? ListType17 { get; set; } + public global::System.Collections.Generic.List? ListType6 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType18 { get; set; } + public global::System.Collections.Generic.List? ListType7 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType19 { get; set; } + public global::System.Collections.Generic.List? ListType8 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType20 { get; set; } + public global::System.Collections.Generic.List? ListType9 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType21 { get; set; } + public global::System.Collections.Generic.List? ListType10 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType22 { get; set; } + public global::System.Collections.Generic.List? ListType11 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType23 { get; set; } + public global::System.Collections.Generic.List>? ListType12 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType24 { get; set; } + public global::System.Collections.Generic.List? ListType13 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType25 { get; set; } + public global::System.Collections.Generic.List? ListType14 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType26 { get; set; } + public global::System.Collections.Generic.List? ListType15 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType27 { get; set; } + public global::System.Collections.Generic.List? ListType16 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType28 { get; set; } + public global::System.Collections.Generic.List? ListType17 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType29 { get; set; } + public global::System.Collections.Generic.List? ListType18 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType30 { get; set; } + public global::System.Collections.Generic.List? ListType19 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType31 { get; set; } + public global::System.Collections.Generic.List? ListType20 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType32 { get; set; } + public global::System.Collections.Generic.List? ListType21 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType33 { get; set; } + public global::System.Collections.Generic.List? ListType22 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType34 { get; set; } + public global::System.Collections.Generic.List? ListType23 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType35 { get; set; } + public global::System.Collections.Generic.List? ListType24 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType36 { get; set; } + public global::System.Collections.Generic.List? ListType25 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType37 { get; set; } + public global::System.Collections.Generic.List? ListType26 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType38 { get; set; } + public global::System.Collections.Generic.List>? ListType27 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType39 { get; set; } + public global::System.Collections.Generic.List? ListType28 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType40 { get; set; } + public global::System.Collections.Generic.List>? ListType29 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType41 { get; set; } + public global::System.Collections.Generic.List? ListType30 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType42 { get; set; } + public global::System.Collections.Generic.List? ListType31 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType43 { get; set; } + public global::System.Collections.Generic.List? ListType32 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType44 { get; set; } + public global::System.Collections.Generic.List? ListType33 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType45 { get; set; } + public global::System.Collections.Generic.List? ListType34 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType46 { get; set; } + public global::System.Collections.Generic.List? ListType35 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType47 { get; set; } + public global::System.Collections.Generic.List? ListType36 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType48 { get; set; } + public global::System.Collections.Generic.List? ListType37 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType49 { get; set; } + public global::System.Collections.Generic.List? ListType38 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType50 { get; set; } + public global::System.Collections.Generic.List? ListType39 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType51 { get; set; } + public global::System.Collections.Generic.List? ListType40 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType52 { get; set; } + public global::System.Collections.Generic.List? ListType41 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType53 { get; set; } + public global::System.Collections.Generic.List? ListType42 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType54 { get; set; } + public global::System.Collections.Generic.List? ListType43 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType55 { get; set; } + public global::System.Collections.Generic.List? ListType44 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType56 { get; set; } + public global::System.Collections.Generic.List? ListType45 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType57 { get; set; } + public global::System.Collections.Generic.List? ListType46 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType58 { get; set; } + public global::System.Collections.Generic.List? ListType47 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType59 { get; set; } + public global::System.Collections.Generic.List? ListType48 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType60 { get; set; } + public global::System.Collections.Generic.List? ListType49 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType61 { get; set; } + public global::System.Collections.Generic.List? ListType50 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType62 { get; set; } + public global::System.Collections.Generic.List? ListType51 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType63 { get; set; } + public global::System.Collections.Generic.List? ListType52 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType64 { get; set; } + public global::System.Collections.Generic.List? ListType53 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType65 { get; set; } + public global::System.Collections.Generic.List? ListType54 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType66 { get; set; } + public global::System.Collections.Generic.List? ListType55 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType67 { get; set; } + public global::System.Collections.Generic.List? ListType56 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType68 { get; set; } + public global::System.Collections.Generic.List? ListType57 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType69 { get; set; } + public global::System.Collections.Generic.List? ListType58 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType70 { get; set; } + public global::System.Collections.Generic.List? ListType59 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType71 { get; set; } + public global::System.Collections.Generic.List? ListType60 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType72 { get; set; } + public global::System.Collections.Generic.List? ListType61 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType73 { get; set; } + public global::System.Collections.Generic.List? ListType62 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType74 { get; set; } + public global::System.Collections.Generic.List? ListType63 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType75 { get; set; } + public global::System.Collections.Generic.List? ListType64 { get; set; } /// /// /// - public global::System.Collections.Generic.List>? ListType76 { get; set; } + public global::System.Collections.Generic.List? ListType65 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType77 { get; set; } + public global::System.Collections.Generic.List? ListType66 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType78 { get; set; } + public global::System.Collections.Generic.List? ListType67 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType79 { get; set; } + public global::System.Collections.Generic.List? ListType68 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType80 { get; set; } + public global::System.Collections.Generic.List? ListType69 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType81 { get; set; } + public global::System.Collections.Generic.List>? ListType70 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType82 { get; set; } + public global::System.Collections.Generic.List? ListType71 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType83 { get; set; } + public global::System.Collections.Generic.List? ListType72 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType84 { get; set; } + public global::System.Collections.Generic.List? ListType73 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType85 { get; set; } + public global::System.Collections.Generic.List? ListType74 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType86 { get; set; } + public global::System.Collections.Generic.List? ListType75 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType87 { get; set; } + public global::System.Collections.Generic.List? ListType76 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType88 { get; set; } + public global::System.Collections.Generic.List? ListType77 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType89 { get; set; } + public global::System.Collections.Generic.List? ListType78 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType90 { get; set; } + public global::System.Collections.Generic.List? ListType79 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType91 { get; set; } + public global::System.Collections.Generic.List>? ListType80 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType92 { get; set; } + public global::System.Collections.Generic.List? ListType81 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType93 { get; set; } + public global::System.Collections.Generic.List? ListType82 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType94 { get; set; } + public global::System.Collections.Generic.List? ListType83 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType95 { get; set; } + public global::System.Collections.Generic.List? ListType84 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType96 { get; set; } + public global::System.Collections.Generic.List? ListType85 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType97 { get; set; } + public global::System.Collections.Generic.List? ListType86 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType98 { get; set; } + public global::System.Collections.Generic.List? ListType87 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType99 { get; set; } + public global::System.Collections.Generic.List? ListType88 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType100 { get; set; } + public global::System.Collections.Generic.List? ListType89 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType101 { get; set; } + public global::System.Collections.Generic.List? ListType90 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType102 { get; set; } + public global::System.Collections.Generic.List? ListType91 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType103 { get; set; } + public global::System.Collections.Generic.List? ListType92 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType104 { get; set; } + public global::System.Collections.Generic.List? ListType93 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType105 { get; set; } + public global::System.Collections.Generic.List? ListType94 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType106 { get; set; } + public global::System.Collections.Generic.List? ListType95 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType107 { get; set; } + public global::System.Collections.Generic.List? ListType96 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType108 { get; set; } + public global::System.Collections.Generic.List? ListType97 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType109 { get; set; } + public global::System.Collections.Generic.List? ListType98 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType110 { get; set; } + public global::System.Collections.Generic.List? ListType99 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType111 { get; set; } + public global::System.Collections.Generic.List? ListType100 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType112 { get; set; } + public global::System.Collections.Generic.List? ListType101 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType113 { get; set; } + public global::System.Collections.Generic.List? ListType102 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType114 { get; set; } + public global::System.Collections.Generic.List? ListType103 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType115 { get; set; } + public global::System.Collections.Generic.List? ListType104 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType116 { get; set; } + public global::System.Collections.Generic.List? ListType105 { get; set; } /// /// /// - public global::LabelStudio.OneOf>? ListType117 { get; set; } + public global::LabelStudio.OneOf>? ListType106 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType118 { get; set; } + public global::System.Collections.Generic.List? ListType107 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType119 { get; set; } + public global::System.Collections.Generic.List? ListType108 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType120 { get; set; } + public global::System.Collections.Generic.List? ListType109 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType121 { get; set; } + public global::System.Collections.Generic.List? ListType110 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType122 { get; set; } + public global::System.Collections.Generic.List? ListType111 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType123 { get; set; } + public global::System.Collections.Generic.List? ListType112 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType124 { get; set; } + public global::System.Collections.Generic.List? ListType113 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType125 { get; set; } + public global::System.Collections.Generic.List? ListType114 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType126 { get; set; } + public global::System.Collections.Generic.List? ListType115 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType127 { get; set; } + public global::System.Collections.Generic.List? ListType116 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType128 { get; set; } + public global::System.Collections.Generic.List? ListType117 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType129 { get; set; } + public global::System.Collections.Generic.List? ListType118 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType130 { get; set; } + public global::System.Collections.Generic.List? ListType119 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType131 { get; set; } + public global::System.Collections.Generic.List? ListType120 { get; set; } /// /// /// - public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? ListType132 { get; set; } + public global::LabelStudio.OneOf>, global::System.Collections.Generic.Dictionary>>>? ListType121 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary>>? ListType133 { get; set; } + public global::System.Collections.Generic.Dictionary>>? ListType122 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType134 { get; set; } + public global::System.Collections.Generic.List? ListType123 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType135 { get; set; } + public global::System.Collections.Generic.List? ListType124 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType136 { get; set; } + public global::System.Collections.Generic.List? ListType125 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType137 { get; set; } + public global::System.Collections.Generic.List? ListType126 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType138 { get; set; } + public global::System.Collections.Generic.List? ListType127 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType139 { get; set; } + public global::System.Collections.Generic.List? ListType128 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType140 { get; set; } + public global::System.Collections.Generic.List? ListType129 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType141 { get; set; } + public global::System.Collections.Generic.List? ListType130 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType142 { get; set; } + public global::System.Collections.Generic.List? ListType131 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType143 { get; set; } + public global::System.Collections.Generic.List? ListType132 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType144 { get; set; } + public global::System.Collections.Generic.List? ListType133 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType145 { get; set; } + public global::System.Collections.Generic.List? ListType134 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType146 { get; set; } + public global::System.Collections.Generic.List? ListType135 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType147 { get; set; } + public global::System.Collections.Generic.List? ListType136 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType148 { get; set; } + public global::System.Collections.Generic.List? ListType137 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType149 { get; set; } + public global::System.Collections.Generic.List? ListType138 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType150 { get; set; } + public global::System.Collections.Generic.List? ListType139 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType151 { get; set; } + public global::System.Collections.Generic.List? ListType140 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType152 { get; set; } + public global::System.Collections.Generic.List? ListType141 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType153 { get; set; } + public global::System.Collections.Generic.List? ListType142 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType154 { get; set; } + public global::System.Collections.Generic.List? ListType143 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType155 { get; set; } + public global::System.Collections.Generic.List? ListType144 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType156 { get; set; } + public global::System.Collections.Generic.List? ListType145 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType157 { get; set; } + public global::System.Collections.Generic.List? ListType146 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType158 { get; set; } + public global::System.Collections.Generic.List? ListType147 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType159 { get; set; } + public global::System.Collections.Generic.List? ListType148 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType160 { get; set; } + public global::System.Collections.Generic.List? ListType149 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType161 { get; set; } + public global::System.Collections.Generic.List? ListType150 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType162 { get; set; } + public global::System.Collections.Generic.List? ListType151 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType163 { get; set; } + public global::System.Collections.Generic.List? ListType152 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType164 { get; set; } + public global::System.Collections.Generic.List? ListType153 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType165 { get; set; } + public global::System.Collections.Generic.List? ListType154 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType166 { get; set; } + public global::System.Collections.Generic.List? ListType155 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType167 { get; set; } + public global::System.Collections.Generic.List? ListType156 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType168 { get; set; } + public global::System.Collections.Generic.List? ListType157 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType169 { get; set; } + public global::System.Collections.Generic.List? ListType158 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType170 { get; set; } + public global::System.Collections.Generic.List? ListType159 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType171 { get; set; } + public global::System.Collections.Generic.List? ListType160 { get; set; } /// /// /// - public global::System.Collections.Generic.List? ListType172 { get; set; } + public global::System.Collections.Generic.List? ListType161 { get; set; } } } \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs index fb6b8fc7..c63ef036 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.LlmClient.ApiLlmOpenaiChatCompletionsCreate.g.cs @@ -27,11 +27,11 @@ public partial class LlmClient }; partial void PrepareApiLlmOpenaiChatCompletionsCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest request); + global::LabelStudio.ChatCompletionRequestRequest request); partial void PrepareApiLlmOpenaiChatCompletionsCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest request); + global::LabelStudio.ChatCompletionRequestRequest request); partial void ProcessApiLlmOpenaiChatCompletionsCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessApiLlmOpenaiChatCompletionsCreateResponseContent( /// public async global::System.Threading.Tasks.Task ApiLlmOpenaiChatCompletionsCreateAsync( - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest request, + global::LabelStudio.ChatCompletionRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessApiLlmOpenaiChatCompletionsCreateResponseContent( /// public async global::System.Threading.Tasks.Task> ApiLlmOpenaiChatCompletionsCreateAsResponseAsync( - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest request, + global::LabelStudio.ChatCompletionRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -471,22 +471,21 @@ partial void ProcessApiLlmOpenaiChatCompletionsCreateResponseContent( /// Proxy requests to OpenAI-compatible chat completions APIs and return the full response payload. Supports multiple providers via model parameter format: "model_name" (defaults to OpenAI), "provider/model_name", or "provider:model_name". Works with providers that offer OpenAI-compatible endpoints. /// /// - /// Array of message objects for the chat completion + /// Array of message objects forming the conversation /// /// - /// Model identifier. Can be "model_name" (defaults to OpenAI), "provider/model_name", or "provider:model_name"
- /// Example: gpt-4 + /// Model identifier in format "provider/model-name" (e.g., "openai/gpt-4") /// /// 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 ApiLlmOpenaiChatCompletionsCreateAsync( - global::System.Collections.Generic.IList messages, + global::System.Collections.Generic.IList messages, string model, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest + var __request = new global::LabelStudio.ChatCompletionRequestRequest { Messages = messages, Model = model, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Create.g.cs index 753ccc3e..0a85ca52 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Create.g.cs @@ -27,11 +27,11 @@ public partial class MlClient }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiMlCreateRequest request); + global::LabelStudio.MLBackendRequestRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiMlCreateRequest request); + global::LabelStudio.MLBackendRequestRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -56,7 +56,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiMlCreateRequest request, + global::LabelStudio.MLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -84,7 +84,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiMlCreateRequest request, + global::LabelStudio.MLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -453,60 +453,69 @@ partial void ProcessCreateResponseContent( /// ///
/// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth + /// + /// + /// If false, model version is set by the user, if true - getting latest version from backend. /// /// - /// Basic auth password + /// Included only in requests /// /// - /// Basic auth user + /// HTTP Basic Auth user /// /// - /// Description + /// Description for the machine learning backend /// /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// - /// - /// Project ID + /// + /// Current model version associated with this machine learning backend /// + /// /// /// Response model timeout /// /// - /// Title + /// Name of the machine learning backend /// /// - /// ML backend URL + /// URL for the machine learning model server /// /// 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 CreateAsync( - global::LabelStudio.ApiMlCreateRequestAuthMethod? authMethod = default, - string? basicAuthPass = default, + string? basicAuthPass, + int project, + string url, + global::LabelStudio.AuthMethodEnum? authMethod = default, + bool? autoUpdate = default, string? basicAuthUser = default, string? description = default, object? extraParams = default, bool? isInteractive = default, - int? project = default, - int? timeout = default, + string? modelVersion = default, + double? timeout = default, string? title = default, - string? url = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiMlCreateRequest + var __request = new global::LabelStudio.MLBackendRequestRequest { AuthMethod = authMethod, + AutoUpdate = autoUpdate, BasicAuthPass = basicAuthPass, BasicAuthUser = basicAuthUser, Description = description, ExtraParams = extraParams, IsInteractive = isInteractive, + ModelVersion = modelVersion, Project = project, Timeout = timeout, Title = title, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Train.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Train.g.cs index 87a1566b..551bf8be 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Train.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Train.g.cs @@ -28,12 +28,12 @@ public partial class MlClient partial void PrepareTrainArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiMlTrainCreateRequest request); + global::LabelStudio.MLBackendTrainRequestRequest request); partial void PrepareTrainRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiMlTrainCreateRequest request); + global::LabelStudio.MLBackendTrainRequestRequest request); partial void ProcessTrainResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -54,7 +54,7 @@ partial void ProcessTrainResponse( public async global::System.Threading.Tasks.Task TrainAsync( int id, - global::LabelStudio.ApiMlTrainCreateRequest request, + global::LabelStudio.MLBackendTrainRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -82,7 +82,7 @@ await TrainAsResponseAsync( public async global::System.Threading.Tasks.Task TrainAsResponseAsync( int id, - global::LabelStudio.ApiMlTrainCreateRequest request, + global::LabelStudio.MLBackendTrainRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -474,7 +474,8 @@ await TrainAsResponseAsync( ///
/// /// - /// Whether to include ground truth annotations in training + /// Whether to include ground truth annotations in training
+ /// Default Value: false /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -485,7 +486,7 @@ await TrainAsResponseAsync( global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiMlTrainCreateRequest + var __request = new global::LabelStudio.MLBackendTrainRequestRequest { UseGroundTruth = useGroundTruth, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Update.g.cs index f7fa5279..22bc0209 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.MlClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class MlClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiMlPartialUpdateRequest request); + global::LabelStudio.PatchedMLBackendRequestRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiMlPartialUpdateRequest request); + global::LabelStudio.PatchedMLBackendRequestRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -59,7 +59,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiMlPartialUpdateRequest request, + global::LabelStudio.PatchedMLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -89,7 +89,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiMlPartialUpdateRequest request, + global::LabelStudio.PatchedMLBackendRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -460,61 +460,70 @@ partial void ProcessUpdateResponseContent( ///
/// /// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth + /// + /// + /// If false, model version is set by the user, if true - getting latest version from backend. /// /// - /// Basic auth password + /// Included only in requests /// /// - /// Basic auth user + /// HTTP Basic Auth user /// /// - /// Description + /// Description for the machine learning backend /// /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// - /// - /// Project ID + /// + /// Current model version associated with this machine learning backend /// + /// /// /// Response model timeout /// /// - /// Title + /// Name of the machine learning backend /// /// - /// ML backend URL + /// URL for the machine learning model server /// /// 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 UpdateAsync( int id, - global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod? authMethod = default, - string? basicAuthPass = default, + string? basicAuthPass, + global::LabelStudio.AuthMethodEnum? authMethod = default, + bool? autoUpdate = default, string? basicAuthUser = default, string? description = default, object? extraParams = default, bool? isInteractive = default, + string? modelVersion = default, int? project = default, - int? timeout = default, + double? timeout = default, string? title = default, string? url = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiMlPartialUpdateRequest + var __request = new global::LabelStudio.PatchedMLBackendRequestRequest { AuthMethod = authMethod, + AutoUpdate = autoUpdate, BasicAuthPass = basicAuthPass, BasicAuthUser = basicAuthUser, Description = description, ExtraParams = extraParams, IsInteractive = isInteractive, + ModelVersion = modelVersion, Project = project, Timeout = timeout, Title = title, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequest.g.cs index 5a33d3bb..b908738c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequest.g.cs @@ -94,10 +94,11 @@ public sealed partial class AnnotationBulkSerializerWithSelectedItemsRequest public global::System.Collections.Generic.IList? Result { get; set; } /// - /// + /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` /// [global::System.Text.Json.Serialization.JsonPropertyName("selected_items")] - public global::LabelStudio.SelectedItemsRequest? SelectedItems { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] + public global::LabelStudio.OneOf? SelectedItems { get; set; } /// /// Corresponding task for this annotation @@ -182,7 +183,9 @@ public sealed partial class AnnotationBulkSerializerWithSelectedItemsRequest /// /// List of annotation results for the task /// - /// + /// + /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` + /// /// /// Corresponding task for this annotation /// @@ -212,7 +215,7 @@ public AnnotationBulkSerializerWithSelectedItemsRequest( int? parentPrediction, int? project, global::System.Collections.Generic.IList? result, - global::LabelStudio.SelectedItemsRequest? selectedItems, + global::LabelStudio.OneOf? selectedItems, int? task, global::System.Collections.Generic.IList? tasks, string? uniqueId, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse.Json.g.cs similarity index 81% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse.Json.g.cs index bcd5fffa..36e3de49 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse + public sealed partial class AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse? FromJson( + public static global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse; + typeof(global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse), + jsonSerializerContext) as global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse? FromJson( + public static global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse? FromJson( + public static global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse; + typeof(global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse.g.cs new file mode 100644 index 00000000..3a2ffc2c --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse + { + /// + /// No tasks are selected + /// + [global::System.Text.Json.Serialization.JsonPropertyName("all")] + [global::System.Text.Json.Serialization.JsonRequired] + public required bool All { get; set; } + + /// + /// List of included task IDs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("included")] + public global::System.Collections.Generic.IList? Included { 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. + /// + /// + /// No tasks are selected + /// + /// + /// List of included task IDs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse( + bool all, + global::System.Collections.Generic.IList? included) + { + this.All = all; + this.Included = included; + } + + /// + /// Initializes a new instance of the class. + /// + public AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllFalse() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue.Json.g.cs similarity index 81% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue.Json.g.cs index d8fd9f36..00b09834 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue + public sealed partial class AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue? FromJson( + public static global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue; + typeof(global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue), + jsonSerializerContext) as global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue? FromJson( + public static global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue? FromJson( + public static global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue; + typeof(global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.SelectedItemsRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue.g.cs similarity index 61% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.SelectedItemsRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue.g.cs index 7e0eb739..1f0f124c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.SelectedItemsRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue.g.cs @@ -6,27 +6,21 @@ namespace LabelStudio /// /// /// - public sealed partial class SelectedItemsRequest + public sealed partial class AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue { /// - /// + /// All tasks are selected /// [global::System.Text.Json.Serialization.JsonPropertyName("all")] [global::System.Text.Json.Serialization.JsonRequired] public required bool All { get; set; } /// - /// + /// List of excluded task IDs /// [global::System.Text.Json.Serialization.JsonPropertyName("excluded")] public global::System.Collections.Generic.IList? Excluded { get; set; } - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("included")] - public global::System.Collections.Generic.IList? Included { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -34,28 +28,29 @@ public sealed partial class SelectedItemsRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - /// - /// - /// + /// + /// All tasks are selected + /// + /// + /// List of excluded task IDs + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public SelectedItemsRequest( + public AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue( bool all, - global::System.Collections.Generic.IList? excluded, - global::System.Collections.Generic.IList? included) + global::System.Collections.Generic.IList? excluded) { this.All = all; this.Excluded = excluded; - this.Included = included; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public SelectedItemsRequest() + public AnnotationBulkSerializerWithSelectedItemsRequestSelectedItemsAllTrue() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequest.g.cs deleted file mode 100644 index 6a991a2f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequest.g.cs +++ /dev/null @@ -1,129 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"ground_truth":true,"result":[{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}],"was_cancelled":false} - /// - public sealed partial class ApiAnnotationsPartialUpdateRequest - { - /// - /// User ID of the person who created this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_by")] - public int? CompletedBy { get; set; } - - /// - /// This annotation is a Ground Truth - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ground_truth")] - public bool? GroundTruth { get; set; } - - /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 - ///
- /// 100.5 - [global::System.Text.Json.Serialization.JsonPropertyName("lead_time")] - public double? LeadTime { get; set; } - - /// - /// Project ID for this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - ///
- /// [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - public global::System.Collections.Generic.IList? Result { get; set; } - - /// - /// Corresponding task for this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("task")] - public int? Task { get; set; } - - /// - /// Last user who updated this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_by")] - public int? UpdatedBy { get; set; } - - /// - /// User skipped the task - /// - [global::System.Text.Json.Serialization.JsonPropertyName("was_cancelled")] - public bool? WasCancelled { 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. - /// - /// - /// User ID of the person who created this annotation - /// - /// - /// This annotation is a Ground Truth - /// - /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 - /// - /// - /// Project ID for this annotation - /// - /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - /// - /// - /// Corresponding task for this annotation - /// - /// - /// Last user who updated this annotation - /// - /// - /// User skipped the task - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiAnnotationsPartialUpdateRequest( - int? completedBy, - bool? groundTruth, - double? leadTime, - int? project, - global::System.Collections.Generic.IList? result, - int? task, - int? updatedBy, - bool? wasCancelled) - { - this.CompletedBy = completedBy; - this.GroundTruth = groundTruth; - this.LeadTime = leadTime; - this.Project = project; - this.Result = result; - this.Task = task; - this.UpdatedBy = updatedBy; - this.WasCancelled = wasCancelled; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiAnnotationsPartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequest.g.cs deleted file mode 100644 index abd29563..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequest.g.cs +++ /dev/null @@ -1,70 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Data payload containing task filters, selected task items, and ordering
- /// Example: {"filters":{"conjunction":"or","items":[{"filter":"filter:tasks:id","operator":"greater","type":"Number","value":123}]},"ordering":["tasks:total_annotations"],"selectedItems":{"all":true,"excluded":[124,125,126]}} - ///
- public sealed partial class ApiDmActionsCreateRequest - { - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filters")] - public global::LabelStudio.ApiDmActionsCreateRequestFilters? Filters { get; set; } - - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ordering")] - public global::System.Collections.Generic.IList? Ordering { get; set; } - - /// - /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` - /// - [global::System.Text.Json.Serialization.JsonPropertyName("selectedItems")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - public global::LabelStudio.OneOf? SelectedItems { 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. - /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// - /// - /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmActionsCreateRequest( - global::LabelStudio.ApiDmActionsCreateRequestFilters? filters, - global::System.Collections.Generic.IList? ordering, - global::LabelStudio.OneOf? selectedItems) - { - this.Filters = filters; - this.Ordering = ordering; - this.SelectedItems = selectedItems; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmActionsCreateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersConjunction.g.cs deleted file mode 100644 index f53f7a38..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersConjunction.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - public enum ApiDmActionsCreateRequestFiltersConjunction - { - /// - /// - /// - And, - /// - /// - /// - Or, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmActionsCreateRequestFiltersConjunctionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmActionsCreateRequestFiltersConjunction value) - { - return value switch - { - ApiDmActionsCreateRequestFiltersConjunction.And => "and", - ApiDmActionsCreateRequestFiltersConjunction.Or => "or", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmActionsCreateRequestFiltersConjunction? ToEnum(string value) - { - return value switch - { - "and" => ApiDmActionsCreateRequestFiltersConjunction.And, - "or" => ApiDmActionsCreateRequestFiltersConjunction.Or, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItem.Json.g.cs deleted file mode 100644 index dc48ee77..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItem.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmActionsCreateRequestFiltersItem - { - /// - /// 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.ApiDmActionsCreateRequestFiltersItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItem), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItem; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItem? 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.ApiDmActionsCreateRequestFiltersItem? 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.ApiDmActionsCreateRequestFiltersItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItem; - } - - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilter.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilter.Json.g.cs deleted file mode 100644 index 461b1116..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilter.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilter - { - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilter? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilter), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilter; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilter? 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.ApiDmActionsCreateRequestFiltersItemChildFilter? 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.ApiDmActionsCreateRequestFiltersItemChildFilter), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilter; - } - - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index ea21f4ee..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiDmActionsCreateRequestFiltersItemChildFilterFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmActionsCreateRequestFiltersItemChildFilterFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmActionsCreateRequestFiltersItemChildFilterFilter value) - { - return value switch - { - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmActionsCreateRequestFiltersItemChildFilterFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmActionsCreateRequestFiltersItemChildFilterFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index 4d29f42e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiDmActionsCreateRequestFiltersItemChildFilterOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmActionsCreateRequestFiltersItemChildFilterOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmActionsCreateRequestFiltersItemChildFilterOperator value) - { - return value switch - { - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Contains => "contains", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.EndsWith => "ends_with", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Equal => "equal", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Exists => "exists", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Greater => "greater", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.GreaterOrEqual => "greater_or_equal", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.In => "in", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.InList => "in_list", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Less => "less", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.LessOrEqual => "less_or_equal", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotContains => "not_contains", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotEqual => "not_equal", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotExists => "not_exists", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotIn => "not_in", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotInList => "not_in_list", - ApiDmActionsCreateRequestFiltersItemChildFilterOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmActionsCreateRequestFiltersItemChildFilterOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Contains, - "ends_with" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.EndsWith, - "equal" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Equal, - "exists" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Exists, - "greater" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Greater, - "greater_or_equal" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.GreaterOrEqual, - "in" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.In, - "in_list" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.InList, - "less" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.Less, - "less_or_equal" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.LessOrEqual, - "not_contains" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotContains, - "not_equal" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotEqual, - "not_exists" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotExists, - "not_in" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotIn, - "not_in_list" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.NotInList, - "starts_with" => ApiDmActionsCreateRequestFiltersItemChildFilterOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary.Json.g.cs deleted file mode 100644 index 945c5653..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary - { - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary? 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary? 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary; - } - - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary.g.cs deleted file mode 100644 index 4993b075..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilterValueDictionary - { - - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueList.Json.g.cs deleted file mode 100644 index 1c679f60..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilterValueList - { - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueList? 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueList? 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterValueList; - } - - /// - /// 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.ApiDmActionsCreateRequestFiltersItemChildFilterValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueList.g.cs deleted file mode 100644 index 11c474b9..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilterValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilterValueList - { - - /// - /// 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.ApiDmActionsCreateRequestOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestOrderingItem.g.cs deleted file mode 100644 index 56df7e59..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestOrderingItem.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public enum ApiDmActionsCreateRequestOrderingItem - { - /// - /// - /// - Tasks_agreement, - /// - /// - /// - Tasks_annotationsResults, - /// - /// - /// - Tasks_annotators, - /// - /// - /// - Tasks_cancelledAnnotations, - /// - /// - /// - Tasks_comments, - /// - /// - /// - Tasks_completedAt, - /// - /// - /// - Tasks_createdAt, - /// - /// - /// - Tasks_fileUpload, - /// - /// - /// - Tasks_groundTruth, - /// - /// - /// - Tasks_id, - /// - /// - /// - Tasks_innerId, - /// - /// - /// - Tasks_predictionsModelVersions, - /// - /// - /// - Tasks_predictionsResults, - /// - /// - /// - Tasks_predictionsScore, - /// - /// - /// - Tasks_reviewed, - /// - /// - /// - Tasks_reviewers, - /// - /// - /// - Tasks_reviewsAccepted, - /// - /// - /// - Tasks_reviewsRejected, - /// - /// - /// - Tasks_totalAnnotations, - /// - /// - /// - Tasks_totalPredictions, - /// - /// - /// - Tasks_unresolvedCommentCount, - /// - /// - /// - Tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmActionsCreateRequestOrderingItemExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmActionsCreateRequestOrderingItem value) - { - return value switch - { - ApiDmActionsCreateRequestOrderingItem.Tasks_agreement => "tasks:agreement", - ApiDmActionsCreateRequestOrderingItem.Tasks_annotationsResults => "tasks:annotations_results", - ApiDmActionsCreateRequestOrderingItem.Tasks_annotators => "tasks:annotators", - ApiDmActionsCreateRequestOrderingItem.Tasks_cancelledAnnotations => "tasks:cancelled_annotations", - ApiDmActionsCreateRequestOrderingItem.Tasks_comments => "tasks:comments", - ApiDmActionsCreateRequestOrderingItem.Tasks_completedAt => "tasks:completed_at", - ApiDmActionsCreateRequestOrderingItem.Tasks_createdAt => "tasks:created_at", - ApiDmActionsCreateRequestOrderingItem.Tasks_fileUpload => "tasks:file_upload", - ApiDmActionsCreateRequestOrderingItem.Tasks_groundTruth => "tasks:ground_truth", - ApiDmActionsCreateRequestOrderingItem.Tasks_id => "tasks:id", - ApiDmActionsCreateRequestOrderingItem.Tasks_innerId => "tasks:inner_id", - ApiDmActionsCreateRequestOrderingItem.Tasks_predictionsModelVersions => "tasks:predictions_model_versions", - ApiDmActionsCreateRequestOrderingItem.Tasks_predictionsResults => "tasks:predictions_results", - ApiDmActionsCreateRequestOrderingItem.Tasks_predictionsScore => "tasks:predictions_score", - ApiDmActionsCreateRequestOrderingItem.Tasks_reviewed => "tasks:reviewed", - ApiDmActionsCreateRequestOrderingItem.Tasks_reviewers => "tasks:reviewers", - ApiDmActionsCreateRequestOrderingItem.Tasks_reviewsAccepted => "tasks:reviews_accepted", - ApiDmActionsCreateRequestOrderingItem.Tasks_reviewsRejected => "tasks:reviews_rejected", - ApiDmActionsCreateRequestOrderingItem.Tasks_totalAnnotations => "tasks:total_annotations", - ApiDmActionsCreateRequestOrderingItem.Tasks_totalPredictions => "tasks:total_predictions", - ApiDmActionsCreateRequestOrderingItem.Tasks_unresolvedCommentCount => "tasks:unresolved_comment_count", - ApiDmActionsCreateRequestOrderingItem.Tasks_updatedAt => "tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmActionsCreateRequestOrderingItem? ToEnum(string value) - { - return value switch - { - "tasks:agreement" => ApiDmActionsCreateRequestOrderingItem.Tasks_agreement, - "tasks:annotations_results" => ApiDmActionsCreateRequestOrderingItem.Tasks_annotationsResults, - "tasks:annotators" => ApiDmActionsCreateRequestOrderingItem.Tasks_annotators, - "tasks:cancelled_annotations" => ApiDmActionsCreateRequestOrderingItem.Tasks_cancelledAnnotations, - "tasks:comments" => ApiDmActionsCreateRequestOrderingItem.Tasks_comments, - "tasks:completed_at" => ApiDmActionsCreateRequestOrderingItem.Tasks_completedAt, - "tasks:created_at" => ApiDmActionsCreateRequestOrderingItem.Tasks_createdAt, - "tasks:file_upload" => ApiDmActionsCreateRequestOrderingItem.Tasks_fileUpload, - "tasks:ground_truth" => ApiDmActionsCreateRequestOrderingItem.Tasks_groundTruth, - "tasks:id" => ApiDmActionsCreateRequestOrderingItem.Tasks_id, - "tasks:inner_id" => ApiDmActionsCreateRequestOrderingItem.Tasks_innerId, - "tasks:predictions_model_versions" => ApiDmActionsCreateRequestOrderingItem.Tasks_predictionsModelVersions, - "tasks:predictions_results" => ApiDmActionsCreateRequestOrderingItem.Tasks_predictionsResults, - "tasks:predictions_score" => ApiDmActionsCreateRequestOrderingItem.Tasks_predictionsScore, - "tasks:reviewed" => ApiDmActionsCreateRequestOrderingItem.Tasks_reviewed, - "tasks:reviewers" => ApiDmActionsCreateRequestOrderingItem.Tasks_reviewers, - "tasks:reviews_accepted" => ApiDmActionsCreateRequestOrderingItem.Tasks_reviewsAccepted, - "tasks:reviews_rejected" => ApiDmActionsCreateRequestOrderingItem.Tasks_reviewsRejected, - "tasks:total_annotations" => ApiDmActionsCreateRequestOrderingItem.Tasks_totalAnnotations, - "tasks:total_predictions" => ApiDmActionsCreateRequestOrderingItem.Tasks_totalPredictions, - "tasks:unresolved_comment_count" => ApiDmActionsCreateRequestOrderingItem.Tasks_unresolvedCommentCount, - "tasks:updated_at" => ApiDmActionsCreateRequestOrderingItem.Tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestData.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestData.Json.g.cs deleted file mode 100644 index defc6f9c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestData.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsCreateRequestData - { - /// - /// 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.ApiDmViewsCreateRequestData? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestData), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestData; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsCreateRequestData? 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.ApiDmViewsCreateRequestData? 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.ApiDmViewsCreateRequestData), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestData; - } - - /// - /// 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.ApiDmViewsCreateRequestData.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestData.g.cs deleted file mode 100644 index 2b570c99..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestData.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Custom view data - /// - public sealed partial class ApiDmViewsCreateRequestData - { - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filters")] - public global::LabelStudio.ApiDmViewsCreateRequestDataFilters? Filters { get; set; } - - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ordering")] - public global::System.Collections.Generic.IList? Ordering { 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. - /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsCreateRequestData( - global::LabelStudio.ApiDmViewsCreateRequestDataFilters? filters, - global::System.Collections.Generic.IList? ordering) - { - this.Filters = filters; - this.Ordering = ordering; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsCreateRequestData() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFilters.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFilters.g.cs deleted file mode 100644 index a3971503..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFilters.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - public sealed partial class ApiDmViewsCreateRequestDataFilters - { - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conjunction")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersConjunctionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction Conjunction { get; set; } - - /// - /// List of filter items - /// - [global::System.Text.Json.Serialization.JsonPropertyName("items")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Items { 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. - /// - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - /// - /// List of filter items - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsCreateRequestDataFilters( - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersConjunction conjunction, - global::System.Collections.Generic.IList items) - { - this.Conjunction = conjunction; - this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsCreateRequestDataFilters() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersConjunction.g.cs deleted file mode 100644 index d7adddaf..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersConjunction.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - public enum ApiDmViewsCreateRequestDataFiltersConjunction - { - /// - /// - /// - And, - /// - /// - /// - Or, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsCreateRequestDataFiltersConjunctionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsCreateRequestDataFiltersConjunction value) - { - return value switch - { - ApiDmViewsCreateRequestDataFiltersConjunction.And => "and", - ApiDmViewsCreateRequestDataFiltersConjunction.Or => "or", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsCreateRequestDataFiltersConjunction? ToEnum(string value) - { - return value switch - { - "and" => ApiDmViewsCreateRequestDataFiltersConjunction.And, - "or" => ApiDmViewsCreateRequestDataFiltersConjunction.Or, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItem.g.cs deleted file mode 100644 index 154a8627..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItem.g.cs +++ /dev/null @@ -1,97 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"filter":"filter:tasks:id","operator":"greater","type":"Number","value":123} - /// - public sealed partial class ApiDmViewsCreateRequestDataFiltersItem - { - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("child_filters")] - public global::System.Collections.Generic.IList? ChildFilters { get; set; } - - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsCreateRequestDataFiltersItem( - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemFilter filter, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemOperator @operator, - string type, - global::LabelStudio.OneOf value, - global::System.Collections.Generic.IList? childFilters) - { - this.ChildFilters = childFilters; - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsCreateRequestDataFiltersItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilter.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilter.Json.g.cs deleted file mode 100644 index 76045a78..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilter.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemChildFilter - { - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemChildFilter? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilter), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilter; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilter? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilter? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilter), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilter; - } - - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemChildFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilter.g.cs deleted file mode 100644 index 45ab4240..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilter.g.cs +++ /dev/null @@ -1,86 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemChildFilter - { - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsCreateRequestDataFiltersItemChildFilter( - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter filter, - global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator @operator, - string type, - global::LabelStudio.OneOf value) - { - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsCreateRequestDataFiltersItemChildFilter() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index e66844d9..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsCreateRequestDataFiltersItemChildFilterFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter value) - { - return value switch - { - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmViewsCreateRequestDataFiltersItemChildFilterFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index ff595537..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsCreateRequestDataFiltersItemChildFilterOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator value) - { - return value switch - { - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Contains => "contains", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.EndsWith => "ends_with", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Equal => "equal", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Exists => "exists", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Greater => "greater", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.GreaterOrEqual => "greater_or_equal", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.In => "in", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.InList => "in_list", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Less => "less", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.LessOrEqual => "less_or_equal", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotContains => "not_contains", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotEqual => "not_equal", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotExists => "not_exists", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotIn => "not_in", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotInList => "not_in_list", - ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Contains, - "ends_with" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.EndsWith, - "equal" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Equal, - "exists" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Exists, - "greater" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Greater, - "greater_or_equal" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.GreaterOrEqual, - "in" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.In, - "in_list" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.InList, - "less" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.Less, - "less_or_equal" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.LessOrEqual, - "not_contains" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotContains, - "not_equal" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotEqual, - "not_exists" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotExists, - "not_in" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotIn, - "not_in_list" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.NotInList, - "starts_with" => ApiDmViewsCreateRequestDataFiltersItemChildFilterOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs deleted file mode 100644 index cfcf473c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary - { - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary; - } - - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary.g.cs deleted file mode 100644 index fb08ae2e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemChildFilterValueDictionary - { - - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList.Json.g.cs deleted file mode 100644 index ed8a529e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList - { - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList? 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList; - } - - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList.g.cs deleted file mode 100644 index 93d457ba..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemChildFilterValueList - { - - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemFilter.g.cs deleted file mode 100644 index 94597abb..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiDmViewsCreateRequestDataFiltersItemFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsCreateRequestDataFiltersItemFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsCreateRequestDataFiltersItemFilter value) - { - return value switch - { - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsCreateRequestDataFiltersItemFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmViewsCreateRequestDataFiltersItemFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemOperator.g.cs deleted file mode 100644 index f5a1eee3..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiDmViewsCreateRequestDataFiltersItemOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsCreateRequestDataFiltersItemOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsCreateRequestDataFiltersItemOperator value) - { - return value switch - { - ApiDmViewsCreateRequestDataFiltersItemOperator.Contains => "contains", - ApiDmViewsCreateRequestDataFiltersItemOperator.EndsWith => "ends_with", - ApiDmViewsCreateRequestDataFiltersItemOperator.Equal => "equal", - ApiDmViewsCreateRequestDataFiltersItemOperator.Exists => "exists", - ApiDmViewsCreateRequestDataFiltersItemOperator.Greater => "greater", - ApiDmViewsCreateRequestDataFiltersItemOperator.GreaterOrEqual => "greater_or_equal", - ApiDmViewsCreateRequestDataFiltersItemOperator.In => "in", - ApiDmViewsCreateRequestDataFiltersItemOperator.InList => "in_list", - ApiDmViewsCreateRequestDataFiltersItemOperator.Less => "less", - ApiDmViewsCreateRequestDataFiltersItemOperator.LessOrEqual => "less_or_equal", - ApiDmViewsCreateRequestDataFiltersItemOperator.NotContains => "not_contains", - ApiDmViewsCreateRequestDataFiltersItemOperator.NotEqual => "not_equal", - ApiDmViewsCreateRequestDataFiltersItemOperator.NotExists => "not_exists", - ApiDmViewsCreateRequestDataFiltersItemOperator.NotIn => "not_in", - ApiDmViewsCreateRequestDataFiltersItemOperator.NotInList => "not_in_list", - ApiDmViewsCreateRequestDataFiltersItemOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsCreateRequestDataFiltersItemOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiDmViewsCreateRequestDataFiltersItemOperator.Contains, - "ends_with" => ApiDmViewsCreateRequestDataFiltersItemOperator.EndsWith, - "equal" => ApiDmViewsCreateRequestDataFiltersItemOperator.Equal, - "exists" => ApiDmViewsCreateRequestDataFiltersItemOperator.Exists, - "greater" => ApiDmViewsCreateRequestDataFiltersItemOperator.Greater, - "greater_or_equal" => ApiDmViewsCreateRequestDataFiltersItemOperator.GreaterOrEqual, - "in" => ApiDmViewsCreateRequestDataFiltersItemOperator.In, - "in_list" => ApiDmViewsCreateRequestDataFiltersItemOperator.InList, - "less" => ApiDmViewsCreateRequestDataFiltersItemOperator.Less, - "less_or_equal" => ApiDmViewsCreateRequestDataFiltersItemOperator.LessOrEqual, - "not_contains" => ApiDmViewsCreateRequestDataFiltersItemOperator.NotContains, - "not_equal" => ApiDmViewsCreateRequestDataFiltersItemOperator.NotEqual, - "not_exists" => ApiDmViewsCreateRequestDataFiltersItemOperator.NotExists, - "not_in" => ApiDmViewsCreateRequestDataFiltersItemOperator.NotIn, - "not_in_list" => ApiDmViewsCreateRequestDataFiltersItemOperator.NotInList, - "starts_with" => ApiDmViewsCreateRequestDataFiltersItemOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueDictionary.Json.g.cs deleted file mode 100644 index 087a1519..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemValueDictionary - { - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueDictionary? 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.ApiDmViewsCreateRequestDataFiltersItemValueDictionary? 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.ApiDmViewsCreateRequestDataFiltersItemValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueDictionary; - } - - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueList.Json.g.cs deleted file mode 100644 index 53b4e9d5..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemValueList - { - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueList? 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.ApiDmViewsCreateRequestDataFiltersItemValueList? 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.ApiDmViewsCreateRequestDataFiltersItemValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItemValueList; - } - - /// - /// 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.ApiDmViewsCreateRequestDataFiltersItemValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueList.g.cs deleted file mode 100644 index 96162723..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemValueList - { - - /// - /// 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.ApiDmViewsCreateRequestDataOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataOrderingItem.g.cs deleted file mode 100644 index 13e3f7b6..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataOrderingItem.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public enum ApiDmViewsCreateRequestDataOrderingItem - { - /// - /// - /// - Tasks_agreement, - /// - /// - /// - Tasks_annotationsResults, - /// - /// - /// - Tasks_annotators, - /// - /// - /// - Tasks_cancelledAnnotations, - /// - /// - /// - Tasks_comments, - /// - /// - /// - Tasks_completedAt, - /// - /// - /// - Tasks_createdAt, - /// - /// - /// - Tasks_fileUpload, - /// - /// - /// - Tasks_groundTruth, - /// - /// - /// - Tasks_id, - /// - /// - /// - Tasks_innerId, - /// - /// - /// - Tasks_predictionsModelVersions, - /// - /// - /// - Tasks_predictionsResults, - /// - /// - /// - Tasks_predictionsScore, - /// - /// - /// - Tasks_reviewed, - /// - /// - /// - Tasks_reviewers, - /// - /// - /// - Tasks_reviewsAccepted, - /// - /// - /// - Tasks_reviewsRejected, - /// - /// - /// - Tasks_totalAnnotations, - /// - /// - /// - Tasks_totalPredictions, - /// - /// - /// - Tasks_unresolvedCommentCount, - /// - /// - /// - Tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsCreateRequestDataOrderingItemExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsCreateRequestDataOrderingItem value) - { - return value switch - { - ApiDmViewsCreateRequestDataOrderingItem.Tasks_agreement => "tasks:agreement", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_annotationsResults => "tasks:annotations_results", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_annotators => "tasks:annotators", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_cancelledAnnotations => "tasks:cancelled_annotations", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_comments => "tasks:comments", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_completedAt => "tasks:completed_at", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_createdAt => "tasks:created_at", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_fileUpload => "tasks:file_upload", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_groundTruth => "tasks:ground_truth", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_id => "tasks:id", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_innerId => "tasks:inner_id", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_predictionsModelVersions => "tasks:predictions_model_versions", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_predictionsResults => "tasks:predictions_results", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_predictionsScore => "tasks:predictions_score", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewed => "tasks:reviewed", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewers => "tasks:reviewers", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewsAccepted => "tasks:reviews_accepted", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewsRejected => "tasks:reviews_rejected", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_totalAnnotations => "tasks:total_annotations", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_totalPredictions => "tasks:total_predictions", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_unresolvedCommentCount => "tasks:unresolved_comment_count", - ApiDmViewsCreateRequestDataOrderingItem.Tasks_updatedAt => "tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsCreateRequestDataOrderingItem? ToEnum(string value) - { - return value switch - { - "tasks:agreement" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_agreement, - "tasks:annotations_results" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_annotationsResults, - "tasks:annotators" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_annotators, - "tasks:cancelled_annotations" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_cancelledAnnotations, - "tasks:comments" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_comments, - "tasks:completed_at" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_completedAt, - "tasks:created_at" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_createdAt, - "tasks:file_upload" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_fileUpload, - "tasks:ground_truth" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_groundTruth, - "tasks:id" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_id, - "tasks:inner_id" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_innerId, - "tasks:predictions_model_versions" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_predictionsModelVersions, - "tasks:predictions_results" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_predictionsResults, - "tasks:predictions_score" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_predictionsScore, - "tasks:reviewed" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewed, - "tasks:reviewers" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewers, - "tasks:reviews_accepted" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewsAccepted, - "tasks:reviews_rejected" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_reviewsRejected, - "tasks:total_annotations" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_totalAnnotations, - "tasks:total_predictions" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_totalPredictions, - "tasks:unresolved_comment_count" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_unresolvedCommentCount, - "tasks:updated_at" => ApiDmViewsCreateRequestDataOrderingItem.Tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestData.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestData.g.cs deleted file mode 100644 index 9e2afbcc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestData.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Custom view data - /// - public sealed partial class ApiDmViewsPartialUpdateRequestData - { - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filters")] - public global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters? Filters { get; set; } - - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ordering")] - public global::System.Collections.Generic.IList? Ordering { 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. - /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsPartialUpdateRequestData( - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters? filters, - global::System.Collections.Generic.IList? ordering) - { - this.Filters = filters; - this.Ordering = ordering; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsPartialUpdateRequestData() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFilters.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFilters.Json.g.cs deleted file mode 100644 index a79649c1..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFilters.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsPartialUpdateRequestDataFilters - { - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFilters? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters? 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.ApiDmViewsPartialUpdateRequestDataFilters? 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.ApiDmViewsPartialUpdateRequestDataFilters), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFilters; - } - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFilters.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFilters.g.cs deleted file mode 100644 index 7ca57c84..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFilters.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - public sealed partial class ApiDmViewsPartialUpdateRequestDataFilters - { - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conjunction")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersConjunctionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction Conjunction { get; set; } - - /// - /// List of filter items - /// - [global::System.Text.Json.Serialization.JsonPropertyName("items")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Items { 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. - /// - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - /// - /// List of filter items - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsPartialUpdateRequestDataFilters( - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersConjunction conjunction, - global::System.Collections.Generic.IList items) - { - this.Conjunction = conjunction; - this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsPartialUpdateRequestDataFilters() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersConjunction.g.cs deleted file mode 100644 index cf1f63f4..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersConjunction.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - public enum ApiDmViewsPartialUpdateRequestDataFiltersConjunction - { - /// - /// - /// - And, - /// - /// - /// - Or, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsPartialUpdateRequestDataFiltersConjunctionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsPartialUpdateRequestDataFiltersConjunction value) - { - return value switch - { - ApiDmViewsPartialUpdateRequestDataFiltersConjunction.And => "and", - ApiDmViewsPartialUpdateRequestDataFiltersConjunction.Or => "or", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsPartialUpdateRequestDataFiltersConjunction? ToEnum(string value) - { - return value switch - { - "and" => ApiDmViewsPartialUpdateRequestDataFiltersConjunction.And, - "or" => ApiDmViewsPartialUpdateRequestDataFiltersConjunction.Or, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItem.Json.g.cs deleted file mode 100644 index 46dab8ed..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItem.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItem - { - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItem), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItem; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItem? 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.ApiDmViewsPartialUpdateRequestDataFiltersItem? 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.ApiDmViewsPartialUpdateRequestDataFiltersItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItem; - } - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItem.g.cs deleted file mode 100644 index c74589f8..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItem.g.cs +++ /dev/null @@ -1,97 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"filter":"filter:tasks:id","operator":"greater","type":"Number","value":123} - /// - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItem - { - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("child_filters")] - public global::System.Collections.Generic.IList? ChildFilters { get; set; } - - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsPartialUpdateRequestDataFiltersItem( - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter filter, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator @operator, - string type, - global::LabelStudio.OneOf value, - global::System.Collections.Generic.IList? childFilters) - { - this.ChildFilters = childFilters; - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsPartialUpdateRequestDataFiltersItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter.Json.g.cs deleted file mode 100644 index c2f63cbe..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter - { - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter; - } - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter.g.cs deleted file mode 100644 index 00a64e1c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter.g.cs +++ /dev/null @@ -1,86 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter - { - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter( - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter filter, - global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator @operator, - string type, - global::LabelStudio.OneOf value) - { - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilter() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index f773380d..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter value) - { - return value switch - { - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index d9ba23e8..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator value) - { - return value switch - { - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Contains => "contains", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.EndsWith => "ends_with", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Equal => "equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Exists => "exists", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Greater => "greater", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.GreaterOrEqual => "greater_or_equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.In => "in", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.InList => "in_list", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Less => "less", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.LessOrEqual => "less_or_equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotContains => "not_contains", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotEqual => "not_equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotExists => "not_exists", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotIn => "not_in", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotInList => "not_in_list", - ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Contains, - "ends_with" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.EndsWith, - "equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Equal, - "exists" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Exists, - "greater" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Greater, - "greater_or_equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.GreaterOrEqual, - "in" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.In, - "in_list" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.InList, - "less" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.Less, - "less_or_equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.LessOrEqual, - "not_contains" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotContains, - "not_equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotEqual, - "not_exists" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotExists, - "not_in" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotIn, - "not_in_list" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.NotInList, - "starts_with" => ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs deleted file mode 100644 index d70a39c7..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary - { - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary; - } - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary.g.cs deleted file mode 100644 index 55469af5..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueDictionary - { - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList.Json.g.cs deleted file mode 100644 index 9fe48e33..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList - { - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList; - } - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList.g.cs deleted file mode 100644 index cf5ea5eb..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemChildFilterValueList - { - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.g.cs deleted file mode 100644 index 3d6467bc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiDmViewsPartialUpdateRequestDataFiltersItemFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsPartialUpdateRequestDataFiltersItemFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsPartialUpdateRequestDataFiltersItemFilter value) - { - return value switch - { - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsPartialUpdateRequestDataFiltersItemFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmViewsPartialUpdateRequestDataFiltersItemFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.g.cs deleted file mode 100644 index 07067a41..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiDmViewsPartialUpdateRequestDataFiltersItemOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsPartialUpdateRequestDataFiltersItemOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsPartialUpdateRequestDataFiltersItemOperator value) - { - return value switch - { - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Contains => "contains", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.EndsWith => "ends_with", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Equal => "equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Exists => "exists", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Greater => "greater", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.GreaterOrEqual => "greater_or_equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.In => "in", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.InList => "in_list", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Less => "less", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.LessOrEqual => "less_or_equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotContains => "not_contains", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotEqual => "not_equal", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotExists => "not_exists", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotIn => "not_in", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotInList => "not_in_list", - ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsPartialUpdateRequestDataFiltersItemOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Contains, - "ends_with" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.EndsWith, - "equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Equal, - "exists" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Exists, - "greater" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Greater, - "greater_or_equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.GreaterOrEqual, - "in" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.In, - "in_list" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.InList, - "less" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.Less, - "less_or_equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.LessOrEqual, - "not_contains" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotContains, - "not_equal" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotEqual, - "not_exists" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotExists, - "not_in" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotIn, - "not_in_list" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.NotInList, - "starts_with" => ApiDmViewsPartialUpdateRequestDataFiltersItemOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary.Json.g.cs deleted file mode 100644 index dbf60a83..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary - { - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary; - } - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary.g.cs deleted file mode 100644 index 46586f83..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemValueDictionary - { - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList.Json.g.cs deleted file mode 100644 index 555c5725..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemValueList - { - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList? 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList; - } - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList.g.cs deleted file mode 100644 index 8b210e0c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataFiltersItemValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiDmViewsPartialUpdateRequestDataFiltersItemValueList - { - - /// - /// 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.ApiDmViewsPartialUpdateRequestDataOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataOrderingItem.g.cs deleted file mode 100644 index 2708d4a9..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestDataOrderingItem.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public enum ApiDmViewsPartialUpdateRequestDataOrderingItem - { - /// - /// - /// - Tasks_agreement, - /// - /// - /// - Tasks_annotationsResults, - /// - /// - /// - Tasks_annotators, - /// - /// - /// - Tasks_cancelledAnnotations, - /// - /// - /// - Tasks_comments, - /// - /// - /// - Tasks_completedAt, - /// - /// - /// - Tasks_createdAt, - /// - /// - /// - Tasks_fileUpload, - /// - /// - /// - Tasks_groundTruth, - /// - /// - /// - Tasks_id, - /// - /// - /// - Tasks_innerId, - /// - /// - /// - Tasks_predictionsModelVersions, - /// - /// - /// - Tasks_predictionsResults, - /// - /// - /// - Tasks_predictionsScore, - /// - /// - /// - Tasks_reviewed, - /// - /// - /// - Tasks_reviewers, - /// - /// - /// - Tasks_reviewsAccepted, - /// - /// - /// - Tasks_reviewsRejected, - /// - /// - /// - Tasks_totalAnnotations, - /// - /// - /// - Tasks_totalPredictions, - /// - /// - /// - Tasks_unresolvedCommentCount, - /// - /// - /// - Tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsPartialUpdateRequestDataOrderingItemExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsPartialUpdateRequestDataOrderingItem value) - { - return value switch - { - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_agreement => "tasks:agreement", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_annotationsResults => "tasks:annotations_results", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_annotators => "tasks:annotators", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_cancelledAnnotations => "tasks:cancelled_annotations", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_comments => "tasks:comments", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_completedAt => "tasks:completed_at", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_createdAt => "tasks:created_at", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_fileUpload => "tasks:file_upload", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_groundTruth => "tasks:ground_truth", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_id => "tasks:id", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_innerId => "tasks:inner_id", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_predictionsModelVersions => "tasks:predictions_model_versions", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_predictionsResults => "tasks:predictions_results", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_predictionsScore => "tasks:predictions_score", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewed => "tasks:reviewed", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewers => "tasks:reviewers", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewsAccepted => "tasks:reviews_accepted", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewsRejected => "tasks:reviews_rejected", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_totalAnnotations => "tasks:total_annotations", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_totalPredictions => "tasks:total_predictions", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_unresolvedCommentCount => "tasks:unresolved_comment_count", - ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_updatedAt => "tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsPartialUpdateRequestDataOrderingItem? ToEnum(string value) - { - return value switch - { - "tasks:agreement" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_agreement, - "tasks:annotations_results" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_annotationsResults, - "tasks:annotators" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_annotators, - "tasks:cancelled_annotations" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_cancelledAnnotations, - "tasks:comments" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_comments, - "tasks:completed_at" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_completedAt, - "tasks:created_at" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_createdAt, - "tasks:file_upload" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_fileUpload, - "tasks:ground_truth" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_groundTruth, - "tasks:id" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_id, - "tasks:inner_id" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_innerId, - "tasks:predictions_model_versions" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_predictionsModelVersions, - "tasks:predictions_results" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_predictionsResults, - "tasks:predictions_score" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_predictionsScore, - "tasks:reviewed" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewed, - "tasks:reviewers" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewers, - "tasks:reviews_accepted" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewsAccepted, - "tasks:reviews_rejected" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_reviewsRejected, - "tasks:total_annotations" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_totalAnnotations, - "tasks:total_predictions" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_totalPredictions, - "tasks:unresolved_comment_count" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_unresolvedCommentCount, - "tasks:updated_at" => ApiDmViewsPartialUpdateRequestDataOrderingItem.Tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequest.g.cs deleted file mode 100644 index 1192584c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequest.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiDmViewsUpdateRequest - { - /// - /// Custom view data - /// - [global::System.Text.Json.Serialization.JsonPropertyName("data")] - public global::LabelStudio.ApiDmViewsUpdateRequestData? Data { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { 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. - /// - /// - /// Custom view data - /// - /// - /// Project ID - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsUpdateRequest( - global::LabelStudio.ApiDmViewsUpdateRequestData? data, - int? project) - { - this.Data = data; - this.Project = project; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestData.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestData.g.cs deleted file mode 100644 index 356625f3..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestData.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Custom view data - /// - public sealed partial class ApiDmViewsUpdateRequestData - { - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filters")] - public global::LabelStudio.ApiDmViewsUpdateRequestDataFilters? Filters { get; set; } - - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ordering")] - public global::System.Collections.Generic.IList? Ordering { 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. - /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - /// - /// List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsUpdateRequestData( - global::LabelStudio.ApiDmViewsUpdateRequestDataFilters? filters, - global::System.Collections.Generic.IList? ordering) - { - this.Filters = filters; - this.Ordering = ordering; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsUpdateRequestData() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFilters.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFilters.Json.g.cs deleted file mode 100644 index f54864a0..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFilters.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsUpdateRequestDataFilters - { - /// - /// 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.ApiDmViewsUpdateRequestDataFilters? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFilters), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestDataFilters; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFilters? 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.ApiDmViewsUpdateRequestDataFilters? 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.ApiDmViewsUpdateRequestDataFilters), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestDataFilters; - } - - /// - /// 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.ApiDmViewsUpdateRequestDataFilters.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFilters.g.cs deleted file mode 100644 index b6cfec8e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFilters.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - public sealed partial class ApiDmViewsUpdateRequestDataFilters - { - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conjunction")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersConjunctionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction Conjunction { get; set; } - - /// - /// List of filter items - /// - [global::System.Text.Json.Serialization.JsonPropertyName("items")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Items { 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. - /// - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - /// - /// List of filter items - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsUpdateRequestDataFilters( - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersConjunction conjunction, - global::System.Collections.Generic.IList items) - { - this.Conjunction = conjunction; - this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsUpdateRequestDataFilters() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersConjunction.g.cs deleted file mode 100644 index 0cb9cd96..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersConjunction.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - public enum ApiDmViewsUpdateRequestDataFiltersConjunction - { - /// - /// - /// - And, - /// - /// - /// - Or, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsUpdateRequestDataFiltersConjunctionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsUpdateRequestDataFiltersConjunction value) - { - return value switch - { - ApiDmViewsUpdateRequestDataFiltersConjunction.And => "and", - ApiDmViewsUpdateRequestDataFiltersConjunction.Or => "or", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsUpdateRequestDataFiltersConjunction? ToEnum(string value) - { - return value switch - { - "and" => ApiDmViewsUpdateRequestDataFiltersConjunction.And, - "or" => ApiDmViewsUpdateRequestDataFiltersConjunction.Or, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItem.g.cs deleted file mode 100644 index 4e2a0beb..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItem.g.cs +++ /dev/null @@ -1,97 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"filter":"filter:tasks:id","operator":"greater","type":"Number","value":123} - /// - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItem - { - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("child_filters")] - public global::System.Collections.Generic.IList? ChildFilters { get; set; } - - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsUpdateRequestDataFiltersItem( - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemFilter filter, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemOperator @operator, - string type, - global::LabelStudio.OneOf value, - global::System.Collections.Generic.IList? childFilters) - { - this.ChildFilters = childFilters; - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsUpdateRequestDataFiltersItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilter.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilter.Json.g.cs deleted file mode 100644 index e73a8824..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilter.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemChildFilter - { - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilter? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilter), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilter; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilter? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilter? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilter), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilter; - } - - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilter.g.cs deleted file mode 100644 index d843874e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilter.g.cs +++ /dev/null @@ -1,86 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemChildFilter - { - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiDmViewsUpdateRequestDataFiltersItemChildFilter( - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter filter, - global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator @operator, - string type, - global::LabelStudio.OneOf value) - { - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiDmViewsUpdateRequestDataFiltersItemChildFilter() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index e6b24d61..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter value) - { - return value switch - { - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index 3083b16d..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator value) - { - return value switch - { - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Contains => "contains", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.EndsWith => "ends_with", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Equal => "equal", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Exists => "exists", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Greater => "greater", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.GreaterOrEqual => "greater_or_equal", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.In => "in", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.InList => "in_list", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Less => "less", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.LessOrEqual => "less_or_equal", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotContains => "not_contains", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotEqual => "not_equal", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotExists => "not_exists", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotIn => "not_in", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotInList => "not_in_list", - ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Contains, - "ends_with" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.EndsWith, - "equal" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Equal, - "exists" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Exists, - "greater" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Greater, - "greater_or_equal" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.GreaterOrEqual, - "in" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.In, - "in_list" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.InList, - "less" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.Less, - "less_or_equal" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.LessOrEqual, - "not_contains" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotContains, - "not_equal" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotEqual, - "not_exists" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotExists, - "not_in" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotIn, - "not_in_list" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.NotInList, - "starts_with" => ApiDmViewsUpdateRequestDataFiltersItemChildFilterOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs deleted file mode 100644 index ea979aea..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary - { - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary; - } - - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary.g.cs deleted file mode 100644 index 975c57e2..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueDictionary - { - - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList.Json.g.cs deleted file mode 100644 index f5a90c87..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList - { - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList? 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList; - } - - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList.g.cs deleted file mode 100644 index 31082a3c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemChildFilterValueList - { - - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary.Json.g.cs deleted file mode 100644 index 4eb4a9d7..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemValueDictionary - { - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary? 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.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary? 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.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary; - } - - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary.g.cs deleted file mode 100644 index 0a86c45e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemValueDictionary - { - - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueList.Json.g.cs deleted file mode 100644 index 2794a00d..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemValueList - { - /// - /// 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.ApiDmViewsUpdateRequestDataFiltersItemValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueList? 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.ApiDmViewsUpdateRequestDataFiltersItemValueList? 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.ApiDmViewsUpdateRequestDataFiltersItemValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItemValueList; - } - - /// - /// 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.ApiDmViewsUpdateRequestDataOrderingItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataOrderingItem.g.cs deleted file mode 100644 index 91268a16..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataOrderingItem.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public enum ApiDmViewsUpdateRequestDataOrderingItem - { - /// - /// - /// - Tasks_agreement, - /// - /// - /// - Tasks_annotationsResults, - /// - /// - /// - Tasks_annotators, - /// - /// - /// - Tasks_cancelledAnnotations, - /// - /// - /// - Tasks_comments, - /// - /// - /// - Tasks_completedAt, - /// - /// - /// - Tasks_createdAt, - /// - /// - /// - Tasks_fileUpload, - /// - /// - /// - Tasks_groundTruth, - /// - /// - /// - Tasks_id, - /// - /// - /// - Tasks_innerId, - /// - /// - /// - Tasks_predictionsModelVersions, - /// - /// - /// - Tasks_predictionsResults, - /// - /// - /// - Tasks_predictionsScore, - /// - /// - /// - Tasks_reviewed, - /// - /// - /// - Tasks_reviewers, - /// - /// - /// - Tasks_reviewsAccepted, - /// - /// - /// - Tasks_reviewsRejected, - /// - /// - /// - Tasks_totalAnnotations, - /// - /// - /// - Tasks_totalPredictions, - /// - /// - /// - Tasks_unresolvedCommentCount, - /// - /// - /// - Tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiDmViewsUpdateRequestDataOrderingItemExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiDmViewsUpdateRequestDataOrderingItem value) - { - return value switch - { - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_agreement => "tasks:agreement", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_annotationsResults => "tasks:annotations_results", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_annotators => "tasks:annotators", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_cancelledAnnotations => "tasks:cancelled_annotations", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_comments => "tasks:comments", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_completedAt => "tasks:completed_at", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_createdAt => "tasks:created_at", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_fileUpload => "tasks:file_upload", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_groundTruth => "tasks:ground_truth", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_id => "tasks:id", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_innerId => "tasks:inner_id", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_predictionsModelVersions => "tasks:predictions_model_versions", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_predictionsResults => "tasks:predictions_results", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_predictionsScore => "tasks:predictions_score", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewed => "tasks:reviewed", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewers => "tasks:reviewers", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewsAccepted => "tasks:reviews_accepted", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewsRejected => "tasks:reviews_rejected", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_totalAnnotations => "tasks:total_annotations", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_totalPredictions => "tasks:total_predictions", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_unresolvedCommentCount => "tasks:unresolved_comment_count", - ApiDmViewsUpdateRequestDataOrderingItem.Tasks_updatedAt => "tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiDmViewsUpdateRequestDataOrderingItem? ToEnum(string value) - { - return value switch - { - "tasks:agreement" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_agreement, - "tasks:annotations_results" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_annotationsResults, - "tasks:annotators" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_annotators, - "tasks:cancelled_annotations" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_cancelledAnnotations, - "tasks:comments" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_comments, - "tasks:completed_at" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_completedAt, - "tasks:created_at" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_createdAt, - "tasks:file_upload" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_fileUpload, - "tasks:ground_truth" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_groundTruth, - "tasks:id" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_id, - "tasks:inner_id" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_innerId, - "tasks:predictions_model_versions" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_predictionsModelVersions, - "tasks:predictions_results" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_predictionsResults, - "tasks:predictions_score" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_predictionsScore, - "tasks:reviewed" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewed, - "tasks:reviewers" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewers, - "tasks:reviews_accepted" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewsAccepted, - "tasks:reviews_rejected" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_reviewsRejected, - "tasks:total_annotations" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_totalAnnotations, - "tasks:total_predictions" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_totalPredictions, - "tasks:unresolved_comment_count" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_unresolvedCommentCount, - "tasks:updated_at" => ApiDmViewsUpdateRequestDataOrderingItem.Tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessage.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessage.Json.g.cs deleted file mode 100644 index 996d57b4..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessage.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiLlmOpenaiChatCompletionsCreateRequestMessage - { - /// - /// 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.ApiLlmOpenaiChatCompletionsCreateRequestMessage? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessage), - jsonSerializerContext) as global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessage; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessage? 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.ApiLlmOpenaiChatCompletionsCreateRequestMessage? 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.ApiLlmOpenaiChatCompletionsCreateRequestMessage), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessage; - } - - /// - /// 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.ApiLlmOpenaiChatCompletionsCreateRequestMessage.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessage.g.cs deleted file mode 100644 index 72bd5129..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessage.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiLlmOpenaiChatCompletionsCreateRequestMessage - { - /// - /// The content of the message - /// - [global::System.Text.Json.Serialization.JsonPropertyName("content")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Content { get; set; } - - /// - /// The role of the message author - /// - [global::System.Text.Json.Serialization.JsonPropertyName("role")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole Role { 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. - /// - /// - /// The content of the message - /// - /// - /// The role of the message author - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiLlmOpenaiChatCompletionsCreateRequestMessage( - string content, - global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole role) - { - this.Content = content ?? throw new global::System.ArgumentNullException(nameof(content)); - this.Role = role; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiLlmOpenaiChatCompletionsCreateRequestMessage() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.g.cs deleted file mode 100644 index 4686019a..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.g.cs +++ /dev/null @@ -1,57 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// The role of the message author - /// - public enum ApiLlmOpenaiChatCompletionsCreateRequestMessageRole - { - /// - /// - /// - Assistant, - /// - /// - /// - System, - /// - /// - /// - User, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiLlmOpenaiChatCompletionsCreateRequestMessageRoleExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiLlmOpenaiChatCompletionsCreateRequestMessageRole value) - { - return value switch - { - ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.Assistant => "assistant", - ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.System => "system", - ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.User => "user", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiLlmOpenaiChatCompletionsCreateRequestMessageRole? ToEnum(string value) - { - return value switch - { - "assistant" => ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.Assistant, - "system" => ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.System, - "user" => ApiLlmOpenaiChatCompletionsCreateRequestMessageRole.User, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestExtraParams.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestExtraParams.Json.g.cs deleted file mode 100644 index 0649bf1e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestExtraParams.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiMlCreateRequestExtraParams - { - /// - /// 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.ApiMlCreateRequestExtraParams? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiMlCreateRequestExtraParams), - jsonSerializerContext) as global::LabelStudio.ApiMlCreateRequestExtraParams; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiMlCreateRequestExtraParams? 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.ApiMlCreateRequestExtraParams? 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.ApiMlCreateRequestExtraParams), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiMlCreateRequestExtraParams; - } - - /// - /// 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.ApiMlPartialUpdateRequestAuthMethod.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequestAuthMethod.g.cs deleted file mode 100644 index 3171c175..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequestAuthMethod.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Auth method - /// - public enum ApiMlPartialUpdateRequestAuthMethod - { - /// - /// - /// - BasicAuth, - /// - /// - /// - None, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiMlPartialUpdateRequestAuthMethodExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiMlPartialUpdateRequestAuthMethod value) - { - return value switch - { - ApiMlPartialUpdateRequestAuthMethod.BasicAuth => "BASIC_AUTH", - ApiMlPartialUpdateRequestAuthMethod.None => "NONE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiMlPartialUpdateRequestAuthMethod? ToEnum(string value) - { - return value switch - { - "BASIC_AUTH" => ApiMlPartialUpdateRequestAuthMethod.BasicAuth, - "NONE" => ApiMlPartialUpdateRequestAuthMethod.None, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequestExtraParams.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequestExtraParams.Json.g.cs deleted file mode 100644 index b8f91ed6..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequestExtraParams.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiMlPartialUpdateRequestExtraParams - { - /// - /// 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.ApiMlPartialUpdateRequestExtraParams? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiMlPartialUpdateRequestExtraParams), - jsonSerializerContext) as global::LabelStudio.ApiMlPartialUpdateRequestExtraParams; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiMlPartialUpdateRequestExtraParams? 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.ApiMlPartialUpdateRequestExtraParams? 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.ApiMlPartialUpdateRequestExtraParams), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiMlPartialUpdateRequestExtraParams; - } - - /// - /// 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.ApiMlPartialUpdateRequestExtraParams.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequestExtraParams.g.cs deleted file mode 100644 index 5a09a568..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequestExtraParams.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Extra parameters - /// - public sealed partial class ApiMlPartialUpdateRequestExtraParams - { - - /// - /// 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.ApiPredictionsCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequest.g.cs deleted file mode 100644 index 4f1d0dfb..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequest.g.cs +++ /dev/null @@ -1,88 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"model_version":"yolo-v8","result":[{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}],"score":0.95} - /// - public sealed partial class ApiPredictionsCreateRequest - { - /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 - ///
- /// yolo-v8 - [global::System.Text.Json.Serialization.JsonPropertyName("model_version")] - public string? ModelVersion { get; set; } - - /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - ///
- /// [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - public global::System.Collections.Generic.IList? Result { get; set; } - - /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - ///
- /// 0.95 - [global::System.Text.Json.Serialization.JsonPropertyName("score")] - public double? Score { get; set; } - - /// - /// Task ID for which the prediction is created - /// - [global::System.Text.Json.Serialization.JsonPropertyName("task")] - public int? Task { 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. - /// - /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 - /// - /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - /// - /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiPredictionsCreateRequest( - string? modelVersion, - global::System.Collections.Generic.IList? result, - double? score, - int? task) - { - this.ModelVersion = modelVersion; - this.Result = result; - this.Score = score; - this.Task = task; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiPredictionsCreateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequestResultItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequestResultItem.Json.g.cs deleted file mode 100644 index 4328bea2..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequestResultItem.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiPredictionsCreateRequestResultItem - { - /// - /// 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.ApiPredictionsCreateRequestResultItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiPredictionsCreateRequestResultItem), - jsonSerializerContext) as global::LabelStudio.ApiPredictionsCreateRequestResultItem; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiPredictionsCreateRequestResultItem? 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.ApiPredictionsCreateRequestResultItem? 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.ApiPredictionsCreateRequestResultItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiPredictionsCreateRequestResultItem; - } - - /// - /// 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.ApiPredictionsCreateRequestResultItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequestResultItem.g.cs deleted file mode 100644 index 14094912..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequestResultItem.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiPredictionsCreateRequestResultItem - { - - /// - /// 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.ApiPredictionsPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequest.g.cs deleted file mode 100644 index 311aae2f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequest.g.cs +++ /dev/null @@ -1,88 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"model_version":"yolo-v8","result":[{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}],"score":0.95} - /// - public sealed partial class ApiPredictionsPartialUpdateRequest - { - /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 - ///
- /// yolo-v8 - [global::System.Text.Json.Serialization.JsonPropertyName("model_version")] - public string? ModelVersion { get; set; } - - /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - ///
- /// [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - public global::System.Collections.Generic.IList? Result { get; set; } - - /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - ///
- /// 0.95 - [global::System.Text.Json.Serialization.JsonPropertyName("score")] - public double? Score { get; set; } - - /// - /// Task ID for which the prediction is created - /// - [global::System.Text.Json.Serialization.JsonPropertyName("task")] - public int? Task { 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. - /// - /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 - /// - /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - /// - /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiPredictionsPartialUpdateRequest( - string? modelVersion, - global::System.Collections.Generic.IList? result, - double? score, - int? task) - { - this.ModelVersion = modelVersion; - this.Result = result; - this.Score = score; - this.Task = task; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiPredictionsPartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequestResultItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequestResultItem.Json.g.cs deleted file mode 100644 index 724e185f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequestResultItem.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiPredictionsPartialUpdateRequestResultItem - { - /// - /// 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.ApiPredictionsPartialUpdateRequestResultItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiPredictionsPartialUpdateRequestResultItem), - jsonSerializerContext) as global::LabelStudio.ApiPredictionsPartialUpdateRequestResultItem; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiPredictionsPartialUpdateRequestResultItem? 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.ApiPredictionsPartialUpdateRequestResultItem? 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.ApiPredictionsPartialUpdateRequestResultItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiPredictionsPartialUpdateRequestResultItem; - } - - /// - /// 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.ApiPredictionsPartialUpdateRequestResultItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequestResultItem.g.cs deleted file mode 100644 index c12c6bed..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequestResultItem.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiPredictionsPartialUpdateRequestResultItem - { - - /// - /// 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.ApiPredictionsUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequest.g.cs deleted file mode 100644 index 84da8911..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequest.g.cs +++ /dev/null @@ -1,88 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"model_version":"yolo-v8","result":[{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}],"score":0.95} - /// - public sealed partial class ApiPredictionsUpdateRequest - { - /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 - ///
- /// yolo-v8 - [global::System.Text.Json.Serialization.JsonPropertyName("model_version")] - public string? ModelVersion { get; set; } - - /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - ///
- /// [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - public global::System.Collections.Generic.IList? Result { get; set; } - - /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - ///
- /// 0.95 - [global::System.Text.Json.Serialization.JsonPropertyName("score")] - public double? Score { get; set; } - - /// - /// Task ID for which the prediction is created - /// - [global::System.Text.Json.Serialization.JsonPropertyName("task")] - public int? Task { 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. - /// - /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 - /// - /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - /// - /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiPredictionsUpdateRequest( - string? modelVersion, - global::System.Collections.Generic.IList? result, - double? score, - int? task) - { - this.ModelVersion = modelVersion; - this.Result = result; - this.Score = score; - this.Task = task; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiPredictionsUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequestResultItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequestResultItem.Json.g.cs deleted file mode 100644 index ed672dc4..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequestResultItem.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiPredictionsUpdateRequestResultItem - { - /// - /// 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.ApiPredictionsUpdateRequestResultItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiPredictionsUpdateRequestResultItem), - jsonSerializerContext) as global::LabelStudio.ApiPredictionsUpdateRequestResultItem; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiPredictionsUpdateRequestResultItem? 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.ApiPredictionsUpdateRequestResultItem? 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.ApiPredictionsUpdateRequestResultItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiPredictionsUpdateRequestResultItem; - } - - /// - /// 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.ApiProjectTemplatesCreateProjectCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectTemplatesCreateProjectCreateRequest.Json.g.cs deleted file mode 100644 index bae8caba..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectTemplatesCreateProjectCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectTemplatesCreateProjectCreateRequest - { - /// - /// 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.ApiProjectTemplatesCreateProjectCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest? 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.ApiProjectTemplatesCreateProjectCreateRequest? 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.ApiProjectTemplatesCreateProjectCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFilters.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFilters.Json.g.cs deleted file mode 100644 index 2a6fe5d6..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFilters.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFilters - { - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFilters? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters? 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.ApiProjectsTasksAssigneesBulkCreateRequestFilters? 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.ApiProjectsTasksAssigneesBulkCreateRequestFilters), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFilters.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFilters.g.cs deleted file mode 100644 index 4ee99b80..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFilters.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFilters - { - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("conjunction")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction Conjunction { get; set; } - - /// - /// List of filter items - /// - [global::System.Text.Json.Serialization.JsonPropertyName("items")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Items { 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. - /// - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - /// - /// List of filter items - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiProjectsTasksAssigneesBulkCreateRequestFilters( - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction conjunction, - global::System.Collections.Generic.IList items) - { - this.Conjunction = conjunction; - this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); - } - - /// - /// Initializes a new instance of the class. - /// - public ApiProjectsTasksAssigneesBulkCreateRequestFilters() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.g.cs deleted file mode 100644 index 24eb922b..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - /// - public enum ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction - { - /// - /// - /// - And, - /// - /// - /// - Or, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunctionExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction value) - { - return value switch - { - ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.And => "and", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.Or => "or", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction? ToEnum(string value) - { - return value switch - { - "and" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.And, - "or" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersConjunction.Or, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem.Json.g.cs deleted file mode 100644 index e05f009c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem - { - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem.g.cs deleted file mode 100644 index 99f79d89..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem.g.cs +++ /dev/null @@ -1,97 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"filter":"filter:tasks:id","operator":"greater","type":"Number","value":123} - /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem - { - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("child_filters")] - public global::System.Collections.Generic.IList? ChildFilters { get; set; } - - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// - /// - /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem( - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter filter, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator @operator, - string type, - global::LabelStudio.OneOf value, - global::System.Collections.Generic.IList? childFilters) - { - this.ChildFilters = childFilters; - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiProjectsTasksAssigneesBulkCreateRequestFiltersItem() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter.Json.g.cs deleted file mode 100644 index 60d18ec9..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter - { - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter.g.cs deleted file mode 100644 index 12522e6d..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter.g.cs +++ /dev/null @@ -1,86 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter - { - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter Filter { get; set; } - - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator Operator { get; set; } - - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Type { get; set; } - - /// - /// Value to filter by - /// - [global::System.Text.Json.Serialization.JsonPropertyName("value")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf Value { 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. - /// - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - /// - /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> - /// - /// - /// Value to filter by - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter( - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter filter, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator @operator, - string type, - global::LabelStudio.OneOf value) - { - this.Filter = filter; - this.Operator = @operator; - this.Type = type ?? throw new global::System.ArgumentNullException(nameof(type)); - this.Value = value; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilter() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.g.cs deleted file mode 100644 index d3712270..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter value) - { - return value switch - { - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_id => "filter:tasks:id", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.g.cs deleted file mode 100644 index 8cdea0ba..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator value) - { - return value switch - { - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Contains => "contains", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.EndsWith => "ends_with", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Equal => "equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Exists => "exists", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Greater => "greater", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.GreaterOrEqual => "greater_or_equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.In => "in", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.InList => "in_list", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Less => "less", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.LessOrEqual => "less_or_equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotContains => "not_contains", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotEqual => "not_equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotExists => "not_exists", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotIn => "not_in", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotInList => "not_in_list", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Contains, - "ends_with" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.EndsWith, - "equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Equal, - "exists" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Exists, - "greater" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Greater, - "greater_or_equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.GreaterOrEqual, - "in" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.In, - "in_list" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.InList, - "less" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.Less, - "less_or_equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.LessOrEqual, - "not_contains" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotContains, - "not_equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotEqual, - "not_exists" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotExists, - "not_in" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotIn, - "not_in_list" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.NotInList, - "starts_with" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary.Json.g.cs deleted file mode 100644 index b575577e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary - { - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary.g.cs deleted file mode 100644 index 17bc8df5..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueDictionary - { - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList.Json.g.cs deleted file mode 100644 index 9054d858..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList - { - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList.g.cs deleted file mode 100644 index ad2caac9..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemChildFilterValueList - { - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.g.cs deleted file mode 100644 index 6325c551..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.g.cs +++ /dev/null @@ -1,171 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - public enum ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter - { - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_agreement, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotationsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_annotators, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_cancelledAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_comments, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_completedAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_createdAt, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_fileUpload, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_groundTruth, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_id, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_innerId, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsModelVersions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsResults, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_predictionsScore, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewed, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewers, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsAccepted, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_reviewsRejected, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalAnnotations, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_totalPredictions, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_unresolvedCommentCount, - /// - /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> - /// - Filter_tasks_updatedAt, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilterExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter value) - { - return value switch - { - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_id => "filter:tasks:id", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter? ToEnum(string value) - { - return value switch - { - "filter:tasks:agreement" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemFilter.Filter_tasks_updatedAt, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.g.cs deleted file mode 100644 index bd19fc53..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.g.cs +++ /dev/null @@ -1,135 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - public enum ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator - { - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Contains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - EndsWith, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Equal, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Exists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Greater, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - GreaterOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - In, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - InList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - Less, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - LessOrEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotContains, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotEqual, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotExists, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotIn, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - NotInList, - /// - /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> - /// - StartsWith, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperatorExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator value) - { - return value switch - { - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Contains => "contains", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.EndsWith => "ends_with", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Equal => "equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Exists => "exists", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Greater => "greater", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.GreaterOrEqual => "greater_or_equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.In => "in", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.InList => "in_list", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Less => "less", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.LessOrEqual => "less_or_equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotContains => "not_contains", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotEqual => "not_equal", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotExists => "not_exists", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotIn => "not_in", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotInList => "not_in_list", - ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.StartsWith => "starts_with", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator? ToEnum(string value) - { - return value switch - { - "contains" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Contains, - "ends_with" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.EndsWith, - "equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Equal, - "exists" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Exists, - "greater" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Greater, - "greater_or_equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.GreaterOrEqual, - "in" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.In, - "in_list" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.InList, - "less" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.Less, - "less_or_equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.LessOrEqual, - "not_contains" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotContains, - "not_equal" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotEqual, - "not_exists" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotExists, - "not_in" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotIn, - "not_in_list" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.NotInList, - "starts_with" => ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemOperator.StartsWith, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary.Json.g.cs deleted file mode 100644 index 0ae09bed..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary - { - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary.g.cs deleted file mode 100644 index cb06d313..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Dictionary is used for some operator types, e.g. `in` and `not_in` - /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueDictionary - { - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList.Json.g.cs deleted file mode 100644 index 583f89dd..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList - { - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList? 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList; - } - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList.g.cs deleted file mode 100644 index 71c93b07..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestFiltersItemValueList - { - - /// - /// 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.ApiProjectsTasksAssigneesBulkCreateRequestType.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestType.g.cs deleted file mode 100644 index cde48b54..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Assignment type. Use AN for annotate or RE for review. - /// - public enum ApiProjectsTasksAssigneesBulkCreateRequestType - { - /// - /// - /// - An, - /// - /// - /// - Re, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesBulkCreateRequestTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesBulkCreateRequestType value) - { - return value switch - { - ApiProjectsTasksAssigneesBulkCreateRequestType.An => "AN", - ApiProjectsTasksAssigneesBulkCreateRequestType.Re => "RE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesBulkCreateRequestType? ToEnum(string value) - { - return value switch - { - "AN" => ApiProjectsTasksAssigneesBulkCreateRequestType.An, - "RE" => ApiProjectsTasksAssigneesBulkCreateRequestType.Re, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequestType.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequestType.g.cs deleted file mode 100644 index b530ff32..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequestType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Assignment type. Use AN for annotate or RE for review. - /// - public enum ApiProjectsTasksAssigneesCreateRequestType - { - /// - /// - /// - An, - /// - /// - /// - Re, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesCreateRequestTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesCreateRequestType value) - { - return value switch - { - ApiProjectsTasksAssigneesCreateRequestType.An => "AN", - ApiProjectsTasksAssigneesCreateRequestType.Re => "RE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesCreateRequestType? ToEnum(string value) - { - return value switch - { - "AN" => ApiProjectsTasksAssigneesCreateRequestType.An, - "RE" => ApiProjectsTasksAssigneesCreateRequestType.Re, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequest.Json.g.cs deleted file mode 100644 index 64c9d9dd..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiProjectsTasksAssigneesPartialUpdateRequest - { - /// - /// 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.ApiProjectsTasksAssigneesPartialUpdateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest? 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.ApiProjectsTasksAssigneesPartialUpdateRequest? 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.ApiProjectsTasksAssigneesPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest; - } - - /// - /// 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.ApiProjectsTasksAssigneesPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequest.g.cs deleted file mode 100644 index d5ec5953..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequest.g.cs +++ /dev/null @@ -1,60 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiProjectsTasksAssigneesPartialUpdateRequest - { - /// - /// Assignment type. Use AN for annotate or RE for review. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesPartialUpdateRequestTypeJsonConverter))] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType Type { get; set; } - - /// - /// List of user IDs to assign - /// - [global::System.Text.Json.Serialization.JsonPropertyName("users")] - [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Users { 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. - /// - /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiProjectsTasksAssigneesPartialUpdateRequest( - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType type, - global::System.Collections.Generic.IList users) - { - this.Type = type; - this.Users = users ?? throw new global::System.ArgumentNullException(nameof(users)); - } - - /// - /// Initializes a new instance of the class. - /// - public ApiProjectsTasksAssigneesPartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequestType.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequestType.g.cs deleted file mode 100644 index 50e47780..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesPartialUpdateRequestType.g.cs +++ /dev/null @@ -1,51 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Assignment type. Use AN for annotate or RE for review. - /// - public enum ApiProjectsTasksAssigneesPartialUpdateRequestType - { - /// - /// - /// - An, - /// - /// - /// - Re, - } - - /// - /// Enum extensions to do fast conversions without the reflection. - /// - public static class ApiProjectsTasksAssigneesPartialUpdateRequestTypeExtensions - { - /// - /// Converts an enum to a string. - /// - public static string ToValueString(this ApiProjectsTasksAssigneesPartialUpdateRequestType value) - { - return value switch - { - ApiProjectsTasksAssigneesPartialUpdateRequestType.An => "AN", - ApiProjectsTasksAssigneesPartialUpdateRequestType.Re => "RE", - _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), - }; - } - /// - /// Converts an string to a enum. - /// - public static ApiProjectsTasksAssigneesPartialUpdateRequestType? ToEnum(string value) - { - return value switch - { - "AN" => ApiProjectsTasksAssigneesPartialUpdateRequestType.An, - "RE" => ApiProjectsTasksAssigneesPartialUpdateRequestType.Re, - _ => null, - }; - } - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureCreateRequest.Json.g.cs deleted file mode 100644 index 6f27d04a..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesAzureCreateRequest - { - /// - /// 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.ApiStoragesAzureCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesAzureCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesAzureCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesAzureCreateRequest? 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.ApiStoragesAzureCreateRequest? 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.ApiStoragesAzureCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesAzureCreateRequest; - } - - /// - /// 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.ApiStoragesAzurePartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzurePartialUpdateRequest.Json.g.cs deleted file mode 100644 index 58df2e57..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzurePartialUpdateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesAzurePartialUpdateRequest - { - /// - /// 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.ApiStoragesAzurePartialUpdateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesAzurePartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesAzurePartialUpdateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesAzurePartialUpdateRequest? 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.ApiStoragesAzurePartialUpdateRequest? 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.ApiStoragesAzurePartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesAzurePartialUpdateRequest; - } - - /// - /// 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.ApiStoragesExportAzureCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureCreateRequest.g.cs deleted file mode 100644 index 3ebf1992..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureCreateRequest.g.cs +++ /dev/null @@ -1,125 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesExportAzureCreateRequest - { - /// - /// Azure Blob account key - /// - [global::System.Text.Json.Serialization.JsonPropertyName("account_key")] - public string? AccountKey { get; set; } - - /// - /// Azure Blob account name - /// - [global::System.Text.Json.Serialization.JsonPropertyName("account_name")] - public string? AccountName { get; set; } - - /// - /// Deletion from storage enabled
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] - public bool? CanDeleteObjects { get; set; } - - /// - /// Azure blob container - /// - [global::System.Text.Json.Serialization.JsonPropertyName("container")] - public string? Container { get; set; } - - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Azure blob prefix name - /// - [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] - public string? Prefix { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { 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. - /// - /// - /// Azure Blob account key - /// - /// - /// Azure Blob account name - /// - /// - /// Deletion from storage enabled
- /// Default Value: false - /// - /// - /// Azure blob container - /// - /// - /// Storage description - /// - /// - /// Azure blob prefix name - /// - /// - /// Project ID - /// - /// - /// Storage title - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesExportAzureCreateRequest( - string? accountKey, - string? accountName, - bool? canDeleteObjects, - string? container, - string? description, - string? prefix, - int? project, - string? title) - { - this.AccountKey = accountKey; - this.AccountName = accountName; - this.CanDeleteObjects = canDeleteObjects; - this.Container = container; - this.Description = description; - this.Prefix = prefix; - this.Project = project; - this.Title = title; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesExportAzureCreateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzurePartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzurePartialUpdateRequest.g.cs deleted file mode 100644 index eeb62b2e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzurePartialUpdateRequest.g.cs +++ /dev/null @@ -1,125 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesExportAzurePartialUpdateRequest - { - /// - /// Azure Blob account key - /// - [global::System.Text.Json.Serialization.JsonPropertyName("account_key")] - public string? AccountKey { get; set; } - - /// - /// Azure Blob account name - /// - [global::System.Text.Json.Serialization.JsonPropertyName("account_name")] - public string? AccountName { get; set; } - - /// - /// Deletion from storage enabled
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] - public bool? CanDeleteObjects { get; set; } - - /// - /// Azure blob container - /// - [global::System.Text.Json.Serialization.JsonPropertyName("container")] - public string? Container { get; set; } - - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Azure blob prefix name - /// - [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] - public string? Prefix { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { 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. - /// - /// - /// Azure Blob account key - /// - /// - /// Azure Blob account name - /// - /// - /// Deletion from storage enabled
- /// Default Value: false - /// - /// - /// Azure blob container - /// - /// - /// Storage description - /// - /// - /// Azure blob prefix name - /// - /// - /// Project ID - /// - /// - /// Storage title - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesExportAzurePartialUpdateRequest( - string? accountKey, - string? accountName, - bool? canDeleteObjects, - string? container, - string? description, - string? prefix, - int? project, - string? title) - { - this.AccountKey = accountKey; - this.AccountName = accountName; - this.CanDeleteObjects = canDeleteObjects; - this.Container = container; - this.Description = description; - this.Prefix = prefix; - this.Project = project; - this.Title = title; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesExportAzurePartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureValidateCreateRequest.Json.g.cs deleted file mode 100644 index 42c051f8..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureValidateCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportAzureValidateCreateRequest - { - /// - /// 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.ApiStoragesExportAzureValidateCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest? 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.ApiStoragesExportAzureValidateCreateRequest? 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.ApiStoragesExportAzureValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest; - } - - /// - /// 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.ApiStoragesExportGcsPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsPartialUpdateRequest.Json.g.cs deleted file mode 100644 index 2791a14f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsPartialUpdateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportGcsPartialUpdateRequest - { - /// - /// 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.ApiStoragesExportGcsPartialUpdateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest? 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.ApiStoragesExportGcsPartialUpdateRequest? 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.ApiStoragesExportGcsPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest; - } - - /// - /// 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.ApiStoragesExportGcsPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsPartialUpdateRequest.g.cs deleted file mode 100644 index 9e7254c6..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsPartialUpdateRequest.g.cs +++ /dev/null @@ -1,125 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesExportGcsPartialUpdateRequest - { - /// - /// GCS bucket name - /// - [global::System.Text.Json.Serialization.JsonPropertyName("bucket")] - public string? Bucket { get; set; } - - /// - /// Deletion from storage enabled.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] - public bool? CanDeleteObjects { get; set; } - - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("google_application_credentials")] - public string? GoogleApplicationCredentials { get; set; } - - /// - /// Google project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("google_project_id")] - public string? GoogleProjectId { get; set; } - - /// - /// GCS bucket prefix - /// - [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] - public string? Prefix { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { 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. - /// - /// - /// GCS bucket name - /// - /// - /// Deletion from storage enabled.
- /// Default Value: false - /// - /// - /// Storage description - /// - /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - /// - /// - /// Google project ID - /// - /// - /// GCS bucket prefix - /// - /// - /// Project ID - /// - /// - /// Storage title - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesExportGcsPartialUpdateRequest( - string? bucket, - bool? canDeleteObjects, - string? description, - string? googleApplicationCredentials, - string? googleProjectId, - string? prefix, - int? project, - string? title) - { - this.Bucket = bucket; - this.CanDeleteObjects = canDeleteObjects; - this.Description = description; - this.GoogleApplicationCredentials = googleApplicationCredentials; - this.GoogleProjectId = googleProjectId; - this.Prefix = prefix; - this.Project = project; - this.Title = title; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesExportGcsPartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesCreateRequest.Json.g.cs deleted file mode 100644 index 5340c71f..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportLocalfilesCreateRequest - { - /// - /// 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.ApiStoragesExportLocalfilesCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest? 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.ApiStoragesExportLocalfilesCreateRequest? 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.ApiStoragesExportLocalfilesCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest; - } - - /// - /// 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.ApiStoragesExportLocalfilesCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesCreateRequest.g.cs deleted file mode 100644 index 02c19e2e..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesCreateRequest.g.cs +++ /dev/null @@ -1,103 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesExportLocalfilesCreateRequest - { - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Path to local directory - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public string? Path { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Regex for filtering objects - /// - [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] - public string? RegexFilter { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { get; set; } - - /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] - public bool? UseBlobUrls { 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. - /// - /// - /// Storage description - /// - /// - /// Path to local directory - /// - /// - /// Project ID - /// - /// - /// Regex for filtering objects - /// - /// - /// Storage title - /// - /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesExportLocalfilesCreateRequest( - string? description, - string? path, - int? project, - string? regexFilter, - string? title, - bool? useBlobUrls) - { - this.Description = description; - this.Path = path; - this.Project = project; - this.RegexFilter = regexFilter; - this.Title = title; - this.UseBlobUrls = useBlobUrls; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesExportLocalfilesCreateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesPartialUpdateRequest.Json.g.cs deleted file mode 100644 index c1db35e9..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesPartialUpdateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportLocalfilesPartialUpdateRequest - { - /// - /// 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.ApiStoragesExportLocalfilesPartialUpdateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest? 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.ApiStoragesExportLocalfilesPartialUpdateRequest? 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.ApiStoragesExportLocalfilesPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest; - } - - /// - /// 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.ApiStoragesExportLocalfilesValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesValidateCreateRequest.Json.g.cs deleted file mode 100644 index 9bbb94a5..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesValidateCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportLocalfilesValidateCreateRequest - { - /// - /// 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.ApiStoragesExportLocalfilesValidateCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest? 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.ApiStoragesExportLocalfilesValidateCreateRequest? 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.ApiStoragesExportLocalfilesValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest; - } - - /// - /// 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.ApiStoragesExportRedisCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisCreateRequest.g.cs deleted file mode 100644 index a5fe2bd3..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisCreateRequest.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesExportRedisCreateRequest - { - /// - /// Deletion from storage enabled.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] - public bool? CanDeleteObjects { get; set; } - - /// - /// Database ID of database to use - /// - [global::System.Text.Json.Serialization.JsonPropertyName("db")] - public int? Db { get; set; } - - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Server Host IP (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("host")] - public string? Host { get; set; } - - /// - /// Server Password (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("password")] - public string? Password { get; set; } - - /// - /// Storage prefix (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public string? Path { get; set; } - - /// - /// Server Port (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("port")] - public string? Port { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { 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. - /// - /// - /// Deletion from storage enabled.
- /// Default Value: false - /// - /// - /// Database ID of database to use - /// - /// - /// Storage description - /// - /// - /// Server Host IP (optional) - /// - /// - /// Server Password (optional) - /// - /// - /// Storage prefix (optional) - /// - /// - /// Server Port (optional) - /// - /// - /// Project ID - /// - /// - /// Storage title - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesExportRedisCreateRequest( - bool? canDeleteObjects, - int? db, - string? description, - string? host, - string? password, - string? path, - string? port, - int? project, - string? title) - { - this.CanDeleteObjects = canDeleteObjects; - this.Db = db; - this.Description = description; - this.Host = host; - this.Password = password; - this.Path = path; - this.Port = port; - this.Project = project; - this.Title = title; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesExportRedisCreateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisPartialUpdateRequest.g.cs deleted file mode 100644 index caa5acbb..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisPartialUpdateRequest.g.cs +++ /dev/null @@ -1,136 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesExportRedisPartialUpdateRequest - { - /// - /// Deletion from storage enabled.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] - public bool? CanDeleteObjects { get; set; } - - /// - /// Database ID of database to use - /// - [global::System.Text.Json.Serialization.JsonPropertyName("db")] - public int? Db { get; set; } - - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Server Host IP (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("host")] - public string? Host { get; set; } - - /// - /// Server Password (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("password")] - public string? Password { get; set; } - - /// - /// Storage prefix (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public string? Path { get; set; } - - /// - /// Server Port (optional) - /// - [global::System.Text.Json.Serialization.JsonPropertyName("port")] - public string? Port { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { 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. - /// - /// - /// Deletion from storage enabled.
- /// Default Value: false - /// - /// - /// Database ID of database to use - /// - /// - /// Storage description - /// - /// - /// Server Host IP (optional) - /// - /// - /// Server Password (optional) - /// - /// - /// Storage prefix (optional) - /// - /// - /// Server Port (optional) - /// - /// - /// Project ID - /// - /// - /// Storage title - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesExportRedisPartialUpdateRequest( - bool? canDeleteObjects, - int? db, - string? description, - string? host, - string? password, - string? path, - string? port, - int? project, - string? title) - { - this.CanDeleteObjects = canDeleteObjects; - this.Db = db; - this.Description = description; - this.Host = host; - this.Password = password; - this.Path = path; - this.Port = port; - this.Project = project; - this.Title = title; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesExportRedisPartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisValidateCreateRequest.Json.g.cs deleted file mode 100644 index 3a4ad555..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisValidateCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportRedisValidateCreateRequest - { - /// - /// 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.ApiStoragesExportRedisValidateCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest? 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.ApiStoragesExportRedisValidateCreateRequest? 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.ApiStoragesExportRedisValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest; - } - - /// - /// 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.ApiStoragesExportS3CreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3CreateRequest.Json.g.cs deleted file mode 100644 index 19085c28..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3CreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportS3CreateRequest - { - /// - /// 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.ApiStoragesExportS3CreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportS3CreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportS3CreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportS3CreateRequest? 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.ApiStoragesExportS3CreateRequest? 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.ApiStoragesExportS3CreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportS3CreateRequest; - } - - /// - /// 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.ApiStoragesExportS3PartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3PartialUpdateRequest.g.cs deleted file mode 100644 index a5a31d60..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3PartialUpdateRequest.g.cs +++ /dev/null @@ -1,169 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesExportS3PartialUpdateRequest - { - /// - /// AWS_ACCESS_KEY_ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("aws_access_key_id")] - public string? AwsAccessKeyId { get; set; } - - /// - /// AWS_SECRET_ACCESS_KEY - /// - [global::System.Text.Json.Serialization.JsonPropertyName("aws_secret_access_key")] - public string? AwsSecretAccessKey { get; set; } - - /// - /// AWS_SESSION_TOKEN - /// - [global::System.Text.Json.Serialization.JsonPropertyName("aws_session_token")] - public string? AwsSessionToken { get; set; } - - /// - /// AWS SSE KMS Key ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("aws_sse_kms_key_id")] - public string? AwsSseKmsKeyId { get; set; } - - /// - /// S3 bucket name - /// - [global::System.Text.Json.Serialization.JsonPropertyName("bucket")] - public string? Bucket { get; set; } - - /// - /// Deletion from storage enabled.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] - public bool? CanDeleteObjects { get; set; } - - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// S3 bucket prefix - /// - [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] - public string? Prefix { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// AWS Region - /// - [global::System.Text.Json.Serialization.JsonPropertyName("region_name")] - public string? RegionName { get; set; } - - /// - /// S3 Endpoint - /// - [global::System.Text.Json.Serialization.JsonPropertyName("s3_endpoint")] - public string? S3Endpoint { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { 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. - /// - /// - /// AWS_ACCESS_KEY_ID - /// - /// - /// AWS_SECRET_ACCESS_KEY - /// - /// - /// AWS_SESSION_TOKEN - /// - /// - /// AWS SSE KMS Key ID - /// - /// - /// S3 bucket name - /// - /// - /// Deletion from storage enabled.
- /// Default Value: false - /// - /// - /// Storage description - /// - /// - /// S3 bucket prefix - /// - /// - /// Project ID - /// - /// - /// AWS Region - /// - /// - /// S3 Endpoint - /// - /// - /// Storage title - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesExportS3PartialUpdateRequest( - string? awsAccessKeyId, - string? awsSecretAccessKey, - string? awsSessionToken, - string? awsSseKmsKeyId, - string? bucket, - bool? canDeleteObjects, - string? description, - string? prefix, - int? project, - string? regionName, - string? s3Endpoint, - string? title) - { - this.AwsAccessKeyId = awsAccessKeyId; - this.AwsSecretAccessKey = awsSecretAccessKey; - this.AwsSessionToken = awsSessionToken; - this.AwsSseKmsKeyId = awsSseKmsKeyId; - this.Bucket = bucket; - this.CanDeleteObjects = canDeleteObjects; - this.Description = description; - this.Prefix = prefix; - this.Project = project; - this.RegionName = regionName; - this.S3Endpoint = s3Endpoint; - this.Title = title; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesExportS3PartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3ValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3ValidateCreateRequest.Json.g.cs deleted file mode 100644 index 254706fc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3ValidateCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesExportS3ValidateCreateRequest - { - /// - /// 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.ApiStoragesExportS3ValidateCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest? 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.ApiStoragesExportS3ValidateCreateRequest? 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.ApiStoragesExportS3ValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest; - } - - /// - /// 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.ApiStoragesLocalfilesPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesPartialUpdateRequest.g.cs deleted file mode 100644 index fc163329..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesPartialUpdateRequest.g.cs +++ /dev/null @@ -1,103 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiStoragesLocalfilesPartialUpdateRequest - { - /// - /// Storage description - /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } - - /// - /// Path to local directory - /// - [global::System.Text.Json.Serialization.JsonPropertyName("path")] - public string? Path { get; set; } - - /// - /// Project ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Regex for filtering objects - /// - [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] - public string? RegexFilter { get; set; } - - /// - /// Storage title - /// - [global::System.Text.Json.Serialization.JsonPropertyName("title")] - public string? Title { get; set; } - - /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] - public bool? UseBlobUrls { 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. - /// - /// - /// Storage description - /// - /// - /// Path to local directory - /// - /// - /// Project ID - /// - /// - /// Regex for filtering objects - /// - /// - /// Storage title - /// - /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiStoragesLocalfilesPartialUpdateRequest( - string? description, - string? path, - int? project, - string? regexFilter, - string? title, - bool? useBlobUrls) - { - this.Description = description; - this.Path = path; - this.Project = project; - this.RegexFilter = regexFilter; - this.Title = title; - this.UseBlobUrls = useBlobUrls; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiStoragesLocalfilesPartialUpdateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisCreateRequest.Json.g.cs deleted file mode 100644 index 5d7a9d63..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesRedisCreateRequest - { - /// - /// 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.ApiStoragesRedisCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesRedisCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesRedisCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesRedisCreateRequest? 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.ApiStoragesRedisCreateRequest? 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.ApiStoragesRedisCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesRedisCreateRequest; - } - - /// - /// 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.ApiStoragesRedisPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisPartialUpdateRequest.Json.g.cs deleted file mode 100644 index ae02609c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisPartialUpdateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesRedisPartialUpdateRequest - { - /// - /// 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.ApiStoragesRedisPartialUpdateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesRedisPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesRedisPartialUpdateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesRedisPartialUpdateRequest? 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.ApiStoragesRedisPartialUpdateRequest? 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.ApiStoragesRedisPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesRedisPartialUpdateRequest; - } - - /// - /// 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.ApiStoragesS3ValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3ValidateCreateRequest.Json.g.cs deleted file mode 100644 index cb9565e8..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3ValidateCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiStoragesS3ValidateCreateRequest - { - /// - /// 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.ApiStoragesS3ValidateCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiStoragesS3ValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesS3ValidateCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiStoragesS3ValidateCreateRequest? 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.ApiStoragesS3ValidateCreateRequest? 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.ApiStoragesS3ValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesS3ValidateCreateRequest; - } - - /// - /// 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.ApiTasksAnnotationsCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequest.Json.g.cs deleted file mode 100644 index d941673c..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequest.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiTasksAnnotationsCreateRequest - { - /// - /// 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.ApiTasksAnnotationsCreateRequest? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiTasksAnnotationsCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiTasksAnnotationsCreateRequest; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiTasksAnnotationsCreateRequest? 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.ApiTasksAnnotationsCreateRequest? 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.ApiTasksAnnotationsCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiTasksAnnotationsCreateRequest; - } - - /// - /// 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.ApiTasksAnnotationsCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequest.g.cs deleted file mode 100644 index a9e144a9..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequest.g.cs +++ /dev/null @@ -1,129 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// Example: {"ground_truth":true,"result":[{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}],"was_cancelled":false} - /// - public sealed partial class ApiTasksAnnotationsCreateRequest - { - /// - /// User ID of the person who created this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("completed_by")] - public int? CompletedBy { get; set; } - - /// - /// This annotation is a Ground Truth - /// - [global::System.Text.Json.Serialization.JsonPropertyName("ground_truth")] - public bool? GroundTruth { get; set; } - - /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 - ///
- /// 100.5 - [global::System.Text.Json.Serialization.JsonPropertyName("lead_time")] - public double? LeadTime { get; set; } - - /// - /// Project ID for this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } - - /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - ///
- /// [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - [global::System.Text.Json.Serialization.JsonPropertyName("result")] - public global::System.Collections.Generic.IList? Result { get; set; } - - /// - /// Corresponding task for this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("task")] - public int? Task { get; set; } - - /// - /// Last user who updated this annotation - /// - [global::System.Text.Json.Serialization.JsonPropertyName("updated_by")] - public int? UpdatedBy { get; set; } - - /// - /// User skipped the task - /// - [global::System.Text.Json.Serialization.JsonPropertyName("was_cancelled")] - public bool? WasCancelled { 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. - /// - /// - /// User ID of the person who created this annotation - /// - /// - /// This annotation is a Ground Truth - /// - /// - /// How much time it took to annotate the task (in seconds)
- /// Example: 100.5 - /// - /// - /// Project ID for this annotation - /// - /// - /// Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] - /// - /// - /// Corresponding task for this annotation - /// - /// - /// Last user who updated this annotation - /// - /// - /// User skipped the task - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiTasksAnnotationsCreateRequest( - int? completedBy, - bool? groundTruth, - double? leadTime, - int? project, - global::System.Collections.Generic.IList? result, - int? task, - int? updatedBy, - bool? wasCancelled) - { - this.CompletedBy = completedBy; - this.GroundTruth = groundTruth; - this.LeadTime = leadTime; - this.Project = project; - this.Result = result; - this.Task = task; - this.UpdatedBy = updatedBy; - this.WasCancelled = wasCancelled; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiTasksAnnotationsCreateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequestResultItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequestResultItem.Json.g.cs deleted file mode 100644 index 565359fc..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequestResultItem.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace LabelStudio -{ - public sealed partial class ApiTasksAnnotationsCreateRequestResultItem - { - /// - /// 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.ApiTasksAnnotationsCreateRequestResultItem? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::LabelStudio.ApiTasksAnnotationsCreateRequestResultItem), - jsonSerializerContext) as global::LabelStudio.ApiTasksAnnotationsCreateRequestResultItem; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::LabelStudio.ApiTasksAnnotationsCreateRequestResultItem? 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.ApiTasksAnnotationsCreateRequestResultItem? 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.ApiTasksAnnotationsCreateRequestResultItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiTasksAnnotationsCreateRequestResultItem; - } - - /// - /// 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.ApiTasksAnnotationsCreateRequestResultItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequestResultItem.g.cs deleted file mode 100644 index 41c6e5a4..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiTasksAnnotationsCreateRequestResultItem.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiTasksAnnotationsCreateRequestResultItem - { - - /// - /// 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.ApiUsersCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersCreateRequest.g.cs deleted file mode 100644 index 27f2d966..00000000 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersCreateRequest.g.cs +++ /dev/null @@ -1,134 +0,0 @@ - -#nullable enable - -namespace LabelStudio -{ - /// - /// - /// - public sealed partial class ApiUsersCreateRequest - { - /// - /// Whether the user allows newsletters - /// - [global::System.Text.Json.Serialization.JsonPropertyName("allow_newsletters")] - public bool? AllowNewsletters { get; set; } - - /// - /// Avatar URL of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar")] - public string? Avatar { get; set; } - - /// - /// Email of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("email")] - public string? Email { get; set; } - - /// - /// First name of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("first_name")] - public string? FirstName { get; set; } - - /// - /// User ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - - /// - /// Initials of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("initials")] - public string? Initials { get; set; } - - /// - /// Last name of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_name")] - public string? LastName { get; set; } - - /// - /// Phone number of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("phone")] - public string? Phone { get; set; } - - /// - /// Username of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("username")] - public string? Username { 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. - /// - /// - /// Whether the user allows newsletters - /// - /// - /// Avatar URL of the user - /// - /// - /// Email of the user - /// - /// - /// First name of the user - /// - /// - /// User ID - /// - /// - /// Initials of the user - /// - /// - /// Last name of the user - /// - /// - /// Phone number of the user - /// - /// - /// Username of the user - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ApiUsersCreateRequest( - bool? allowNewsletters, - string? avatar, - string? email, - string? firstName, - int? id, - string? initials, - string? lastName, - string? phone, - string? username) - { - this.AllowNewsletters = allowNewsletters; - this.Avatar = avatar; - this.Email = email; - this.FirstName = firstName; - this.Id = id; - this.Initials = initials; - this.LastName = lastName; - this.Phone = phone; - this.Username = username; - } - - /// - /// Initializes a new instance of the class. - /// - public ApiUsersCreateRequest() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.TypeEnum.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AssignmentTypeEnum.g.cs similarity index 67% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.TypeEnum.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AssignmentTypeEnum.g.cs index 24e95f13..4f871136 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.TypeEnum.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AssignmentTypeEnum.g.cs @@ -7,7 +7,7 @@ namespace LabelStudio /// * `AN` - Annotate
/// * `RE` - Review /// - public enum TypeEnum + public enum AssignmentTypeEnum { /// /// @@ -22,29 +22,29 @@ public enum TypeEnum /// /// Enum extensions to do fast conversions without the reflection. /// - public static class TypeEnumExtensions + public static class AssignmentTypeEnumExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this TypeEnum value) + public static string ToValueString(this AssignmentTypeEnum value) { return value switch { - TypeEnum.An => "AN", - TypeEnum.Re => "RE", + AssignmentTypeEnum.An => "AN", + AssignmentTypeEnum.Re => "RE", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static TypeEnum? ToEnum(string value) + public static AssignmentTypeEnum? ToEnum(string value) { return value switch { - "AN" => TypeEnum.An, - "RE" => TypeEnum.Re, + "AN" => AssignmentTypeEnum.An, + "RE" => AssignmentTypeEnum.Re, _ => null, }; } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageValidateRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisValidateCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageValidateRequest.Json.g.cs index 311053ab..cb8bfe36 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisValidateCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesRedisValidateCreateRequest + public sealed partial class AzureBlobExportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesRedisValidateCreateRequest? FromJson( + public static global::LabelStudio.AzureBlobExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesRedisValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesRedisValidateCreateRequest; + typeof(global::LabelStudio.AzureBlobExportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.AzureBlobExportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesRedisValidateCreateRequest? FromJson( + public static global::LabelStudio.AzureBlobExportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesRedisValidateCreateRequest? FromJson( + public static global::LabelStudio.AzureBlobExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesRedisValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesRedisValidateCreateRequest; + typeof(global::LabelStudio.AzureBlobExportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.AzureBlobExportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageValidateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageValidateRequest.g.cs new file mode 100644 index 00000000..94982087 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageValidateRequest.g.cs @@ -0,0 +1,168 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class AzureBlobExportStorageValidateRequest + { + /// + /// Azure Blob account key + /// + [global::System.Text.Json.Serialization.JsonPropertyName("account_key")] + public string? AccountKey { get; set; } + + /// + /// Azure Blob account name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("account_name")] + public string? AccountName { get; set; } + + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Azure blob container + /// + [global::System.Text.Json.Serialization.JsonPropertyName("container")] + public string? Container { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// Azure blob prefix name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Azure Blob account key + /// + /// + /// Azure Blob account name + /// + /// + /// Deletion from storage enabled + /// + /// + /// Azure blob container + /// + /// + /// Cloud storage description + /// + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + /// + /// Azure blob prefix name + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AzureBlobExportStorageValidateRequest( + int project, + string? accountKey, + string? accountName, + bool? canDeleteObjects, + string? container, + string? description, + int? id, + string? prefix, + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.AccountKey = accountKey; + this.AccountName = accountName; + this.CanDeleteObjects = canDeleteObjects; + this.Container = container; + this.Description = description; + this.Id = id; + this.Prefix = prefix; + this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public AzureBlobExportStorageValidateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageWriteRequest.Json.g.cs index 44e0c460..06234b5b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiAnnotationsPartialUpdateRequest + public sealed partial class AzureBlobExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiAnnotationsPartialUpdateRequest? FromJson( + public static global::LabelStudio.AzureBlobExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiAnnotationsPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiAnnotationsPartialUpdateRequest; + typeof(global::LabelStudio.AzureBlobExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.AzureBlobExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiAnnotationsPartialUpdateRequest? FromJson( + public static global::LabelStudio.AzureBlobExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiAnnotationsPartialUpdateRequest? FromJson( + public static global::LabelStudio.AzureBlobExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiAnnotationsPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiAnnotationsPartialUpdateRequest; + typeof(global::LabelStudio.AzureBlobExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.AzureBlobExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageWriteRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageWriteRequest.g.cs new file mode 100644 index 00000000..ee71dcf8 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobExportStorageWriteRequest.g.cs @@ -0,0 +1,157 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class AzureBlobExportStorageWriteRequest + { + /// + /// Azure Blob account key + /// + [global::System.Text.Json.Serialization.JsonPropertyName("account_key")] + public string? AccountKey { get; set; } + + /// + /// Azure Blob account name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("account_name")] + public string? AccountName { get; set; } + + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Azure blob container + /// + [global::System.Text.Json.Serialization.JsonPropertyName("container")] + public string? Container { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Azure blob prefix name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Azure Blob account key + /// + /// + /// Azure Blob account name + /// + /// + /// Deletion from storage enabled + /// + /// + /// Azure blob container + /// + /// + /// Cloud storage description + /// + /// + /// Azure blob prefix name + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public AzureBlobExportStorageWriteRequest( + int project, + string? accountKey, + string? accountName, + bool? canDeleteObjects, + string? container, + string? description, + string? prefix, + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.AccountKey = accountKey; + this.AccountName = accountName; + this.CanDeleteObjects = canDeleteObjects; + this.Container = container; + this.Description = description; + this.Prefix = prefix; + this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public AzureBlobExportStorageWriteRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageValidateRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureValidateCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageValidateRequest.Json.g.cs index e6bfa5c1..73d187df 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureValidateCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesAzureValidateCreateRequest + public sealed partial class AzureBlobImportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesAzureValidateCreateRequest? FromJson( + public static global::LabelStudio.AzureBlobImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesAzureValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesAzureValidateCreateRequest; + typeof(global::LabelStudio.AzureBlobImportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.AzureBlobImportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesAzureValidateCreateRequest? FromJson( + public static global::LabelStudio.AzureBlobImportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesAzureValidateCreateRequest? FromJson( + public static global::LabelStudio.AzureBlobImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesAzureValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesAzureValidateCreateRequest; + typeof(global::LabelStudio.AzureBlobImportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.AzureBlobImportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageValidateRequest.g.cs similarity index 70% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageValidateRequest.g.cs index 1f8e31b8..3ae60857 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageValidateRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesAzureValidateCreateRequest + public sealed partial class AzureBlobImportStorageValidateRequest { /// /// Azure Blob account key @@ -27,7 +27,7 @@ public sealed partial class ApiStoragesAzureValidateCreateRequest public string? Container { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -45,40 +45,50 @@ public sealed partial class ApiStoragesAzureValidateCreateRequest public string? Prefix { get; set; } /// - /// Presign URLs for direct download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Perform recursive scan over the container content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -90,8 +100,11 @@ public sealed partial class ApiStoragesAzureValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// Azure Blob account key /// @@ -102,7 +115,7 @@ public sealed partial class ApiStoragesAzureValidateCreateRequest /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -111,30 +124,31 @@ public sealed partial class ApiStoragesAzureValidateCreateRequest /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// - /// - /// Project ID + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesAzureValidateCreateRequest( + public AzureBlobImportStorageValidateRequest( + int project, string? accountKey, string? accountName, string? container, @@ -143,8 +157,9 @@ public ApiStoragesAzureValidateCreateRequest( string? prefix, bool? presign, int? presignTtl, - int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -157,15 +172,17 @@ public ApiStoragesAzureValidateCreateRequest( this.Presign = presign; this.PresignTtl = presignTtl; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesAzureValidateCreateRequest() + public AzureBlobImportStorageValidateRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageWriteRequest.Json.g.cs index 7d87dd19..3902c709 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiPredictionsPartialUpdateRequest + public sealed partial class AzureBlobImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiPredictionsPartialUpdateRequest? FromJson( + public static global::LabelStudio.AzureBlobImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiPredictionsPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiPredictionsPartialUpdateRequest; + typeof(global::LabelStudio.AzureBlobImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.AzureBlobImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiPredictionsPartialUpdateRequest? FromJson( + public static global::LabelStudio.AzureBlobImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiPredictionsPartialUpdateRequest? FromJson( + public static global::LabelStudio.AzureBlobImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiPredictionsPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiPredictionsPartialUpdateRequest; + typeof(global::LabelStudio.AzureBlobImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.AzureBlobImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageWriteRequest.g.cs similarity index 68% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageWriteRequest.g.cs index ece4d40d..0731f4a7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzureCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.AzureBlobImportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesAzureCreateRequest + public sealed partial class AzureBlobImportStorageWriteRequest { /// /// Azure Blob account key @@ -27,7 +27,7 @@ public sealed partial class ApiStoragesAzureCreateRequest public string? Container { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -39,40 +39,50 @@ public sealed partial class ApiStoragesAzureCreateRequest public string? Prefix { get; set; } /// - /// Presign URLs for direct download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Perform recursive scan over the container content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -84,8 +94,11 @@ public sealed partial class ApiStoragesAzureCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// Azure Blob account key /// @@ -96,36 +109,37 @@ public sealed partial class ApiStoragesAzureCreateRequest /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// - /// - /// Project ID + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesAzureCreateRequest( + public AzureBlobImportStorageWriteRequest( + int project, string? accountKey, string? accountName, string? container, @@ -133,8 +147,9 @@ public ApiStoragesAzureCreateRequest( string? prefix, bool? presign, int? presignTtl, - int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -146,15 +161,17 @@ public ApiStoragesAzureCreateRequest( this.Presign = presign; this.PresignTtl = presignTtl; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesAzureCreateRequest() + public AzureBlobImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequest.Json.g.cs new file mode 100644 index 00000000..965d3af1 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class BulkTaskAssigneesRequestRequest + { + /// + /// 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.BulkTaskAssigneesRequestRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.BulkTaskAssigneesRequestRequest), + jsonSerializerContext) as global::LabelStudio.BulkTaskAssigneesRequestRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.BulkTaskAssigneesRequestRequest? 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.BulkTaskAssigneesRequestRequest? 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.BulkTaskAssigneesRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.BulkTaskAssigneesRequestRequest; + } + + /// + /// 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.ApiProjectsTasksAssigneesBulkCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequest.g.cs similarity index 52% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequest.g.cs index 1451981b..0c180105 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequest.g.cs @@ -6,32 +6,33 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequest + public sealed partial class BulkTaskAssigneesRequestRequest { /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("filters")] - public global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters? Filters { get; set; } + public global::LabelStudio.PrepareParamsFiltersRequest? Filters { get; set; } /// /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` /// [global::System.Text.Json.Serialization.JsonPropertyName("selectedItems")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.OneOf SelectedItems { get; set; } + public required global::LabelStudio.OneOf SelectedItems { get; set; } /// - /// Assignment type. Use AN for annotate or RE for review. + /// * `AN` - Annotate
+ /// * `RE` - Review ///
[global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesBulkCreateRequestTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType Type { get; set; } + public required global::LabelStudio.AssignmentTypeEnum Type { get; set; } /// - /// List of user IDs to assign + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("users")] [global::System.Text.Json.Serialization.JsonRequired] @@ -44,28 +45,25 @@ public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign - /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiProjectsTasksAssigneesBulkCreateRequest( - global::LabelStudio.OneOf selectedItems, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType type, + public BulkTaskAssigneesRequestRequest( + global::LabelStudio.OneOf selectedItems, + global::LabelStudio.AssignmentTypeEnum type, global::System.Collections.Generic.IList users, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters? filters) + global::LabelStudio.PrepareParamsFiltersRequest? filters) { this.Filters = filters; this.SelectedItems = selectedItems; @@ -74,9 +72,9 @@ public ApiProjectsTasksAssigneesBulkCreateRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiProjectsTasksAssigneesBulkCreateRequest() + public BulkTaskAssigneesRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllFalse.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse.Json.g.cs similarity index 83% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllFalse.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse.Json.g.cs index 1f6f164c..c03cfe0b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllFalse.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllFalse + public sealed partial class BulkTaskAssigneesRequestRequestSelectedItemsAllFalse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllFalse? FromJson( + public static global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllFalse), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllFalse; + typeof(global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse), + jsonSerializerContext) as global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllFalse? FromJson( + public static global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmActionsCreateRequestSelectedItemsAllFalse? FromJson( + public static global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmActionsCreateRequestSelectedItemsAllFalse), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllFalse; + typeof(global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse.g.cs similarity index 74% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse.g.cs index fbfdec20..f3a54a2c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllFalse.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse + public sealed partial class BulkTaskAssigneesRequestRequestSelectedItemsAllFalse { /// /// No tasks are selected @@ -28,7 +28,7 @@ public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedIt public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// No tasks are selected @@ -39,7 +39,7 @@ public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedIt #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse( + public BulkTaskAssigneesRequestRequestSelectedItemsAllFalse( bool all, global::System.Collections.Generic.IList? included) { @@ -48,9 +48,9 @@ public ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllFalse() + public BulkTaskAssigneesRequestRequestSelectedItemsAllFalse() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllTrue.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue.Json.g.cs similarity index 83% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllTrue.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue.Json.g.cs index 9cb98a2f..2c8de779 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllTrue.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllTrue + public sealed partial class BulkTaskAssigneesRequestRequestSelectedItemsAllTrue { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllTrue? FromJson( + public static global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllTrue), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllTrue; + typeof(global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue), + jsonSerializerContext) as global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllTrue? FromJson( + public static global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmActionsCreateRequestSelectedItemsAllTrue? FromJson( + public static global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmActionsCreateRequestSelectedItemsAllTrue), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestSelectedItemsAllTrue; + typeof(global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue.g.cs similarity index 75% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue.g.cs index 778ac2cf..bf1bb285 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.BulkTaskAssigneesRequestRequestSelectedItemsAllTrue.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue + public sealed partial class BulkTaskAssigneesRequestRequestSelectedItemsAllTrue { /// /// All tasks are selected @@ -28,7 +28,7 @@ public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedIt public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// All tasks are selected @@ -39,7 +39,7 @@ public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequestSelectedIt #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue( + public BulkTaskAssigneesRequestRequestSelectedItemsAllTrue( bool all, global::System.Collections.Generic.IList? excluded) { @@ -48,9 +48,9 @@ public ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiProjectsTasksAssigneesBulkCreateRequestSelectedItemsAllTrue() + public BulkTaskAssigneesRequestRequestSelectedItemsAllTrue() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatCompletionRequestRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ChatCompletionRequestRequest.Json.g.cs index 91af6c85..872744e6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatCompletionRequestRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiUsersPartialUpdateRequest + public sealed partial class ChatCompletionRequestRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiUsersPartialUpdateRequest? FromJson( + public static global::LabelStudio.ChatCompletionRequestRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiUsersPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiUsersPartialUpdateRequest; + typeof(global::LabelStudio.ChatCompletionRequestRequest), + jsonSerializerContext) as global::LabelStudio.ChatCompletionRequestRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiUsersPartialUpdateRequest? FromJson( + public static global::LabelStudio.ChatCompletionRequestRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiUsersPartialUpdateRequest? FromJson( + public static global::LabelStudio.ChatCompletionRequestRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiUsersPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiUsersPartialUpdateRequest; + typeof(global::LabelStudio.ChatCompletionRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ChatCompletionRequestRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatCompletionRequestRequest.g.cs similarity index 60% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ChatCompletionRequestRequest.g.cs index e1040ff6..12c482f9 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatCompletionRequestRequest.g.cs @@ -4,22 +4,24 @@ namespace LabelStudio { /// - /// + /// Validates and sanitizes chat completion request payload.
+ /// Ensures:
+ /// - messages is a list of valid message dictionaries
+ /// - Each message conforms to role-specific requirements
+ /// - Only allowed fields are included in the sanitized output ///
- public sealed partial class ApiLlmOpenaiChatCompletionsCreateRequest + public sealed partial class ChatCompletionRequestRequest { /// - /// Array of message objects for the chat completion + /// Array of message objects forming the conversation /// [global::System.Text.Json.Serialization.JsonPropertyName("messages")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Messages { get; set; } + public required global::System.Collections.Generic.IList Messages { get; set; } /// - /// Model identifier. Can be "model_name" (defaults to OpenAI), "provider/model_name", or "provider:model_name"
- /// Example: gpt-4 + /// Model identifier in format "provider/model-name" (e.g., "openai/gpt-4") ///
- /// gpt-4 [global::System.Text.Json.Serialization.JsonPropertyName("model")] [global::System.Text.Json.Serialization.JsonRequired] public required string Model { get; set; } @@ -31,20 +33,19 @@ public sealed partial class ApiLlmOpenaiChatCompletionsCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Array of message objects for the chat completion + /// Array of message objects forming the conversation /// /// - /// Model identifier. Can be "model_name" (defaults to OpenAI), "provider/model_name", or "provider:model_name"
- /// Example: gpt-4 + /// Model identifier in format "provider/model-name" (e.g., "openai/gpt-4") /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiLlmOpenaiChatCompletionsCreateRequest( - global::System.Collections.Generic.IList messages, + public ChatCompletionRequestRequest( + global::System.Collections.Generic.IList messages, string model) { this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages)); @@ -52,9 +53,9 @@ public ApiLlmOpenaiChatCompletionsCreateRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiLlmOpenaiChatCompletionsCreateRequest() + public ChatCompletionRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequest.Json.g.cs index f9c45dc8..22c31527 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiMlCreateRequest + public sealed partial class ChatMessageRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiMlCreateRequest? FromJson( + public static global::LabelStudio.ChatMessageRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiMlCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiMlCreateRequest; + typeof(global::LabelStudio.ChatMessageRequest), + jsonSerializerContext) as global::LabelStudio.ChatMessageRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiMlCreateRequest? FromJson( + public static global::LabelStudio.ChatMessageRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiMlCreateRequest? FromJson( + public static global::LabelStudio.ChatMessageRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiMlCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiMlCreateRequest; + typeof(global::LabelStudio.ChatMessageRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ChatMessageRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequest.g.cs new file mode 100644 index 00000000..c5e14577 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequest.g.cs @@ -0,0 +1,97 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Validates and sanitizes individual chat messages for LLM chat completion requests.
+ /// Supports the following message roles:
+ /// - user, developer, system: Must have 'content' field (string or dict)
+ /// - assistant: Must have either 'content' (non-empty) or 'tool_calls' (non-empty array)
+ /// - tool: Must have 'content' (non-empty) and 'tool_call_id' fields
+ /// All fields not explicitly defined are removed during validation to ensure
+ /// only valid fields are passed to LLM providers. + ///
+ public sealed partial class ChatMessageRequest + { + /// + /// The content of the message (can be a string or structured dict) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("content")] + public object? Content { get; set; } + + /// + /// The role of the message author (user, developer, system, assistant, or tool)
+ /// * `user` - user
+ /// * `developer` - developer
+ /// * `system` - system
+ /// * `assistant` - assistant
+ /// * `tool` - tool + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("role")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ChatMessageRoleEnumJsonConverter))] + [global::System.Text.Json.Serialization.JsonRequired] + public required global::LabelStudio.ChatMessageRoleEnum Role { get; set; } + + /// + /// The ID of the tool call this message is responding to + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_call_id")] + public string? ToolCallId { get; set; } + + /// + /// Tool calls made by the assistant + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tool_calls")] + public global::System.Collections.Generic.IList? ToolCalls { 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. + /// + /// + /// The role of the message author (user, developer, system, assistant, or tool)
+ /// * `user` - user
+ /// * `developer` - developer
+ /// * `system` - system
+ /// * `assistant` - assistant
+ /// * `tool` - tool + /// + /// + /// The content of the message (can be a string or structured dict) + /// + /// + /// The ID of the tool call this message is responding to + /// + /// + /// Tool calls made by the assistant + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public ChatMessageRequest( + global::LabelStudio.ChatMessageRoleEnum role, + object? content, + string? toolCallId, + global::System.Collections.Generic.IList? toolCalls) + { + this.Content = content; + this.Role = role; + this.ToolCallId = toolCallId; + this.ToolCalls = toolCalls; + } + + /// + /// Initializes a new instance of the class. + /// + public ChatMessageRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3CreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequestToolCall.Json.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3CreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequestToolCall.Json.g.cs index cc2a58bb..320def17 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3CreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequestToolCall.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesS3CreateRequest + public sealed partial class ChatMessageRequestToolCall { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesS3CreateRequest? FromJson( + public static global::LabelStudio.ChatMessageRequestToolCall? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesS3CreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesS3CreateRequest; + typeof(global::LabelStudio.ChatMessageRequestToolCall), + jsonSerializerContext) as global::LabelStudio.ChatMessageRequestToolCall; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesS3CreateRequest? FromJson( + public static global::LabelStudio.ChatMessageRequestToolCall? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesS3CreateRequest? FromJson( + public static global::LabelStudio.ChatMessageRequestToolCall? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesS3CreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesS3CreateRequest; + typeof(global::LabelStudio.ChatMessageRequestToolCall), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ChatMessageRequestToolCall; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequestResultItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequestToolCall.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequestResultItem.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequestToolCall.g.cs index 197b804c..b5c073bb 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequestResultItem.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRequestToolCall.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiPredictionsUpdateRequestResultItem + public sealed partial class ChatMessageRequestToolCall { /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRoleEnum.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRoleEnum.g.cs new file mode 100644 index 00000000..4c03e4f6 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ChatMessageRoleEnum.g.cs @@ -0,0 +1,73 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// * `user` - user
+ /// * `developer` - developer
+ /// * `system` - system
+ /// * `assistant` - assistant
+ /// * `tool` - tool + ///
+ public enum ChatMessageRoleEnum + { + /// + /// + /// + Assistant, + /// + /// + /// + Developer, + /// + /// + /// + System, + /// + /// + /// + Tool, + /// + /// + /// + User, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class ChatMessageRoleEnumExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this ChatMessageRoleEnum value) + { + return value switch + { + ChatMessageRoleEnum.Assistant => "assistant", + ChatMessageRoleEnum.Developer => "developer", + ChatMessageRoleEnum.System => "system", + ChatMessageRoleEnum.Tool => "tool", + ChatMessageRoleEnum.User => "user", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static ChatMessageRoleEnum? ToEnum(string value) + { + return value switch + { + "assistant" => ChatMessageRoleEnum.Assistant, + "developer" => ChatMessageRoleEnum.Developer, + "system" => ChatMessageRoleEnum.System, + "tool" => ChatMessageRoleEnum.Tool, + "user" => ChatMessageRoleEnum.User, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestAuthMethod.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ConjunctionEnum.g.cs similarity index 57% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestAuthMethod.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ConjunctionEnum.g.cs index c1fac14d..a774159a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestAuthMethod.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ConjunctionEnum.g.cs @@ -4,46 +4,46 @@ namespace LabelStudio { /// - /// Auth method + /// /// - public enum ApiMlCreateRequestAuthMethod + public enum ConjunctionEnum { /// /// /// - BasicAuth, + And, /// /// /// - None, + Or, } /// /// Enum extensions to do fast conversions without the reflection. /// - public static class ApiMlCreateRequestAuthMethodExtensions + public static class ConjunctionEnumExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this ApiMlCreateRequestAuthMethod value) + public static string ToValueString(this ConjunctionEnum value) { return value switch { - ApiMlCreateRequestAuthMethod.BasicAuth => "BASIC_AUTH", - ApiMlCreateRequestAuthMethod.None => "NONE", + ConjunctionEnum.And => "and", + ConjunctionEnum.Or => "or", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static ApiMlCreateRequestAuthMethod? ToEnum(string value) + public static ConjunctionEnum? ToEnum(string value) { return value switch { - "BASIC_AUTH" => ApiMlCreateRequestAuthMethod.BasicAuth, - "NONE" => ApiMlCreateRequestAuthMethod.None, + "and" => ConjunctionEnum.And, + "or" => ConjunctionEnum.Or, _ => null, }; } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3PartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.CreateProjectFromTemplateRequestRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3PartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.CreateProjectFromTemplateRequestRequest.Json.g.cs index 57f0d59e..5c9b71c1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3PartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.CreateProjectFromTemplateRequestRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesExportS3PartialUpdateRequest + public sealed partial class CreateProjectFromTemplateRequestRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest? FromJson( + public static global::LabelStudio.CreateProjectFromTemplateRequestRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest; + typeof(global::LabelStudio.CreateProjectFromTemplateRequestRequest), + jsonSerializerContext) as global::LabelStudio.CreateProjectFromTemplateRequestRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest? FromJson( + public static global::LabelStudio.CreateProjectFromTemplateRequestRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesExportS3PartialUpdateRequest? FromJson( + public static global::LabelStudio.CreateProjectFromTemplateRequestRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesExportS3PartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest; + typeof(global::LabelStudio.CreateProjectFromTemplateRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.CreateProjectFromTemplateRequestRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectTemplatesCreateProjectCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.CreateProjectFromTemplateRequestRequest.g.cs similarity index 77% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectTemplatesCreateProjectCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.CreateProjectFromTemplateRequestRequest.g.cs index c630e86d..977baed1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectTemplatesCreateProjectCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.CreateProjectFromTemplateRequestRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiProjectTemplatesCreateProjectCreateRequest + public sealed partial class CreateProjectFromTemplateRequestRequest { /// /// A description for the project. @@ -25,8 +25,7 @@ public sealed partial class ApiProjectTemplatesCreateProjectCreateRequest /// A unique integer value identifying the workspace in which to create the project. /// [global::System.Text.Json.Serialization.JsonPropertyName("workspace_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int WorkspaceId { get; set; } + public int? WorkspaceId { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -35,24 +34,24 @@ public sealed partial class ApiProjectTemplatesCreateProjectCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The title of the project to be created from the template. /// - /// - /// A unique integer value identifying the workspace in which to create the project. - /// /// /// A description for the project. /// + /// + /// A unique integer value identifying the workspace in which to create the project. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiProjectTemplatesCreateProjectCreateRequest( + public CreateProjectFromTemplateRequestRequest( string title, - int workspaceId, - string? description) + string? description, + int? workspaceId) { this.Description = description; this.Title = title ?? throw new global::System.ArgumentNullException(nameof(title)); @@ -60,9 +59,9 @@ public ApiProjectTemplatesCreateProjectCreateRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiProjectTemplatesCreateProjectCreateRequest() + public CreateProjectFromTemplateRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageValidateRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageValidateRequest.Json.g.cs index 8a9b8370..42c9518f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiProjectsTasksAssigneesCreateRequest + public sealed partial class DatabricksExportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest? FromJson( + public static global::LabelStudio.DatabricksExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest; + typeof(global::LabelStudio.DatabricksExportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.DatabricksExportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest? FromJson( + public static global::LabelStudio.DatabricksExportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiProjectsTasksAssigneesCreateRequest? FromJson( + public static global::LabelStudio.DatabricksExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiProjectsTasksAssigneesCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest; + typeof(global::LabelStudio.DatabricksExportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.DatabricksExportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageValidateRequest.g.cs similarity index 76% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageValidateRequest.g.cs index c177e130..4b684766 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageValidateRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Serializer for Databricks export storage with multi-auth support. /// - public sealed partial class DatabricksExportStorageRequest + public sealed partial class DatabricksExportStorageValidateRequest { /// /// Authentication method: PAT, Databricks SP, or Azure AD SP
@@ -59,28 +59,10 @@ public sealed partial class DatabricksExportStorageRequest public required string Host { get; set; } /// - /// Last sync finished time + /// Storage ID. If set, storage with specified ID will be updated /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync")] - public global::System.DateTime? LastSync { get; set; } - - /// - /// Count of tasks synced last time - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_count")] - public int? LastSyncCount { get; set; } - - /// - /// Last sync job ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_job")] - public string? LastSyncJob { get; set; } - - /// - /// Meta and debug information about storage processes - /// - [global::System.Text.Json.Serialization.JsonPropertyName("meta")] - public object? Meta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } /// /// Export path prefix under the volume @@ -114,18 +96,6 @@ public sealed partial class DatabricksExportStorageRequest [global::System.Text.Json.Serialization.JsonRequired] public required string Schema { get; set; } - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.StorageStatusEnumJsonConverter))] - public global::LabelStudio.StorageStatusEnum? Status { get; set; } - /// /// /// @@ -157,12 +127,6 @@ public sealed partial class DatabricksExportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("token")] public string? Token { get; set; } - /// - /// Traceback report for the last failed sync - /// - [global::System.Text.Json.Serialization.JsonPropertyName("traceback")] - public string? Traceback { get; set; } - /// /// Generate blob URLs in tasks /// @@ -189,7 +153,7 @@ public sealed partial class DatabricksExportStorageRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// UC catalog name @@ -226,17 +190,8 @@ public sealed partial class DatabricksExportStorageRequest /// /// Cloud storage description /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes + /// + /// Storage ID. If set, storage with specified ID will be updated /// /// /// Export path prefix under the volume @@ -245,14 +200,6 @@ public sealed partial class DatabricksExportStorageRequest /// Regex for filtering objects /// /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -267,9 +214,6 @@ public sealed partial class DatabricksExportStorageRequest /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -279,7 +223,7 @@ public sealed partial class DatabricksExportStorageRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DatabricksExportStorageRequest( + public DatabricksExportStorageValidateRequest( string catalog, string host, int project, @@ -290,20 +234,15 @@ public DatabricksExportStorageRequest( string? clientId, string? clientSecret, string? description, - global::System.DateTime? lastSync, - int? lastSyncCount, - string? lastSyncJob, - object? meta, + int? id, string? prefix, string? regexFilter, int? requestTimeoutS, - global::LabelStudio.StorageStatusEnum? status, long? streamChunkBytes, bool? synchronizable, string? tenantId, string? title, string? token, - string? traceback, bool? useBlobUrls, bool? verifyTls) { @@ -314,31 +253,26 @@ public DatabricksExportStorageRequest( this.ClientSecret = clientSecret; this.Description = description; this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); - this.LastSync = lastSync; - this.LastSyncCount = lastSyncCount; - this.LastSyncJob = lastSyncJob; - this.Meta = meta; + this.Id = id; this.Prefix = prefix; this.Project = project; this.RegexFilter = regexFilter; this.RequestTimeoutS = requestTimeoutS; this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); - this.Status = status; this.StreamChunkBytes = streamChunkBytes; this.Synchronizable = synchronizable; this.TenantId = tenantId; this.Title = title; this.Token = token; - this.Traceback = traceback; this.UseBlobUrls = useBlobUrls; this.VerifyTls = verifyTls; this.Volume = volume ?? throw new global::System.ArgumentNullException(nameof(volume)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DatabricksExportStorageRequest() + public DatabricksExportStorageValidateRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageWriteRequest.Json.g.cs similarity index 90% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageWriteRequest.Json.g.cs index 3632e241..5298721e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class DatabricksExportStorageRequest + public sealed partial class DatabricksExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.DatabricksExportStorageRequest? FromJson( + public static global::LabelStudio.DatabricksExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.DatabricksExportStorageRequest), - jsonSerializerContext) as global::LabelStudio.DatabricksExportStorageRequest; + typeof(global::LabelStudio.DatabricksExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.DatabricksExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.DatabricksExportStorageRequest? FromJson( + public static global::LabelStudio.DatabricksExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.DatabricksExportStorageRequest? FromJson( + public static global::LabelStudio.DatabricksExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.DatabricksExportStorageRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.DatabricksExportStorageRequest; + typeof(global::LabelStudio.DatabricksExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.DatabricksExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageWriteRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageWriteRequest.g.cs new file mode 100644 index 00000000..82a1a838 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksExportStorageWriteRequest.g.cs @@ -0,0 +1,269 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Serializer for Databricks export storage with multi-auth support. + /// + public sealed partial class DatabricksExportStorageWriteRequest + { + /// + /// Authentication method: PAT, Databricks SP, or Azure AD SP
+ /// * `pat` - Personal Access Token
+ /// * `dbx_sp` - Databricks Service Principal
+ /// * `azure_ad_sp` - Azure AD Service Principal
+ /// Default Value: pat + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("auth_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AuthTypeEnumJsonConverter))] + public global::LabelStudio.AuthTypeEnum? AuthType { get; set; } + + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// UC catalog name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("catalog")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Catalog { get; set; } + + /// + /// Service principal client/application ID (required for SP modes) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + + /// + /// Service principal client secret (required for SP modes)
+ /// Included only in requests + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("client_secret")] + public string? ClientSecret { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Databricks workspace base URL (https://...) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Host { get; set; } + + /// + /// Export path prefix under the volume + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("request_timeout_s")] + public int? RequestTimeoutS { get; set; } + + /// + /// UC schema name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("schema")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Schema { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stream_chunk_bytes")] + public long? StreamChunkBytes { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Azure AD tenant ID (required for Azure AD SP mode) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tenant_id")] + public string? TenantId { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Databricks personal access token (required for PAT mode)
+ /// Included only in requests + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("token")] + public string? Token { get; set; } + + /// + /// Generate blob URLs in tasks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + + /// + /// Verify TLS certificates + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verify_tls")] + public bool? VerifyTls { get; set; } + + /// + /// UC volume name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("volume")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Volume { 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. + /// + /// + /// UC catalog name + /// + /// + /// Databricks workspace base URL (https://...) + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// UC schema name + /// + /// + /// UC volume name + /// + /// + /// Authentication method: PAT, Databricks SP, or Azure AD SP
+ /// * `pat` - Personal Access Token
+ /// * `dbx_sp` - Databricks Service Principal
+ /// * `azure_ad_sp` - Azure AD Service Principal
+ /// Default Value: pat + /// + /// + /// Deletion from storage enabled + /// + /// + /// Service principal client/application ID (required for SP modes) + /// + /// + /// Service principal client secret (required for SP modes)
+ /// Included only in requests + /// + /// + /// Cloud storage description + /// + /// + /// Export path prefix under the volume + /// + /// + /// Regex for filtering objects + /// + /// + /// + /// + /// Default Value: true + /// + /// + /// Azure AD tenant ID (required for Azure AD SP mode) + /// + /// + /// Cloud storage title + /// + /// + /// Databricks personal access token (required for PAT mode)
+ /// Included only in requests + /// + /// + /// Generate blob URLs in tasks + /// + /// + /// Verify TLS certificates + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DatabricksExportStorageWriteRequest( + string catalog, + string host, + int project, + string schema, + string volume, + global::LabelStudio.AuthTypeEnum? authType, + bool? canDeleteObjects, + string? clientId, + string? clientSecret, + string? description, + string? prefix, + string? regexFilter, + int? requestTimeoutS, + long? streamChunkBytes, + bool? synchronizable, + string? tenantId, + string? title, + string? token, + bool? useBlobUrls, + bool? verifyTls) + { + this.AuthType = authType; + this.CanDeleteObjects = canDeleteObjects; + this.Catalog = catalog ?? throw new global::System.ArgumentNullException(nameof(catalog)); + this.ClientId = clientId; + this.ClientSecret = clientSecret; + this.Description = description; + this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); + this.Prefix = prefix; + this.Project = project; + this.RegexFilter = regexFilter; + this.RequestTimeoutS = requestTimeoutS; + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); + this.StreamChunkBytes = streamChunkBytes; + this.Synchronizable = synchronizable; + this.TenantId = tenantId; + this.Title = title; + this.Token = token; + this.UseBlobUrls = useBlobUrls; + this.VerifyTls = verifyTls; + this.Volume = volume ?? throw new global::System.ArgumentNullException(nameof(volume)); + } + + /// + /// Initializes a new instance of the class. + /// + public DatabricksExportStorageWriteRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageValidateRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItem.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageValidateRequest.Json.g.cs index d3ce647c..fe7cd315 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItem.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItem + public sealed partial class DatabricksImportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItem? FromJson( + public static global::LabelStudio.DatabricksImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItem), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItem; + typeof(global::LabelStudio.DatabricksImportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.DatabricksImportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItem? FromJson( + public static global::LabelStudio.DatabricksImportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsUpdateRequestDataFiltersItem? FromJson( + public static global::LabelStudio.DatabricksImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsUpdateRequestDataFiltersItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestDataFiltersItem; + typeof(global::LabelStudio.DatabricksImportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.DatabricksImportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageValidateRequest.g.cs similarity index 77% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageValidateRequest.g.cs index 84ac4a49..2842fc16 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageValidateRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Serializer for Databricks import storage with multi-auth support. /// - public sealed partial class DatabricksImportStorageRequest + public sealed partial class DatabricksImportStorageValidateRequest { /// /// Authentication method: PAT, Databricks SP, or Azure AD SP
@@ -53,28 +53,10 @@ public sealed partial class DatabricksImportStorageRequest public required string Host { get; set; } /// - /// Last sync finished time + /// Storage ID. If set, storage with specified ID will be updated /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync")] - public global::System.DateTime? LastSync { get; set; } - - /// - /// Count of tasks synced last time - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_count")] - public int? LastSyncCount { get; set; } - - /// - /// Last sync job ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_job")] - public string? LastSyncJob { get; set; } - - /// - /// Meta and debug information about storage processes - /// - [global::System.Text.Json.Serialization.JsonPropertyName("meta")] - public object? Meta { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } /// /// Path under the volume @@ -126,18 +108,6 @@ public sealed partial class DatabricksImportStorageRequest [global::System.Text.Json.Serialization.JsonRequired] public required string Schema { get; set; } - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.StorageStatusEnumJsonConverter))] - public global::LabelStudio.StorageStatusEnum? Status { get; set; } - /// /// /// @@ -169,12 +139,6 @@ public sealed partial class DatabricksImportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("token")] public string? Token { get; set; } - /// - /// Traceback report for the last failed sync - /// - [global::System.Text.Json.Serialization.JsonPropertyName("traceback")] - public string? Traceback { get; set; } - /// /// Generate blob URLs in tasks /// @@ -201,7 +165,7 @@ public sealed partial class DatabricksImportStorageRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// UC catalog name @@ -235,17 +199,8 @@ public sealed partial class DatabricksImportStorageRequest /// /// Cloud storage description /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes + /// + /// Storage ID. If set, storage with specified ID will be updated /// /// /// Path under the volume @@ -263,14 +218,6 @@ public sealed partial class DatabricksImportStorageRequest /// Regex for filtering objects /// /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -285,9 +232,6 @@ public sealed partial class DatabricksImportStorageRequest /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -297,7 +241,7 @@ public sealed partial class DatabricksImportStorageRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public DatabricksImportStorageRequest( + public DatabricksImportStorageValidateRequest( string catalog, string host, int project, @@ -307,23 +251,18 @@ public DatabricksImportStorageRequest( string? clientId, string? clientSecret, string? description, - global::System.DateTime? lastSync, - int? lastSyncCount, - string? lastSyncJob, - object? meta, + int? id, string? prefix, bool? presign, int? presignTtl, bool? recursiveScan, string? regexFilter, int? requestTimeoutS, - global::LabelStudio.StorageStatusEnum? status, long? streamChunkBytes, bool? synchronizable, string? tenantId, string? title, string? token, - string? traceback, bool? useBlobUrls, bool? verifyTls) { @@ -333,10 +272,7 @@ public DatabricksImportStorageRequest( this.ClientSecret = clientSecret; this.Description = description; this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); - this.LastSync = lastSync; - this.LastSyncCount = lastSyncCount; - this.LastSyncJob = lastSyncJob; - this.Meta = meta; + this.Id = id; this.Prefix = prefix; this.Presign = presign; this.PresignTtl = presignTtl; @@ -345,22 +281,20 @@ public DatabricksImportStorageRequest( this.RegexFilter = regexFilter; this.RequestTimeoutS = requestTimeoutS; this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); - this.Status = status; this.StreamChunkBytes = streamChunkBytes; this.Synchronizable = synchronizable; this.TenantId = tenantId; this.Title = title; this.Token = token; - this.Traceback = traceback; this.UseBlobUrls = useBlobUrls; this.VerifyTls = verifyTls; this.Volume = volume ?? throw new global::System.ArgumentNullException(nameof(volume)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public DatabricksImportStorageRequest() + public DatabricksImportStorageValidateRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageWriteRequest.Json.g.cs similarity index 90% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageWriteRequest.Json.g.cs index 44c9eab0..d58389a3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class DatabricksImportStorageRequest + public sealed partial class DatabricksImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.DatabricksImportStorageRequest? FromJson( + public static global::LabelStudio.DatabricksImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.DatabricksImportStorageRequest), - jsonSerializerContext) as global::LabelStudio.DatabricksImportStorageRequest; + typeof(global::LabelStudio.DatabricksImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.DatabricksImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.DatabricksImportStorageRequest? FromJson( + public static global::LabelStudio.DatabricksImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.DatabricksImportStorageRequest? FromJson( + public static global::LabelStudio.DatabricksImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.DatabricksImportStorageRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.DatabricksImportStorageRequest; + typeof(global::LabelStudio.DatabricksImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.DatabricksImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageWriteRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageWriteRequest.g.cs new file mode 100644 index 00000000..88b82752 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.DatabricksImportStorageWriteRequest.g.cs @@ -0,0 +1,291 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Serializer for Databricks import storage with multi-auth support. + /// + public sealed partial class DatabricksImportStorageWriteRequest + { + /// + /// Authentication method: PAT, Databricks SP, or Azure AD SP
+ /// * `pat` - Personal Access Token
+ /// * `dbx_sp` - Databricks Service Principal
+ /// * `azure_ad_sp` - Azure AD Service Principal
+ /// Default Value: pat + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("auth_type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AuthTypeEnumJsonConverter))] + public global::LabelStudio.AuthTypeEnum? AuthType { get; set; } + + /// + /// UC catalog name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("catalog")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Catalog { get; set; } + + /// + /// Service principal client/application ID (required for SP modes) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("client_id")] + public string? ClientId { get; set; } + + /// + /// Service principal client secret (required for SP modes)
+ /// Included only in requests + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("client_secret")] + public string? ClientSecret { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Databricks workspace base URL (https://...) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Host { get; set; } + + /// + /// Path under the volume + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// Presign not supported; always proxied + /// + [global::System.Text.Json.Serialization.JsonPropertyName("presign")] + public bool? Presign { get; set; } + + /// + /// Unused for Databricks; kept for compatibility + /// + [global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] + public int? PresignTtl { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Perform recursive scan + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("request_timeout_s")] + public int? RequestTimeoutS { get; set; } + + /// + /// UC schema name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("schema")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Schema { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stream_chunk_bytes")] + public long? StreamChunkBytes { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Azure AD tenant ID (required for Azure AD SP mode) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("tenant_id")] + public string? TenantId { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Databricks personal access token (required for PAT mode)
+ /// Included only in requests + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("token")] + public string? Token { get; set; } + + /// + /// Generate blob URLs in tasks + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + + /// + /// Verify TLS certificates + /// + [global::System.Text.Json.Serialization.JsonPropertyName("verify_tls")] + public bool? VerifyTls { get; set; } + + /// + /// UC volume name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("volume")] + [global::System.Text.Json.Serialization.JsonRequired] + public required string Volume { 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. + /// + /// + /// UC catalog name + /// + /// + /// Databricks workspace base URL (https://...) + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// UC schema name + /// + /// + /// UC volume name + /// + /// + /// Authentication method: PAT, Databricks SP, or Azure AD SP
+ /// * `pat` - Personal Access Token
+ /// * `dbx_sp` - Databricks Service Principal
+ /// * `azure_ad_sp` - Azure AD Service Principal
+ /// Default Value: pat + /// + /// + /// Service principal client/application ID (required for SP modes) + /// + /// + /// Service principal client secret (required for SP modes)
+ /// Included only in requests + /// + /// + /// Cloud storage description + /// + /// + /// Path under the volume + /// + /// + /// Presign not supported; always proxied + /// + /// + /// Unused for Databricks; kept for compatibility + /// + /// + /// Perform recursive scan + /// + /// + /// Regex for filtering objects + /// + /// + /// + /// + /// Default Value: true + /// + /// + /// Azure AD tenant ID (required for Azure AD SP mode) + /// + /// + /// Cloud storage title + /// + /// + /// Databricks personal access token (required for PAT mode)
+ /// Included only in requests + /// + /// + /// Generate blob URLs in tasks + /// + /// + /// Verify TLS certificates + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public DatabricksImportStorageWriteRequest( + string catalog, + string host, + int project, + string schema, + string volume, + global::LabelStudio.AuthTypeEnum? authType, + string? clientId, + string? clientSecret, + string? description, + string? prefix, + bool? presign, + int? presignTtl, + bool? recursiveScan, + string? regexFilter, + int? requestTimeoutS, + long? streamChunkBytes, + bool? synchronizable, + string? tenantId, + string? title, + string? token, + bool? useBlobUrls, + bool? verifyTls) + { + this.AuthType = authType; + this.Catalog = catalog ?? throw new global::System.ArgumentNullException(nameof(catalog)); + this.ClientId = clientId; + this.ClientSecret = clientSecret; + this.Description = description; + this.Host = host ?? throw new global::System.ArgumentNullException(nameof(host)); + this.Prefix = prefix; + this.Presign = presign; + this.PresignTtl = presignTtl; + this.Project = project; + this.RecursiveScan = recursiveScan; + this.RegexFilter = regexFilter; + this.RequestTimeoutS = requestTimeoutS; + this.Schema = schema ?? throw new global::System.ArgumentNullException(nameof(schema)); + this.StreamChunkBytes = streamChunkBytes; + this.Synchronizable = synchronizable; + this.TenantId = tenantId; + this.Title = title; + this.Token = token; + this.UseBlobUrls = useBlobUrls; + this.VerifyTls = verifyTls; + this.Volume = volume ?? throw new global::System.ArgumentNullException(nameof(volume)); + } + + /// + /// Initializes a new instance of the class. + /// + public DatabricksImportStorageWriteRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageValidateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageValidateRequest.Json.g.cs new file mode 100644 index 00000000..f73d666e --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageValidateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class GCSExportStorageValidateRequest + { + /// + /// 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.GCSExportStorageValidateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.GCSExportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.GCSExportStorageValidateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.GCSExportStorageValidateRequest? 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.GCSExportStorageValidateRequest? 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.GCSExportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.GCSExportStorageValidateRequest; + } + + /// + /// 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.GCSExportStorageValidateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageValidateRequest.g.cs new file mode 100644 index 00000000..88e1f277 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageValidateRequest.g.cs @@ -0,0 +1,168 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class GCSExportStorageValidateRequest + { + /// + /// GCS bucket name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bucket")] + public string? Bucket { get; set; } + + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google_application_credentials")] + public string? GoogleApplicationCredentials { get; set; } + + /// + /// Google project ID + /// + [global::System.Text.Json.Serialization.JsonPropertyName("google_project_id")] + public string? GoogleProjectId { get; set; } + + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// GCS bucket prefix + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// GCS bucket name + /// + /// + /// Deletion from storage enabled + /// + /// + /// Cloud storage description + /// + /// + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file + /// + /// + /// Google project ID + /// + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + /// + /// GCS bucket prefix + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public GCSExportStorageValidateRequest( + int project, + string? bucket, + bool? canDeleteObjects, + string? description, + string? googleApplicationCredentials, + string? googleProjectId, + int? id, + string? prefix, + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.Bucket = bucket; + this.CanDeleteObjects = canDeleteObjects; + this.Description = description; + this.GoogleApplicationCredentials = googleApplicationCredentials; + this.GoogleProjectId = googleProjectId; + this.Id = id; + this.Prefix = prefix; + this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public GCSExportStorageValidateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageWriteRequest.Json.g.cs index 00e95358..e13ae89d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmActionsCreateRequest + public sealed partial class GCSExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequest? FromJson( + public static global::LabelStudio.GCSExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmActionsCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequest; + typeof(global::LabelStudio.GCSExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.GCSExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequest? FromJson( + public static global::LabelStudio.GCSExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmActionsCreateRequest? FromJson( + public static global::LabelStudio.GCSExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmActionsCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequest; + typeof(global::LabelStudio.GCSExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.GCSExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageWriteRequest.g.cs similarity index 62% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageWriteRequest.g.cs index db1875e3..d377a82e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSExportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportGcsCreateRequest + public sealed partial class GCSExportStorageWriteRequest { /// /// GCS bucket name @@ -15,20 +15,19 @@ public sealed partial class ApiStoragesExportGcsCreateRequest public string? Bucket { get; set; } /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled ///
[global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] public bool? CanDeleteObjects { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// [global::System.Text.Json.Serialization.JsonPropertyName("google_application_credentials")] public string? GoogleApplicationCredentials { get; set; } @@ -46,17 +45,36 @@ public sealed partial class ApiStoragesExportGcsCreateRequest public string? Prefix { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Storage title + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -64,20 +82,22 @@ public sealed partial class ApiStoragesExportGcsCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -85,24 +105,33 @@ public sealed partial class ApiStoragesExportGcsCreateRequest /// /// GCS bucket prefix /// - /// - /// Project ID + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportGcsCreateRequest( + public GCSExportStorageWriteRequest( + int project, string? bucket, bool? canDeleteObjects, string? description, string? googleApplicationCredentials, string? googleProjectId, string? prefix, - int? project, - string? title) + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) { this.Bucket = bucket; this.CanDeleteObjects = canDeleteObjects; @@ -111,13 +140,16 @@ public ApiStoragesExportGcsCreateRequest( this.GoogleProjectId = googleProjectId; this.Prefix = prefix; this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; + this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportGcsCreateRequest() + public GCSExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageValidateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageValidateRequest.Json.g.cs new file mode 100644 index 00000000..045e2a29 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageValidateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class GCSImportStorageValidateRequest + { + /// + /// 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.GCSImportStorageValidateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.GCSImportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.GCSImportStorageValidateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.GCSImportStorageValidateRequest? 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.GCSImportStorageValidateRequest? 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.GCSImportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.GCSImportStorageValidateRequest; + } + + /// + /// 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.ApiStoragesGcsValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageValidateRequest.g.cs similarity index 71% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageValidateRequest.g.cs index 821edf57..0ae4226e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageValidateRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesGcsValidateCreateRequest + public sealed partial class GCSImportStorageValidateRequest { /// /// GCS bucket name @@ -15,13 +15,13 @@ public sealed partial class ApiStoragesGcsValidateCreateRequest public string? Bucket { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// [global::System.Text.Json.Serialization.JsonPropertyName("google_application_credentials")] public string? GoogleApplicationCredentials { get; set; } @@ -45,40 +45,50 @@ public sealed partial class ApiStoragesGcsValidateCreateRequest public string? Prefix { get; set; } /// - /// Presign URLs for direct download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Perform recursive scan over the bucket content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -90,16 +100,19 @@ public sealed partial class ApiStoragesGcsValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -111,30 +124,31 @@ public sealed partial class ApiStoragesGcsValidateCreateRequest /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// - /// - /// Project ID + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesGcsValidateCreateRequest( + public GCSImportStorageValidateRequest( + int project, string? bucket, string? description, string? googleApplicationCredentials, @@ -143,8 +157,9 @@ public ApiStoragesGcsValidateCreateRequest( string? prefix, bool? presign, int? presignTtl, - int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -157,15 +172,17 @@ public ApiStoragesGcsValidateCreateRequest( this.Presign = presign; this.PresignTtl = presignTtl; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesGcsValidateCreateRequest() + public GCSImportStorageValidateRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageWriteRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageWriteRequest.Json.g.cs new file mode 100644 index 00000000..8bef8649 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageWriteRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class GCSImportStorageWriteRequest + { + /// + /// 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.GCSImportStorageWriteRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.GCSImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.GCSImportStorageWriteRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.GCSImportStorageWriteRequest? 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.GCSImportStorageWriteRequest? 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.GCSImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.GCSImportStorageWriteRequest; + } + + /// + /// 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.ApiStoragesGcsCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageWriteRequest.g.cs similarity index 69% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageWriteRequest.g.cs index 6898317d..dd5fde4d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.GCSImportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesGcsCreateRequest + public sealed partial class GCSImportStorageWriteRequest { /// /// GCS bucket name @@ -15,13 +15,13 @@ public sealed partial class ApiStoragesGcsCreateRequest public string? Bucket { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// [global::System.Text.Json.Serialization.JsonPropertyName("google_application_credentials")] public string? GoogleApplicationCredentials { get; set; } @@ -39,40 +39,50 @@ public sealed partial class ApiStoragesGcsCreateRequest public string? Prefix { get; set; } /// - /// Presign URLs for direct download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Perform recursive scan over the bucket content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -84,16 +94,19 @@ public sealed partial class ApiStoragesGcsCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -102,30 +115,31 @@ public sealed partial class ApiStoragesGcsCreateRequest /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// - /// - /// Project ID + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesGcsCreateRequest( + public GCSImportStorageWriteRequest( + int project, string? bucket, string? description, string? googleApplicationCredentials, @@ -133,8 +147,9 @@ public ApiStoragesGcsCreateRequest( string? prefix, bool? presign, int? presignTtl, - int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -146,15 +161,17 @@ public ApiStoragesGcsCreateRequest( this.Presign = presign; this.PresignTtl = presignTtl; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesGcsCreateRequest() + public GCSImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageValidateRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItem.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageValidateRequest.Json.g.cs index b997f15e..07a9cf21 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItem.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsCreateRequestDataFiltersItem + public sealed partial class LocalFilesExportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItem? FromJson( + public static global::LabelStudio.LocalFilesExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItem), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItem; + typeof(global::LabelStudio.LocalFilesExportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.LocalFilesExportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItem? FromJson( + public static global::LabelStudio.LocalFilesExportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsCreateRequestDataFiltersItem? FromJson( + public static global::LabelStudio.LocalFilesExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsCreateRequestDataFiltersItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestDataFiltersItem; + typeof(global::LabelStudio.LocalFilesExportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.LocalFilesExportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageValidateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageValidateRequest.g.cs new file mode 100644 index 00000000..4f6f68ae --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageValidateRequest.g.cs @@ -0,0 +1,135 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class LocalFilesExportStorageValidateRequest + { + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// Local path + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Deletion from storage enabled + /// + /// + /// Cloud storage description + /// + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + /// + /// Local path + /// + /// + /// Regex for filtering objects + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LocalFilesExportStorageValidateRequest( + int project, + bool? canDeleteObjects, + string? description, + int? id, + string? path, + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.CanDeleteObjects = canDeleteObjects; + this.Description = description; + this.Id = id; + this.Path = path; + this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public LocalFilesExportStorageValidateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsValidateCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageWriteRequest.Json.g.cs index be0a4011..01e5ace6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsValidateCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesGcsValidateCreateRequest + public sealed partial class LocalFilesExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesGcsValidateCreateRequest? FromJson( + public static global::LabelStudio.LocalFilesExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesGcsValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesGcsValidateCreateRequest; + typeof(global::LabelStudio.LocalFilesExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.LocalFilesExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesGcsValidateCreateRequest? FromJson( + public static global::LabelStudio.LocalFilesExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesGcsValidateCreateRequest? FromJson( + public static global::LabelStudio.LocalFilesExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesGcsValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesGcsValidateCreateRequest; + typeof(global::LabelStudio.LocalFilesExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.LocalFilesExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageWriteRequest.g.cs similarity index 58% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesPartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageWriteRequest.g.cs index 049e9da3..5adadb4b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesPartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesExportStorageWriteRequest.g.cs @@ -6,25 +6,32 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportLocalfilesPartialUpdateRequest + public sealed partial class LocalFilesExportStorageWriteRequest { /// - /// Storage description + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// Path to local directory + /// Local path /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] public string? Path { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// /// Regex for filtering objects @@ -33,14 +40,19 @@ public sealed partial class ApiStoragesExportLocalfilesPartialUpdateRequest public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -52,50 +64,59 @@ public sealed partial class ApiStoragesExportLocalfilesPartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Deletion from storage enabled + /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory - /// - /// - /// Project ID + /// Local path /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportLocalfilesPartialUpdateRequest( + public LocalFilesExportStorageWriteRequest( + int project, + bool? canDeleteObjects, string? description, string? path, - int? project, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { + this.CanDeleteObjects = canDeleteObjects; this.Description = description; this.Path = path; this.Project = project; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportLocalfilesPartialUpdateRequest() + public LocalFilesExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFilters.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageValidateRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFilters.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageValidateRequest.Json.g.cs index 7f1c3890..76138923 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFilters.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmActionsCreateRequestFilters + public sealed partial class LocalFilesImportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestFilters? FromJson( + public static global::LabelStudio.LocalFilesImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestFilters), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestFilters; + typeof(global::LabelStudio.LocalFilesImportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.LocalFilesImportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestFilters? FromJson( + public static global::LabelStudio.LocalFilesImportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmActionsCreateRequestFilters? FromJson( + public static global::LabelStudio.LocalFilesImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmActionsCreateRequestFilters), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestFilters; + typeof(global::LabelStudio.LocalFilesImportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.LocalFilesImportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageValidateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageValidateRequest.g.cs new file mode 100644 index 00000000..0ead5d68 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageValidateRequest.g.cs @@ -0,0 +1,135 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class LocalFilesImportStorageValidateRequest + { + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// Local path + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Perform recursive scan over the directory content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage description + /// + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + /// + /// Local path + /// + /// + /// Perform recursive scan over the directory content + /// + /// + /// Regex for filtering objects + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public LocalFilesImportStorageValidateRequest( + int project, + string? description, + int? id, + string? path, + bool? recursiveScan, + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.Description = description; + this.Id = id; + this.Path = path; + this.Project = project; + this.RecursiveScan = recursiveScan; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public LocalFilesImportStorageValidateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageWriteRequest.Json.g.cs index a2b32161..45cfd931 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesExportRedisCreateRequest + public sealed partial class LocalFilesImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportRedisCreateRequest? FromJson( + public static global::LabelStudio.LocalFilesImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesExportRedisCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportRedisCreateRequest; + typeof(global::LabelStudio.LocalFilesImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.LocalFilesImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportRedisCreateRequest? FromJson( + public static global::LabelStudio.LocalFilesImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesExportRedisCreateRequest? FromJson( + public static global::LabelStudio.LocalFilesImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesExportRedisCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportRedisCreateRequest; + typeof(global::LabelStudio.LocalFilesImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.LocalFilesImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageWriteRequest.g.cs similarity index 58% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageWriteRequest.g.cs index 2be273a5..721f88de 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LocalFilesImportStorageWriteRequest.g.cs @@ -6,25 +6,32 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesLocalfilesCreateRequest + public sealed partial class LocalFilesImportStorageWriteRequest { /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// Path to local directory + /// Local path /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] public string? Path { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Perform recursive scan over the directory content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } /// /// Regex for filtering objects @@ -33,14 +40,19 @@ public sealed partial class ApiStoragesLocalfilesCreateRequest public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -52,50 +64,59 @@ public sealed partial class ApiStoragesLocalfilesCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// - /// - /// Project ID + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesLocalfilesCreateRequest( + public LocalFilesImportStorageWriteRequest( + int project, string? description, string? path, - int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { this.Description = description; this.Path = path; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesLocalfilesCreateRequest() + public LocalFilesImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseUserRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LseUserRequest.Json.g.cs index 221043dc..f97237c4 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseUserRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ModelRunRequest + public sealed partial class LseUserRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ModelRunRequest? FromJson( + public static global::LabelStudio.LseUserRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ModelRunRequest), - jsonSerializerContext) as global::LabelStudio.ModelRunRequest; + typeof(global::LabelStudio.LseUserRequest), + jsonSerializerContext) as global::LabelStudio.LseUserRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ModelRunRequest? FromJson( + public static global::LabelStudio.LseUserRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ModelRunRequest? FromJson( + public static global::LabelStudio.LseUserRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ModelRunRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ModelRunRequest; + typeof(global::LabelStudio.LseUserRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.LseUserRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseUserRequest.g.cs similarity index 50% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersPartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.LseUserRequest.g.cs index 5e61c176..0ae445c8 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersPartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.LseUserRequest.g.cs @@ -4,63 +4,73 @@ namespace LabelStudio { /// - /// + /// A ModelSerializer that takes additional arguments for
+ /// "fields", "omit" and "expand" in order to
+ /// control which fields are displayed, and whether to replace simple
+ /// values with complex, nested serializations ///
- public sealed partial class ApiUsersPartialUpdateRequest + public sealed partial class LseUserRequest { /// - /// Whether the user allows newsletters + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("active_organization")] + public int? ActiveOrganization { get; set; } + + /// + /// Allow sending newsletters to user /// [global::System.Text.Json.Serialization.JsonPropertyName("allow_newsletters")] public bool? AllowNewsletters { get; set; } /// - /// Avatar URL of the user + /// Custom keyboard shortcuts configuration for the user interface + /// + [global::System.Text.Json.Serialization.JsonPropertyName("custom_hotkeys")] + public object? CustomHotkeys { get; set; } + + /// + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("avatar")] - public string? Avatar { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("date_joined")] + public global::System.DateTime? DateJoined { get; set; } /// - /// Email of the user + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("email")] public string? Email { get; set; } /// - /// First name of the user + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("first_name")] public string? FirstName { get; set; } /// - /// User ID + /// /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - - /// - /// Initials of the user - /// - [global::System.Text.Json.Serialization.JsonPropertyName("initials")] - public string? Initials { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("last_name")] + public string? LastName { get; set; } /// - /// Last name of the user + /// Included only in requests /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_name")] - public string? LastName { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("password")] + public string? Password { get; set; } /// - /// Phone number of the user + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("phone")] public string? Phone { get; set; } /// - /// Username of the user + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("username")] - public string? Username { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required string Username { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -69,64 +79,55 @@ public sealed partial class ApiUsersPartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// /// - /// Whether the user allows newsletters - /// - /// - /// Avatar URL of the user - /// - /// - /// Email of the user - /// - /// - /// First name of the user - /// - /// - /// User ID - /// - /// - /// Initials of the user - /// - /// - /// Last name of the user + /// Allow sending newsletters to user /// - /// - /// Phone number of the user + /// + /// Custom keyboard shortcuts configuration for the user interface /// - /// - /// Username of the user + /// + /// + /// + /// + /// + /// Included only in requests /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiUsersPartialUpdateRequest( + public LseUserRequest( + string username, + int? activeOrganization, bool? allowNewsletters, - string? avatar, + object? customHotkeys, + global::System.DateTime? dateJoined, string? email, string? firstName, - int? id, - string? initials, string? lastName, - string? phone, - string? username) + string? password, + string? phone) { + this.ActiveOrganization = activeOrganization; this.AllowNewsletters = allowNewsletters; - this.Avatar = avatar; + this.CustomHotkeys = customHotkeys; + this.DateJoined = dateJoined; this.Email = email; this.FirstName = firstName; - this.Id = id; - this.Initials = initials; this.LastName = lastName; + this.Password = password; this.Phone = phone; - this.Username = username; + this.Username = username ?? throw new global::System.ArgumentNullException(nameof(username)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiUsersPartialUpdateRequest() + public LseUserRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlTrainCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendRequestRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlTrainCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendRequestRequest.Json.g.cs index bed6152c..cdff3a6f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlTrainCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendRequestRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiMlTrainCreateRequest + public sealed partial class MLBackendRequestRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiMlTrainCreateRequest? FromJson( + public static global::LabelStudio.MLBackendRequestRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiMlTrainCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiMlTrainCreateRequest; + typeof(global::LabelStudio.MLBackendRequestRequest), + jsonSerializerContext) as global::LabelStudio.MLBackendRequestRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiMlTrainCreateRequest? FromJson( + public static global::LabelStudio.MLBackendRequestRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiMlTrainCreateRequest? FromJson( + public static global::LabelStudio.MLBackendRequestRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiMlTrainCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiMlTrainCreateRequest; + typeof(global::LabelStudio.MLBackendRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.MLBackendRequestRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendRequestRequest.g.cs similarity index 53% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendRequestRequest.g.cs index 9b4ce519..0b8b81db 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendRequestRequest.g.cs @@ -4,70 +4,85 @@ namespace LabelStudio { /// - /// + /// OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer. /// - public sealed partial class ApiMlCreateRequest + public sealed partial class MLBackendRequestRequest { /// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth ///
[global::System.Text.Json.Serialization.JsonPropertyName("auth_method")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiMlCreateRequestAuthMethodJsonConverter))] - public global::LabelStudio.ApiMlCreateRequestAuthMethod? AuthMethod { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AuthMethodEnumJsonConverter))] + public global::LabelStudio.AuthMethodEnum? AuthMethod { get; set; } /// - /// Basic auth password + /// If false, model version is set by the user, if true - getting latest version from backend. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("auto_update")] + public bool? AutoUpdate { get; set; } + + /// + /// Included only in requests /// [global::System.Text.Json.Serialization.JsonPropertyName("basic_auth_pass")] public string? BasicAuthPass { get; set; } /// - /// Basic auth user + /// HTTP Basic Auth user /// [global::System.Text.Json.Serialization.JsonPropertyName("basic_auth_user")] public string? BasicAuthUser { get; set; } /// - /// Description + /// Description for the machine learning backend /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// [global::System.Text.Json.Serialization.JsonPropertyName("extra_params")] public object? ExtraParams { get; set; } /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// [global::System.Text.Json.Serialization.JsonPropertyName("is_interactive")] public bool? IsInteractive { get; set; } /// - /// Project ID + /// Current model version associated with this machine learning backend + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model_version")] + public string? ModelVersion { get; set; } + + /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// /// Response model timeout /// [global::System.Text.Json.Serialization.JsonPropertyName("timeout")] - public int? Timeout { get; set; } + public double? Timeout { get; set; } /// - /// Title + /// Name of the machine learning backend /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// ML backend URL + /// URL for the machine learning model server /// [global::System.Text.Json.Serialization.JsonPropertyName("url")] - public string? Url { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required string Url { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -76,69 +91,78 @@ public sealed partial class ApiMlCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// + /// URL for the machine learning model server + /// /// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth + /// + /// + /// If false, model version is set by the user, if true - getting latest version from backend. /// /// - /// Basic auth password + /// Included only in requests /// /// - /// Basic auth user + /// HTTP Basic Auth user /// /// - /// Description + /// Description for the machine learning backend /// /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// - /// - /// Project ID + /// + /// Current model version associated with this machine learning backend /// /// /// Response model timeout /// /// - /// Title - /// - /// - /// ML backend URL + /// Name of the machine learning backend /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiMlCreateRequest( - global::LabelStudio.ApiMlCreateRequestAuthMethod? authMethod, + public MLBackendRequestRequest( + int project, + string url, + global::LabelStudio.AuthMethodEnum? authMethod, + bool? autoUpdate, string? basicAuthPass, string? basicAuthUser, string? description, object? extraParams, bool? isInteractive, - int? project, - int? timeout, - string? title, - string? url) + string? modelVersion, + double? timeout, + string? title) { this.AuthMethod = authMethod; + this.AutoUpdate = autoUpdate; this.BasicAuthPass = basicAuthPass; this.BasicAuthUser = basicAuthUser; this.Description = description; this.ExtraParams = extraParams; this.IsInteractive = isInteractive; + this.ModelVersion = modelVersion; this.Project = project; this.Timeout = timeout; this.Title = title; - this.Url = url; + this.Url = url ?? throw new global::System.ArgumentNullException(nameof(url)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiMlCreateRequest() + public MLBackendRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendTrainRequestRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendTrainRequestRequest.Json.g.cs new file mode 100644 index 00000000..dbc82d99 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendTrainRequestRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class MLBackendTrainRequestRequest + { + /// + /// 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.MLBackendTrainRequestRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.MLBackendTrainRequestRequest), + jsonSerializerContext) as global::LabelStudio.MLBackendTrainRequestRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.MLBackendTrainRequestRequest? 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.MLBackendTrainRequestRequest? 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.MLBackendTrainRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.MLBackendTrainRequestRequest; + } + + /// + /// 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.ApiMlTrainCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendTrainRequestRequest.g.cs similarity index 73% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlTrainCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendTrainRequestRequest.g.cs index 41b7d0f0..6499f676 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlTrainCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.MLBackendTrainRequestRequest.g.cs @@ -6,10 +6,11 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiMlTrainCreateRequest + public sealed partial class MLBackendTrainRequestRequest { /// - /// Whether to include ground truth annotations in training + /// Whether to include ground truth annotations in training
+ /// Default Value: false ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_ground_truth")] public bool? UseGroundTruth { get; set; } @@ -21,24 +22,25 @@ public sealed partial class ApiMlTrainCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Whether to include ground truth annotations in training + /// Whether to include ground truth annotations in training
+ /// Default Value: false /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiMlTrainCreateRequest( + public MLBackendTrainRequestRequest( bool? useGroundTruth) { this.UseGroundTruth = useGroundTruth; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiMlTrainCreateRequest() + public MLBackendTrainRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRun.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRun.g.cs index 1956800e..69706d7c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRun.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRun.g.cs @@ -47,6 +47,13 @@ public sealed partial class ModelRun [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] public string? JobId { get; set; } + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model_version")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ModelVersion { get; set; } + /// /// /// @@ -143,6 +150,7 @@ public sealed partial class ModelRun /// /// Initializes a new instance of the class. /// + /// /// /// /// Included only in responses @@ -196,6 +204,7 @@ public sealed partial class ModelRun [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ModelRun( + int modelVersion, int project, global::System.DateTime? completedAt, object? filtersJson, @@ -222,6 +231,7 @@ public ModelRun( this.FiltersJson = filtersJson; this.Id = id; this.JobId = jobId; + this.ModelVersion = modelVersion; this.Organization = organization; this.ParentModel = parentModel; this.PredictionsUpdatedAt = predictionsUpdatedAt; @@ -244,17 +254,5 @@ public ModelRun() { } - /// - /// Creates a new from its single non-const required field, - /// hardcoding any const discriminator fields. - /// - public static ModelRun FromProject(int project) - { - return new ModelRun - { - Project = project, - }; - } - } } \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequestRequest.Json.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequestRequest.Json.g.cs index 8b2b9901..a882fcf7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiUsersCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequestRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiUsersCreateRequest + public sealed partial class ModelRunRequestRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiUsersCreateRequest? FromJson( + public static global::LabelStudio.ModelRunRequestRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiUsersCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiUsersCreateRequest; + typeof(global::LabelStudio.ModelRunRequestRequest), + jsonSerializerContext) as global::LabelStudio.ModelRunRequestRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiUsersCreateRequest? FromJson( + public static global::LabelStudio.ModelRunRequestRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiUsersCreateRequest? FromJson( + public static global::LabelStudio.ModelRunRequestRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiUsersCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiUsersCreateRequest; + typeof(global::LabelStudio.ModelRunRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ModelRunRequestRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequestRequest.g.cs similarity index 95% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequestRequest.g.cs index 6c78617c..41da2831 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ModelRunRequestRequest.g.cs @@ -4,9 +4,9 @@ namespace LabelStudio { /// - /// + /// OpenAPI-only request shape; ``model_version`` comes from the URL path. /// - public sealed partial class ModelRunRequest + public sealed partial class ModelRunRequestRequest { /// /// DM filter group for Filtered subset. Stored for display/re-run purposes. @@ -88,7 +88,7 @@ public sealed partial class ModelRunRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// @@ -119,7 +119,7 @@ public sealed partial class ModelRunRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ModelRunRequest( + public ModelRunRequestRequest( int project, object? filtersJson, string? jobId, @@ -146,9 +146,9 @@ public ModelRunRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ModelRunRequest() + public ModelRunRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequest.Json.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequest.Json.g.cs index 01c232ff..381b5495 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsUpdateRequest + public sealed partial class PatchedAnnotationRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsUpdateRequest? FromJson( + public static global::LabelStudio.PatchedAnnotationRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequest; + typeof(global::LabelStudio.PatchedAnnotationRequest), + jsonSerializerContext) as global::LabelStudio.PatchedAnnotationRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsUpdateRequest? FromJson( + public static global::LabelStudio.PatchedAnnotationRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsUpdateRequest? FromJson( + public static global::LabelStudio.PatchedAnnotationRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequest; + typeof(global::LabelStudio.PatchedAnnotationRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedAnnotationRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequest.g.cs new file mode 100644 index 00000000..9ce0c002 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequest.g.cs @@ -0,0 +1,232 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Annotation Serializer with FSM state support.
+ /// Note: The 'state' field will be populated from the queryset annotation
+ /// if present, preventing N+1 queries. Use .with_state() on your queryset. + ///
+ public sealed partial class PatchedAnnotationRequest + { + /// + /// Annotation was created in bulk mode + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bulk_created")] + public bool? BulkCreated { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("completed_by")] + public int? CompletedBy { get; set; } + + /// + /// Draft creation time + /// + [global::System.Text.Json.Serialization.JsonPropertyName("draft_created_at")] + public global::System.DateTime? DraftCreatedAt { get; set; } + + /// + /// This annotation is a Ground Truth (ground_truth) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ground_truth")] + public bool? GroundTruth { get; set; } + + /// + /// Original annotation ID that was at the import step or NULL if this annotation wasn't imported + /// + [global::System.Text.Json.Serialization.JsonPropertyName("import_id")] + public long? ImportId { get; set; } + + /// + /// Action which was performed in the last annotation history item
+ /// * `prediction` - Created from prediction
+ /// * `propagated_annotation` - Created from another annotation
+ /// * `imported` - Imported
+ /// * `submitted` - Submitted
+ /// * `updated` - Updated
+ /// * `skipped` - Skipped
+ /// * `accepted` - Accepted
+ /// * `rejected` - Rejected
+ /// * `fixed_and_accepted` - Fixed and accepted
+ /// * `deleted_review` - Deleted review + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("last_action")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AnnotationHistoryActionEnumJsonConverter))] + public global::LabelStudio.AnnotationHistoryActionEnum? LastAction { get; set; } + + /// + /// User who created the last annotation history item + /// + [global::System.Text.Json.Serialization.JsonPropertyName("last_created_by")] + public int? LastCreatedBy { get; set; } + + /// + /// How much time it took to annotate the task + /// + [global::System.Text.Json.Serialization.JsonPropertyName("lead_time")] + public double? LeadTime { get; set; } + + /// + /// Points to the parent annotation from which this annotation was created + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_annotation")] + public int? ParentAnnotation { get; set; } + + /// + /// Points to the prediction from which this annotation was created + /// + [global::System.Text.Json.Serialization.JsonPropertyName("parent_prediction")] + public int? ParentPrediction { get; set; } + + /// + /// Project ID for this annotation + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + public int? Project { get; set; } + + /// + /// List of annotation results for the task + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result")] + public global::System.Collections.Generic.IList? Result { get; set; } + + /// + /// Corresponding task for this annotation + /// + [global::System.Text.Json.Serialization.JsonPropertyName("task")] + public int? Task { get; set; } + + /// + /// Included only in requests + /// + [global::System.Text.Json.Serialization.JsonPropertyName("unique_id")] + public string? UniqueId { get; set; } + + /// + /// Last user who updated this annotation + /// + [global::System.Text.Json.Serialization.JsonPropertyName("updated_by")] + public int? UpdatedBy { get; set; } + + /// + /// User skipped the task + /// + [global::System.Text.Json.Serialization.JsonPropertyName("was_cancelled")] + public bool? WasCancelled { 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. + /// + /// + /// Annotation was created in bulk mode + /// + /// + /// + /// Draft creation time + /// + /// + /// This annotation is a Ground Truth (ground_truth) + /// + /// + /// Original annotation ID that was at the import step or NULL if this annotation wasn't imported + /// + /// + /// Action which was performed in the last annotation history item
+ /// * `prediction` - Created from prediction
+ /// * `propagated_annotation` - Created from another annotation
+ /// * `imported` - Imported
+ /// * `submitted` - Submitted
+ /// * `updated` - Updated
+ /// * `skipped` - Skipped
+ /// * `accepted` - Accepted
+ /// * `rejected` - Rejected
+ /// * `fixed_and_accepted` - Fixed and accepted
+ /// * `deleted_review` - Deleted review + /// + /// + /// User who created the last annotation history item + /// + /// + /// How much time it took to annotate the task + /// + /// + /// Points to the parent annotation from which this annotation was created + /// + /// + /// Points to the prediction from which this annotation was created + /// + /// + /// Project ID for this annotation + /// + /// + /// List of annotation results for the task + /// + /// + /// Corresponding task for this annotation + /// + /// + /// Included only in requests + /// + /// + /// Last user who updated this annotation + /// + /// + /// User skipped the task + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PatchedAnnotationRequest( + bool? bulkCreated, + int? completedBy, + global::System.DateTime? draftCreatedAt, + bool? groundTruth, + long? importId, + global::LabelStudio.AnnotationHistoryActionEnum? lastAction, + int? lastCreatedBy, + double? leadTime, + int? parentAnnotation, + int? parentPrediction, + int? project, + global::System.Collections.Generic.IList? result, + int? task, + string? uniqueId, + int? updatedBy, + bool? wasCancelled) + { + this.BulkCreated = bulkCreated; + this.CompletedBy = completedBy; + this.DraftCreatedAt = draftCreatedAt; + this.GroundTruth = groundTruth; + this.ImportId = importId; + this.LastAction = lastAction; + this.LastCreatedBy = lastCreatedBy; + this.LeadTime = leadTime; + this.ParentAnnotation = parentAnnotation; + this.ParentPrediction = parentPrediction; + this.Project = project; + this.Result = result; + this.Task = task; + this.UniqueId = uniqueId; + this.UpdatedBy = updatedBy; + this.WasCancelled = wasCancelled; + } + + /// + /// Initializes a new instance of the class. + /// + public PatchedAnnotationRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFilters.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequestResultItem.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFilters.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequestResultItem.Json.g.cs index e5175ee2..4ff874a1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFilters.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequestResultItem.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsCreateRequestDataFilters + public sealed partial class PatchedAnnotationRequestResultItem { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFilters? FromJson( + public static global::LabelStudio.PatchedAnnotationRequestResultItem? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsCreateRequestDataFilters), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequestDataFilters; + typeof(global::LabelStudio.PatchedAnnotationRequestResultItem), + jsonSerializerContext) as global::LabelStudio.PatchedAnnotationRequestResultItem; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsCreateRequestDataFilters? FromJson( + public static global::LabelStudio.PatchedAnnotationRequestResultItem? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsCreateRequestDataFilters? FromJson( + public static global::LabelStudio.PatchedAnnotationRequestResultItem? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsCreateRequestDataFilters), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequestDataFilters; + typeof(global::LabelStudio.PatchedAnnotationRequestResultItem), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedAnnotationRequestResultItem; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequestResultItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequestResultItem.g.cs similarity index 80% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequestResultItem.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequestResultItem.g.cs index 58b55b48..b38917fd 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequestResultItem.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAnnotationRequestResultItem.g.cs @@ -4,9 +4,9 @@ namespace LabelStudio { /// - /// + /// List of annotated regions for the task /// - public sealed partial class ApiAnnotationsPartialUpdateRequestResultItem + public sealed partial class PatchedAnnotationRequestResultItem { /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobExportStorageWriteRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobExportStorageWriteRequest.Json.g.cs index 7330befc..0798bae3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesLocalfilesPartialUpdateRequest + public sealed partial class PatchedAzureBlobExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest; + typeof(global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesLocalfilesPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesLocalfilesPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest; + typeof(global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobExportStorageWriteRequest.g.cs similarity index 65% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobExportStorageWriteRequest.g.cs index 682cbd2a..2aa6da5b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobExportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportAzureValidateCreateRequest + public sealed partial class PatchedAzureBlobExportStorageWriteRequest { /// /// Azure Blob account key @@ -21,8 +21,7 @@ public sealed partial class ApiStoragesExportAzureValidateCreateRequest public string? AccountName { get; set; } /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled ///
[global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] public bool? CanDeleteObjects { get; set; } @@ -34,17 +33,11 @@ public sealed partial class ApiStoragesExportAzureValidateCreateRequest public string? Container { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } - /// - /// Storage ID. If set, storage with specified ID will be updated - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - /// /// Azure blob prefix name /// @@ -52,17 +45,35 @@ public sealed partial class ApiStoragesExportAzureValidateCreateRequest public string? Prefix { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } /// - /// Storage title + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -70,7 +81,7 @@ public sealed partial class ApiStoragesExportAzureValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Azure Blob account key @@ -79,56 +90,65 @@ public sealed partial class ApiStoragesExportAzureValidateCreateRequest /// Azure Blob account name /// /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled /// /// /// Azure blob container /// /// - /// Storage description - /// - /// - /// Storage ID. If set, storage with specified ID will be updated + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportAzureValidateCreateRequest( + public PatchedAzureBlobExportStorageWriteRequest( string? accountKey, string? accountName, bool? canDeleteObjects, string? container, string? description, - int? id, string? prefix, int? project, - string? title) + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) { this.AccountKey = accountKey; this.AccountName = accountName; this.CanDeleteObjects = canDeleteObjects; this.Container = container; this.Description = description; - this.Id = id; this.Prefix = prefix; this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; + this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportAzureValidateCreateRequest() + public PatchedAzureBlobExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobImportStorageWriteRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsValidateCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobImportStorageWriteRequest.Json.g.cs index d38a69ef..d63de6a1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsValidateCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesExportGcsValidateCreateRequest + public sealed partial class PatchedAzureBlobImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest? FromJson( + public static global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest; + typeof(global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest? FromJson( + public static global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesExportGcsValidateCreateRequest? FromJson( + public static global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesExportGcsValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest; + typeof(global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzurePartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobImportStorageWriteRequest.g.cs similarity index 70% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzurePartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobImportStorageWriteRequest.g.cs index 783abf46..89f64ff3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesAzurePartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedAzureBlobImportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesAzurePartialUpdateRequest + public sealed partial class PatchedAzureBlobImportStorageWriteRequest { /// /// Azure Blob account key @@ -27,7 +27,7 @@ public sealed partial class ApiStoragesAzurePartialUpdateRequest public string? Container { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -39,40 +39,49 @@ public sealed partial class ApiStoragesAzurePartialUpdateRequest public string? Prefix { get; set; } /// - /// Presign URLs for direct download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Perform recursive scan over the container content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -84,7 +93,7 @@ public sealed partial class ApiStoragesAzurePartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Azure Blob account key @@ -96,36 +105,39 @@ public sealed partial class ApiStoragesAzurePartialUpdateRequest /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesAzurePartialUpdateRequest( + public PatchedAzureBlobImportStorageWriteRequest( string? accountKey, string? accountName, string? container, @@ -134,7 +146,9 @@ public ApiStoragesAzurePartialUpdateRequest( bool? presign, int? presignTtl, int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -146,15 +160,17 @@ public ApiStoragesAzurePartialUpdateRequest( this.Presign = presign; this.PresignTtl = presignTtl; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesAzurePartialUpdateRequest() + public PatchedAzureBlobImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageWriteRequest.Json.g.cs similarity index 89% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageWriteRequest.Json.g.cs index c3b28b5a..21c53b3e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class PatchedDatabricksExportStorageRequest + public sealed partial class PatchedDatabricksExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.PatchedDatabricksExportStorageRequest? FromJson( + public static global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.PatchedDatabricksExportStorageRequest), - jsonSerializerContext) as global::LabelStudio.PatchedDatabricksExportStorageRequest; + typeof(global::LabelStudio.PatchedDatabricksExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedDatabricksExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.PatchedDatabricksExportStorageRequest? FromJson( + public static global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.PatchedDatabricksExportStorageRequest? FromJson( + public static global::LabelStudio.PatchedDatabricksExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.PatchedDatabricksExportStorageRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedDatabricksExportStorageRequest; + typeof(global::LabelStudio.PatchedDatabricksExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedDatabricksExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageWriteRequest.g.cs similarity index 74% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageWriteRequest.g.cs index 19f9cf86..5ef75ebf 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksExportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Serializer for Databricks export storage with multi-auth support. /// - public sealed partial class PatchedDatabricksExportStorageRequest + public sealed partial class PatchedDatabricksExportStorageWriteRequest { /// /// Authentication method: PAT, Databricks SP, or Azure AD SP
@@ -56,30 +56,6 @@ public sealed partial class PatchedDatabricksExportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("host")] public string? Host { get; set; } - /// - /// Last sync finished time - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync")] - public global::System.DateTime? LastSync { get; set; } - - /// - /// Count of tasks synced last time - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_count")] - public int? LastSyncCount { get; set; } - - /// - /// Last sync job ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_job")] - public string? LastSyncJob { get; set; } - - /// - /// Meta and debug information about storage processes - /// - [global::System.Text.Json.Serialization.JsonPropertyName("meta")] - public object? Meta { get; set; } - /// /// Export path prefix under the volume /// @@ -110,18 +86,6 @@ public sealed partial class PatchedDatabricksExportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("schema")] public string? Schema { get; set; } - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.StorageStatusEnumJsonConverter))] - public global::LabelStudio.StorageStatusEnum? Status { get; set; } - /// /// /// @@ -153,12 +117,6 @@ public sealed partial class PatchedDatabricksExportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("token")] public string? Token { get; set; } - /// - /// Traceback report for the last failed sync - /// - [global::System.Text.Json.Serialization.JsonPropertyName("traceback")] - public string? Traceback { get; set; } - /// /// Generate blob URLs in tasks /// @@ -184,7 +142,7 @@ public sealed partial class PatchedDatabricksExportStorageRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Authentication method: PAT, Databricks SP, or Azure AD SP
@@ -212,18 +170,6 @@ public sealed partial class PatchedDatabricksExportStorageRequest /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Export path prefix under the volume /// @@ -237,14 +183,6 @@ public sealed partial class PatchedDatabricksExportStorageRequest /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -259,9 +197,6 @@ public sealed partial class PatchedDatabricksExportStorageRequest /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -274,7 +209,7 @@ public sealed partial class PatchedDatabricksExportStorageRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public PatchedDatabricksExportStorageRequest( + public PatchedDatabricksExportStorageWriteRequest( global::LabelStudio.AuthTypeEnum? authType, bool? canDeleteObjects, string? catalog, @@ -282,22 +217,16 @@ public PatchedDatabricksExportStorageRequest( string? clientSecret, string? description, string? host, - global::System.DateTime? lastSync, - int? lastSyncCount, - string? lastSyncJob, - object? meta, string? prefix, int? project, string? regexFilter, int? requestTimeoutS, string? schema, - global::LabelStudio.StorageStatusEnum? status, long? streamChunkBytes, bool? synchronizable, string? tenantId, string? title, string? token, - string? traceback, bool? useBlobUrls, bool? verifyTls, string? volume) @@ -309,31 +238,25 @@ public PatchedDatabricksExportStorageRequest( this.ClientSecret = clientSecret; this.Description = description; this.Host = host; - this.LastSync = lastSync; - this.LastSyncCount = lastSyncCount; - this.LastSyncJob = lastSyncJob; - this.Meta = meta; this.Prefix = prefix; this.Project = project; this.RegexFilter = regexFilter; this.RequestTimeoutS = requestTimeoutS; this.Schema = schema; - this.Status = status; this.StreamChunkBytes = streamChunkBytes; this.Synchronizable = synchronizable; this.TenantId = tenantId; this.Title = title; this.Token = token; - this.Traceback = traceback; this.UseBlobUrls = useBlobUrls; this.VerifyTls = verifyTls; this.Volume = volume; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public PatchedDatabricksExportStorageRequest() + public PatchedDatabricksExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageWriteRequest.Json.g.cs similarity index 89% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageWriteRequest.Json.g.cs index a59e3a7c..fac4b341 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class PatchedDatabricksImportStorageRequest + public sealed partial class PatchedDatabricksImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.PatchedDatabricksImportStorageRequest? FromJson( + public static global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.PatchedDatabricksImportStorageRequest), - jsonSerializerContext) as global::LabelStudio.PatchedDatabricksImportStorageRequest; + typeof(global::LabelStudio.PatchedDatabricksImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedDatabricksImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.PatchedDatabricksImportStorageRequest? FromJson( + public static global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.PatchedDatabricksImportStorageRequest? FromJson( + public static global::LabelStudio.PatchedDatabricksImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.PatchedDatabricksImportStorageRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedDatabricksImportStorageRequest; + typeof(global::LabelStudio.PatchedDatabricksImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedDatabricksImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageWriteRequest.g.cs similarity index 75% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageWriteRequest.g.cs index 4db90cd3..6251b71d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatabricksImportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Serializer for Databricks import storage with multi-auth support. /// - public sealed partial class PatchedDatabricksImportStorageRequest + public sealed partial class PatchedDatabricksImportStorageWriteRequest { /// /// Authentication method: PAT, Databricks SP, or Azure AD SP
@@ -50,30 +50,6 @@ public sealed partial class PatchedDatabricksImportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("host")] public string? Host { get; set; } - /// - /// Last sync finished time - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync")] - public global::System.DateTime? LastSync { get; set; } - - /// - /// Count of tasks synced last time - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_count")] - public int? LastSyncCount { get; set; } - - /// - /// Last sync job ID - /// - [global::System.Text.Json.Serialization.JsonPropertyName("last_sync_job")] - public string? LastSyncJob { get; set; } - - /// - /// Meta and debug information about storage processes - /// - [global::System.Text.Json.Serialization.JsonPropertyName("meta")] - public object? Meta { get; set; } - /// /// Path under the volume /// @@ -122,18 +98,6 @@ public sealed partial class PatchedDatabricksImportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("schema")] public string? Schema { get; set; } - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - ///
- [global::System.Text.Json.Serialization.JsonPropertyName("status")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.StorageStatusEnumJsonConverter))] - public global::LabelStudio.StorageStatusEnum? Status { get; set; } - /// /// /// @@ -165,12 +129,6 @@ public sealed partial class PatchedDatabricksImportStorageRequest [global::System.Text.Json.Serialization.JsonPropertyName("token")] public string? Token { get; set; } - /// - /// Traceback report for the last failed sync - /// - [global::System.Text.Json.Serialization.JsonPropertyName("traceback")] - public string? Traceback { get; set; } - /// /// Generate blob URLs in tasks /// @@ -196,7 +154,7 @@ public sealed partial class PatchedDatabricksImportStorageRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Authentication method: PAT, Databricks SP, or Azure AD SP
@@ -221,18 +179,6 @@ public sealed partial class PatchedDatabricksImportStorageRequest /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Path under the volume /// @@ -255,14 +201,6 @@ public sealed partial class PatchedDatabricksImportStorageRequest /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -277,9 +215,6 @@ public sealed partial class PatchedDatabricksImportStorageRequest /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -292,17 +227,13 @@ public sealed partial class PatchedDatabricksImportStorageRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public PatchedDatabricksImportStorageRequest( + public PatchedDatabricksImportStorageWriteRequest( global::LabelStudio.AuthTypeEnum? authType, string? catalog, string? clientId, string? clientSecret, string? description, string? host, - global::System.DateTime? lastSync, - int? lastSyncCount, - string? lastSyncJob, - object? meta, string? prefix, bool? presign, int? presignTtl, @@ -311,13 +242,11 @@ public PatchedDatabricksImportStorageRequest( string? regexFilter, int? requestTimeoutS, string? schema, - global::LabelStudio.StorageStatusEnum? status, long? streamChunkBytes, bool? synchronizable, string? tenantId, string? title, string? token, - string? traceback, bool? useBlobUrls, bool? verifyTls, string? volume) @@ -328,10 +257,6 @@ public PatchedDatabricksImportStorageRequest( this.ClientSecret = clientSecret; this.Description = description; this.Host = host; - this.LastSync = lastSync; - this.LastSyncCount = lastSyncCount; - this.LastSyncJob = lastSyncJob; - this.Meta = meta; this.Prefix = prefix; this.Presign = presign; this.PresignTtl = presignTtl; @@ -340,22 +265,20 @@ public PatchedDatabricksImportStorageRequest( this.RegexFilter = regexFilter; this.RequestTimeoutS = requestTimeoutS; this.Schema = schema; - this.Status = status; this.StreamChunkBytes = streamChunkBytes; this.Synchronizable = synchronizable; this.TenantId = tenantId; this.Title = title; this.Token = token; - this.Traceback = traceback; this.UseBlobUrls = useBlobUrls; this.VerifyTls = verifyTls; this.Volume = volume; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public PatchedDatabricksImportStorageRequest() + public PatchedDatabricksImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzurePartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetImportCandidatesPatchRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzurePartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetImportCandidatesPatchRequest.Json.g.cs index 7e8a6a88..af47093b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzurePartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetImportCandidatesPatchRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesExportAzurePartialUpdateRequest + public sealed partial class PatchedDatasetImportCandidatesPatchRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest; + typeof(global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest), + jsonSerializerContext) as global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesExportAzurePartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesExportAzurePartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest; + typeof(global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedDatasetImportCandidatesPatchRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDatasetsImportPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetImportCandidatesPatchRequest.g.cs similarity index 60% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDatasetsImportPartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetImportCandidatesPatchRequest.g.cs index ea615c1a..ff7fec34 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDatasetsImportPartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedDatasetImportCandidatesPatchRequest.g.cs @@ -6,21 +6,19 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiDatasetsImportPartialUpdateRequest + public sealed partial class PatchedDatasetImportCandidatesPatchRequest { /// /// /// [global::System.Text.Json.Serialization.JsonPropertyName("job_id")] - [global::System.Text.Json.Serialization.JsonRequired] - public required int JobId { get; set; } + public int? JobId { get; set; } /// /// Operation type. /// [global::System.Text.Json.Serialization.JsonPropertyName("signal")] - [global::System.Text.Json.Serialization.JsonRequired] - public required string Signal { get; set; } + public string? Signal { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -29,7 +27,7 @@ public sealed partial class ApiDatasetsImportPartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// @@ -38,18 +36,18 @@ public sealed partial class ApiDatasetsImportPartialUpdateRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDatasetsImportPartialUpdateRequest( - int jobId, - string signal) + public PatchedDatasetImportCandidatesPatchRequest( + int? jobId, + string? signal) { this.JobId = jobId; - this.Signal = signal ?? throw new global::System.ArgumentNullException(nameof(signal)); + this.Signal = signal; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDatasetsImportPartialUpdateRequest() + public PatchedDatasetImportCandidatesPatchRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSExportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSExportStorageWriteRequest.Json.g.cs index 5a885978..72021387 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportAzureCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesExportAzureCreateRequest + public sealed partial class PatchedGCSExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportAzureCreateRequest? FromJson( + public static global::LabelStudio.PatchedGCSExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesExportAzureCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportAzureCreateRequest; + typeof(global::LabelStudio.PatchedGCSExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedGCSExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportAzureCreateRequest? FromJson( + public static global::LabelStudio.PatchedGCSExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesExportAzureCreateRequest? FromJson( + public static global::LabelStudio.PatchedGCSExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesExportAzureCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportAzureCreateRequest; + typeof(global::LabelStudio.PatchedGCSExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedGCSExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSExportStorageWriteRequest.g.cs similarity index 66% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSExportStorageWriteRequest.g.cs index e4ed0005..7bc09196 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSExportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportGcsValidateCreateRequest + public sealed partial class PatchedGCSExportStorageWriteRequest { /// /// GCS bucket name @@ -15,20 +15,19 @@ public sealed partial class ApiStoragesExportGcsValidateCreateRequest public string? Bucket { get; set; } /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled ///
[global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] public bool? CanDeleteObjects { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// [global::System.Text.Json.Serialization.JsonPropertyName("google_application_credentials")] public string? GoogleApplicationCredentials { get; set; } @@ -39,12 +38,6 @@ public sealed partial class ApiStoragesExportGcsValidateCreateRequest [global::System.Text.Json.Serialization.JsonPropertyName("google_project_id")] public string? GoogleProjectId { get; set; } - /// - /// Storage ID. If set, storage with specified ID will be updated - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - /// /// GCS bucket prefix /// @@ -52,17 +45,35 @@ public sealed partial class ApiStoragesExportGcsValidateCreateRequest public string? Prefix { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } /// - /// Storage title + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -70,65 +81,74 @@ public sealed partial class ApiStoragesExportGcsValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID /// - /// - /// Storage ID. If set, storage with specified ID will be updated - /// /// /// GCS bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportGcsValidateCreateRequest( + public PatchedGCSExportStorageWriteRequest( string? bucket, bool? canDeleteObjects, string? description, string? googleApplicationCredentials, string? googleProjectId, - int? id, string? prefix, int? project, - string? title) + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) { this.Bucket = bucket; this.CanDeleteObjects = canDeleteObjects; this.Description = description; this.GoogleApplicationCredentials = googleApplicationCredentials; this.GoogleProjectId = googleProjectId; - this.Id = id; this.Prefix = prefix; this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; + this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportGcsValidateCreateRequest() + public PatchedGCSExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSImportStorageWriteRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSImportStorageWriteRequest.Json.g.cs new file mode 100644 index 00000000..ebcd7e5b --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSImportStorageWriteRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class PatchedGCSImportStorageWriteRequest + { + /// + /// 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.PatchedGCSImportStorageWriteRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.PatchedGCSImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedGCSImportStorageWriteRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.PatchedGCSImportStorageWriteRequest? 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.PatchedGCSImportStorageWriteRequest? 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.PatchedGCSImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedGCSImportStorageWriteRequest; + } + + /// + /// 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.ApiStoragesGcsPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSImportStorageWriteRequest.g.cs similarity index 71% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsPartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSImportStorageWriteRequest.g.cs index c3e8ae87..91754eaf 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsPartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedGCSImportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesGcsPartialUpdateRequest + public sealed partial class PatchedGCSImportStorageWriteRequest { /// /// GCS bucket name @@ -15,13 +15,13 @@ public sealed partial class ApiStoragesGcsPartialUpdateRequest public string? Bucket { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// [global::System.Text.Json.Serialization.JsonPropertyName("google_application_credentials")] public string? GoogleApplicationCredentials { get; set; } @@ -39,40 +39,49 @@ public sealed partial class ApiStoragesGcsPartialUpdateRequest public string? Prefix { get; set; } /// - /// Presign URLs for direct download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Perform recursive scan over the bucket content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + + /// + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -84,16 +93,16 @@ public sealed partial class ApiStoragesGcsPartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -102,30 +111,33 @@ public sealed partial class ApiStoragesGcsPartialUpdateRequest /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesGcsPartialUpdateRequest( + public PatchedGCSImportStorageWriteRequest( string? bucket, string? description, string? googleApplicationCredentials, @@ -134,7 +146,9 @@ public ApiStoragesGcsPartialUpdateRequest( bool? presign, int? presignTtl, int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -146,15 +160,17 @@ public ApiStoragesGcsPartialUpdateRequest( this.Presign = presign; this.PresignTtl = presignTtl; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesGcsPartialUpdateRequest() + public PatchedGCSImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesExportStorageWriteRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesExportStorageWriteRequest.Json.g.cs index 4f417379..195614a3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesBulkCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiProjectsTasksAssigneesBulkCreateRequest + public sealed partial class PatchedLocalFilesExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest? FromJson( + public static global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest; + typeof(global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest? FromJson( + public static global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiProjectsTasksAssigneesBulkCreateRequest? FromJson( + public static global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiProjectsTasksAssigneesBulkCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest; + typeof(global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesExportStorageWriteRequest.g.cs similarity index 63% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesExportStorageWriteRequest.g.cs index 0d6f8404..df7f70da 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesExportStorageWriteRequest.g.cs @@ -6,28 +6,28 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesLocalfilesValidateCreateRequest + public sealed partial class PatchedLocalFilesExportStorageWriteRequest { /// - /// Storage description + /// Deletion from storage enabled /// - [global::System.Text.Json.Serialization.JsonPropertyName("description")] - public string? Description { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } /// - /// Storage ID. If set, storage with specified ID will be updated + /// Cloud storage description /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } /// - /// Path to local directory + /// Local path /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] public string? Path { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } @@ -39,14 +39,19 @@ public sealed partial class ApiStoragesLocalfilesValidateCreateRequest public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -58,55 +63,59 @@ public sealed partial class ApiStoragesLocalfilesValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - /// - /// Storage description + /// + /// Deletion from storage enabled /// - /// - /// Storage ID. If set, storage with specified ID will be updated + /// + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesLocalfilesValidateCreateRequest( + public PatchedLocalFilesExportStorageWriteRequest( + bool? canDeleteObjects, string? description, - int? id, string? path, int? project, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { + this.CanDeleteObjects = canDeleteObjects; this.Description = description; - this.Id = id; this.Path = path; this.Project = project; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesLocalfilesValidateCreateRequest() + public PatchedLocalFilesExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesImportStorageWriteRequest.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesImportStorageWriteRequest.Json.g.cs index 83f3fbb6..838a433f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesExportRedisPartialUpdateRequest + public sealed partial class PatchedLocalFilesImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest; + typeof(global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesExportRedisPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesExportRedisPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest; + typeof(global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesImportStorageWriteRequest.g.cs similarity index 63% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesImportStorageWriteRequest.g.cs index 225dce8c..0d1ecf98 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportLocalfilesValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLocalFilesImportStorageWriteRequest.g.cs @@ -6,32 +6,32 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportLocalfilesValidateCreateRequest + public sealed partial class PatchedLocalFilesImportStorageWriteRequest { /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// Storage ID. If set, storage with specified ID will be updated - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - - /// - /// Path to local directory + /// Local path /// [global::System.Text.Json.Serialization.JsonPropertyName("path")] public string? Path { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } + /// + /// Perform recursive scan over the directory content + /// + [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] + public bool? RecursiveScan { get; set; } + /// /// Regex for filtering objects /// @@ -39,14 +39,19 @@ public sealed partial class ApiStoragesExportLocalfilesValidateCreateRequest public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -58,55 +63,59 @@ public sealed partial class ApiStoragesExportLocalfilesValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Storage description - /// - /// - /// Storage ID. If set, storage with specified ID will be updated + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportLocalfilesValidateCreateRequest( + public PatchedLocalFilesImportStorageWriteRequest( string? description, - int? id, string? path, int? project, + bool? recursiveScan, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { this.Description = description; - this.Id = id; this.Path = path; this.Project = project; + this.RecursiveScan = recursiveScan; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportLocalfilesValidateCreateRequest() + public PatchedLocalFilesImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedMLBackendRequestRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedMLBackendRequestRequest.Json.g.cs new file mode 100644 index 00000000..cdc56a59 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedMLBackendRequestRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class PatchedMLBackendRequestRequest + { + /// + /// 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.PatchedMLBackendRequestRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.PatchedMLBackendRequestRequest), + jsonSerializerContext) as global::LabelStudio.PatchedMLBackendRequestRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.PatchedMLBackendRequestRequest? 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.PatchedMLBackendRequestRequest? 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.PatchedMLBackendRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedMLBackendRequestRequest; + } + + /// + /// 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.ApiMlPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedMLBackendRequestRequest.g.cs similarity index 57% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedMLBackendRequestRequest.g.cs index 3d3df6b4..c927b11d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedMLBackendRequestRequest.g.cs @@ -4,49 +4,62 @@ namespace LabelStudio { /// - /// + /// OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer. /// - public sealed partial class ApiMlPartialUpdateRequest + public sealed partial class PatchedMLBackendRequestRequest { /// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth ///
[global::System.Text.Json.Serialization.JsonPropertyName("auth_method")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiMlPartialUpdateRequestAuthMethodJsonConverter))] - public global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod? AuthMethod { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AuthMethodEnumJsonConverter))] + public global::LabelStudio.AuthMethodEnum? AuthMethod { get; set; } /// - /// Basic auth password + /// If false, model version is set by the user, if true - getting latest version from backend. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("auto_update")] + public bool? AutoUpdate { get; set; } + + /// + /// Included only in requests /// [global::System.Text.Json.Serialization.JsonPropertyName("basic_auth_pass")] public string? BasicAuthPass { get; set; } /// - /// Basic auth user + /// HTTP Basic Auth user /// [global::System.Text.Json.Serialization.JsonPropertyName("basic_auth_user")] public string? BasicAuthUser { get; set; } /// - /// Description + /// Description for the machine learning backend /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// [global::System.Text.Json.Serialization.JsonPropertyName("extra_params")] public object? ExtraParams { get; set; } /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// [global::System.Text.Json.Serialization.JsonPropertyName("is_interactive")] public bool? IsInteractive { get; set; } /// - /// Project ID + /// Current model version associated with this machine learning backend + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model_version")] + public string? ModelVersion { get; set; } + + /// + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } @@ -55,16 +68,16 @@ public sealed partial class ApiMlPartialUpdateRequest /// Response model timeout ///
[global::System.Text.Json.Serialization.JsonPropertyName("timeout")] - public int? Timeout { get; set; } + public double? Timeout { get; set; } /// - /// Title + /// Name of the machine learning backend /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// ML backend URL + /// URL for the machine learning model server /// [global::System.Text.Json.Serialization.JsonPropertyName("url")] public string? Url { get; set; } @@ -76,59 +89,68 @@ public sealed partial class ApiMlPartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Auth method + /// * `NONE` - None
+ /// * `BASIC_AUTH` - Basic Auth + /// + /// + /// If false, model version is set by the user, if true - getting latest version from backend. /// /// - /// Basic auth password + /// Included only in requests /// /// - /// Basic auth user + /// HTTP Basic Auth user /// /// - /// Description + /// Description for the machine learning backend /// /// - /// Extra parameters + /// Any extra parameters passed to the ML Backend during the setup /// /// - /// Is interactive + /// Used to interactively annotate tasks. If true, model returns one list with results /// - /// - /// Project ID + /// + /// Current model version associated with this machine learning backend /// + /// /// /// Response model timeout /// /// - /// Title + /// Name of the machine learning backend /// /// - /// ML backend URL + /// URL for the machine learning model server /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiMlPartialUpdateRequest( - global::LabelStudio.ApiMlPartialUpdateRequestAuthMethod? authMethod, + public PatchedMLBackendRequestRequest( + global::LabelStudio.AuthMethodEnum? authMethod, + bool? autoUpdate, string? basicAuthPass, string? basicAuthUser, string? description, object? extraParams, bool? isInteractive, + string? modelVersion, int? project, - int? timeout, + double? timeout, string? title, string? url) { this.AuthMethod = authMethod; + this.AutoUpdate = autoUpdate; this.BasicAuthPass = basicAuthPass; this.BasicAuthUser = basicAuthUser; this.Description = description; this.ExtraParams = extraParams; this.IsInteractive = isInteractive; + this.ModelVersion = modelVersion; this.Project = project; this.Timeout = timeout; this.Title = title; @@ -136,9 +158,9 @@ public ApiMlPartialUpdateRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiMlPartialUpdateRequest() + public PatchedMLBackendRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequest.Json.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequest.Json.g.cs index e0e800ea..069fe574 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsCreateRequest + public sealed partial class PatchedPredictionRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsCreateRequest? FromJson( + public static global::LabelStudio.PatchedPredictionRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsCreateRequest; + typeof(global::LabelStudio.PatchedPredictionRequest), + jsonSerializerContext) as global::LabelStudio.PatchedPredictionRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsCreateRequest? FromJson( + public static global::LabelStudio.PatchedPredictionRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsCreateRequest? FromJson( + public static global::LabelStudio.PatchedPredictionRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsCreateRequest; + typeof(global::LabelStudio.PatchedPredictionRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedPredictionRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequest.g.cs new file mode 100644 index 00000000..bf279e8b --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequest.g.cs @@ -0,0 +1,141 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class PatchedPredictionRequest + { + /// + /// Cluster for the current prediction + /// + [global::System.Text.Json.Serialization.JsonPropertyName("cluster")] + public int? Cluster { get; set; } + + /// + /// Related task mislabeling score + /// + [global::System.Text.Json.Serialization.JsonPropertyName("mislabeling")] + public double? Mislabeling { get; set; } + + /// + /// An ML Backend instance that created the prediction. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model")] + public int? Model { get; set; } + + /// + /// A run of a ModelVersion that created the prediction. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model_run")] + public int? ModelRun { get; set; } + + /// + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + [global::System.Text.Json.Serialization.JsonPropertyName("model_version")] + public string? ModelVersion { get; set; } + + /// + /// Array of task IDs of the closest neighbors + /// + [global::System.Text.Json.Serialization.JsonPropertyName("neighbors")] + public object? Neighbors { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + public int? Project { get; set; } + + /// + /// List of prediction results for the task + /// + [global::System.Text.Json.Serialization.JsonPropertyName("result")] + public global::System.Collections.Generic.IList? Result { get; set; } + + /// + /// Prediction score + /// + [global::System.Text.Json.Serialization.JsonPropertyName("score")] + public double? Score { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("task")] + public int? Task { 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. + /// + /// + /// Cluster for the current prediction + /// + /// + /// Related task mislabeling score + /// + /// + /// An ML Backend instance that created the prediction. + /// + /// + /// A run of a ModelVersion that created the prediction. + /// + /// + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + /// + /// Array of task IDs of the closest neighbors + /// + /// + /// + /// List of prediction results for the task + /// + /// + /// Prediction score + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PatchedPredictionRequest( + int? cluster, + double? mislabeling, + int? model, + int? modelRun, + string? modelVersion, + object? neighbors, + int? project, + global::System.Collections.Generic.IList? result, + double? score, + int? task) + { + this.Cluster = cluster; + this.Mislabeling = mislabeling; + this.Model = model; + this.ModelRun = modelRun; + this.ModelVersion = modelVersion; + this.Neighbors = neighbors; + this.Project = project; + this.Result = result; + this.Score = score; + this.Task = task; + } + + /// + /// Initializes a new instance of the class. + /// + public PatchedPredictionRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestData.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequestResultItem.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestData.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequestResultItem.Json.g.cs index 6cecb2ae..1335ac9a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequestData.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequestResultItem.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsPartialUpdateRequestData + public sealed partial class PatchedPredictionRequestResultItem { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestData? FromJson( + public static global::LabelStudio.PatchedPredictionRequestResultItem? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequestData), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequestData; + typeof(global::LabelStudio.PatchedPredictionRequestResultItem), + jsonSerializerContext) as global::LabelStudio.PatchedPredictionRequestResultItem; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequestData? FromJson( + public static global::LabelStudio.PatchedPredictionRequestResultItem? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsPartialUpdateRequestData? FromJson( + public static global::LabelStudio.PatchedPredictionRequestResultItem? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsPartialUpdateRequestData), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequestData; + typeof(global::LabelStudio.PatchedPredictionRequestResultItem), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedPredictionRequestResultItem; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestExtraParams.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequestResultItem.g.cs similarity index 80% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestExtraParams.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequestResultItem.g.cs index 3fb6a32a..ac3cbd6e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlCreateRequestExtraParams.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedPredictionRequestResultItem.g.cs @@ -4,9 +4,9 @@ namespace LabelStudio { /// - /// Extra parameters + /// List of predicted regions for the task /// - public sealed partial class ApiMlCreateRequestExtraParams + public sealed partial class PatchedPredictionRequestResultItem { /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDatasetsImportPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisExportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDatasetsImportPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisExportStorageWriteRequest.Json.g.cs index ebbd2ea6..3bc16cb7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDatasetsImportPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDatasetsImportPartialUpdateRequest + public sealed partial class PatchedRedisExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDatasetsImportPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedRedisExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDatasetsImportPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiDatasetsImportPartialUpdateRequest; + typeof(global::LabelStudio.PatchedRedisExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedRedisExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDatasetsImportPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedRedisExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDatasetsImportPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedRedisExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDatasetsImportPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDatasetsImportPartialUpdateRequest; + typeof(global::LabelStudio.PatchedRedisExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedRedisExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisExportStorageWriteRequest.g.cs similarity index 65% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisExportStorageWriteRequest.g.cs index 74b5f958..e9a97a96 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportRedisValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisExportStorageWriteRequest.g.cs @@ -6,23 +6,22 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportRedisValidateCreateRequest + public sealed partial class PatchedRedisExportStorageWriteRequest { /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled ///
[global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] public bool? CanDeleteObjects { get; set; } /// - /// Database ID of database to use + /// Server Database /// [global::System.Text.Json.Serialization.JsonPropertyName("db")] public int? Db { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -33,12 +32,6 @@ public sealed partial class ApiStoragesExportRedisValidateCreateRequest [global::System.Text.Json.Serialization.JsonPropertyName("host")] public string? Host { get; set; } - /// - /// Storage ID. If set, storage with specified ID will be updated - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - /// /// Server Password (optional) /// @@ -58,17 +51,35 @@ public sealed partial class ApiStoragesExportRedisValidateCreateRequest public string? Port { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } /// - /// Storage title + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -76,24 +87,20 @@ public sealed partial class ApiStoragesExportRedisValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Database ID of database to use + /// Server Database /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) /// - /// - /// Storage ID. If set, storage with specified ID will be updated - /// /// /// Server Password (optional) /// @@ -104,42 +111,55 @@ public sealed partial class ApiStoragesExportRedisValidateCreateRequest /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportRedisValidateCreateRequest( + public PatchedRedisExportStorageWriteRequest( bool? canDeleteObjects, int? db, string? description, string? host, - int? id, string? password, string? path, string? port, int? project, - string? title) + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) { this.CanDeleteObjects = canDeleteObjects; this.Db = db; this.Description = description; this.Host = host; - this.Id = id; this.Password = password; this.Path = path; this.Port = port; this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; + this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportRedisValidateCreateRequest() + public PatchedRedisExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisImportStorageWriteRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisImportStorageWriteRequest.Json.g.cs new file mode 100644 index 00000000..3e5c3dc1 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisImportStorageWriteRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class PatchedRedisImportStorageWriteRequest + { + /// + /// 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.PatchedRedisImportStorageWriteRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.PatchedRedisImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedRedisImportStorageWriteRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.PatchedRedisImportStorageWriteRequest? 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.PatchedRedisImportStorageWriteRequest? 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.PatchedRedisImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedRedisImportStorageWriteRequest; + } + + /// + /// 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.ApiStoragesRedisPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisImportStorageWriteRequest.g.cs similarity index 69% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisPartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisImportStorageWriteRequest.g.cs index 309b5c82..29fd779c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisPartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedRedisImportStorageWriteRequest.g.cs @@ -6,10 +6,16 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesRedisPartialUpdateRequest + public sealed partial class PatchedRedisImportStorageWriteRequest { /// - /// Storage description + /// Server Database + /// + [global::System.Text.Json.Serialization.JsonPropertyName("db")] + public int? Db { get; set; } + + /// + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -39,26 +45,31 @@ public sealed partial class ApiStoragesRedisPartialUpdateRequest public string? Port { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -70,10 +81,13 @@ public sealed partial class ApiStoragesRedisPartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -88,22 +102,25 @@ public sealed partial class ApiStoragesRedisPartialUpdateRequest /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesRedisPartialUpdateRequest( + public PatchedRedisImportStorageWriteRequest( + int? db, string? description, string? host, string? password, @@ -111,9 +128,11 @@ public ApiStoragesRedisPartialUpdateRequest( string? port, int? project, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { + this.Db = db; this.Description = description; this.Host = host; this.Password = password; @@ -121,14 +140,15 @@ public ApiStoragesRedisPartialUpdateRequest( this.Port = port; this.Project = project; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesRedisPartialUpdateRequest() + public PatchedRedisImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ExportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ExportStorageWriteRequest.Json.g.cs index edb192b2..290401b2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesGcsPartialUpdateRequest + public sealed partial class PatchedS3ExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesGcsPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedS3ExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesGcsPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesGcsPartialUpdateRequest; + typeof(global::LabelStudio.PatchedS3ExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedS3ExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesGcsPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedS3ExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesGcsPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedS3ExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesGcsPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesGcsPartialUpdateRequest; + typeof(global::LabelStudio.PatchedS3ExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedS3ExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3ValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ExportStorageWriteRequest.g.cs similarity index 73% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3ValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ExportStorageWriteRequest.g.cs index 38f3e59c..ed3f56d1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3ValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ExportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportS3ValidateCreateRequest + public sealed partial class PatchedS3ExportStorageWriteRequest { /// /// AWS_ACCESS_KEY_ID @@ -39,24 +39,17 @@ public sealed partial class ApiStoragesExportS3ValidateCreateRequest public string? Bucket { get; set; } /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled ///
[global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] public bool? CanDeleteObjects { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } - /// - /// Storage ID. If set, storage with specified ID will be updated - /// - [global::System.Text.Json.Serialization.JsonPropertyName("id")] - public int? Id { get; set; } - /// /// S3 bucket prefix /// @@ -64,11 +57,17 @@ public sealed partial class ApiStoragesExportS3ValidateCreateRequest public string? Prefix { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + /// /// AWS Region /// @@ -82,11 +81,23 @@ public sealed partial class ApiStoragesExportS3ValidateCreateRequest public string? S3Endpoint { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -94,7 +105,7 @@ public sealed partial class ApiStoragesExportS3ValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// AWS_ACCESS_KEY_ID @@ -112,20 +123,19 @@ public sealed partial class ApiStoragesExportS3ValidateCreateRequest /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description - /// - /// - /// Storage ID. If set, storage with specified ID will be updated + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -133,13 +143,19 @@ public sealed partial class ApiStoragesExportS3ValidateCreateRequest /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportS3ValidateCreateRequest( + public PatchedS3ExportStorageWriteRequest( string? awsAccessKeyId, string? awsSecretAccessKey, string? awsSessionToken, @@ -147,12 +163,14 @@ public ApiStoragesExportS3ValidateCreateRequest( string? bucket, bool? canDeleteObjects, string? description, - int? id, string? prefix, int? project, + string? regexFilter, string? regionName, string? s3Endpoint, - string? title) + bool? synchronizable, + string? title, + bool? useBlobUrls) { this.AwsAccessKeyId = awsAccessKeyId; this.AwsSecretAccessKey = awsSecretAccessKey; @@ -161,18 +179,20 @@ public ApiStoragesExportS3ValidateCreateRequest( this.Bucket = bucket; this.CanDeleteObjects = canDeleteObjects; this.Description = description; - this.Id = id; this.Prefix = prefix; this.Project = project; + this.RegexFilter = regexFilter; this.RegionName = regionName; this.S3Endpoint = s3Endpoint; + this.Synchronizable = synchronizable; this.Title = title; + this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportS3ValidateCreateRequest() + public PatchedS3ExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ImportStorageWriteRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ImportStorageWriteRequest.Json.g.cs index 5790cac8..9d2a96b6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesLocalfilesCreateRequest + public sealed partial class PatchedS3ImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesLocalfilesCreateRequest? FromJson( + public static global::LabelStudio.PatchedS3ImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesLocalfilesCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesLocalfilesCreateRequest; + typeof(global::LabelStudio.PatchedS3ImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.PatchedS3ImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesLocalfilesCreateRequest? FromJson( + public static global::LabelStudio.PatchedS3ImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesLocalfilesCreateRequest? FromJson( + public static global::LabelStudio.PatchedS3ImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesLocalfilesCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesLocalfilesCreateRequest; + typeof(global::LabelStudio.PatchedS3ImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedS3ImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3CreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ImportStorageWriteRequest.g.cs similarity index 79% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3CreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ImportStorageWriteRequest.g.cs index 36459cdd..1bc7cb95 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3CreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedS3ImportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesS3CreateRequest + public sealed partial class PatchedS3ImportStorageWriteRequest { /// /// AWS_ACCESS_KEY_ID @@ -39,7 +39,7 @@ public sealed partial class ApiStoragesS3CreateRequest public string? Bucket { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -51,33 +51,31 @@ public sealed partial class ApiStoragesS3CreateRequest public string? Prefix { get; set; } /// - /// Presign URLs for download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] public int? Project { get; set; } /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] public bool? RecursiveScan { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } @@ -95,14 +93,19 @@ public sealed partial class ApiStoragesS3CreateRequest public string? S3Endpoint { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -114,7 +117,7 @@ public sealed partial class ApiStoragesS3CreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// AWS_ACCESS_KEY_ID @@ -132,27 +135,25 @@ public sealed partial class ApiStoragesS3CreateRequest /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -160,17 +161,19 @@ public sealed partial class ApiStoragesS3CreateRequest /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesS3CreateRequest( + public PatchedS3ImportStorageWriteRequest( string? awsAccessKeyId, string? awsSecretAccessKey, string? awsSessionToken, @@ -185,6 +188,7 @@ public ApiStoragesS3CreateRequest( string? regexFilter, string? regionName, string? s3Endpoint, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -202,14 +206,15 @@ public ApiStoragesS3CreateRequest( this.RegexFilter = regexFilter; this.RegionName = regionName; this.S3Endpoint = s3Endpoint; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesS3CreateRequest() + public PatchedS3ImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedTaskAssigneesMutationRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedTaskAssigneesMutationRequest.Json.g.cs new file mode 100644 index 00000000..a54543bf --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedTaskAssigneesMutationRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class PatchedTaskAssigneesMutationRequest + { + /// + /// 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.PatchedTaskAssigneesMutationRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.PatchedTaskAssigneesMutationRequest), + jsonSerializerContext) as global::LabelStudio.PatchedTaskAssigneesMutationRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.PatchedTaskAssigneesMutationRequest? 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.PatchedTaskAssigneesMutationRequest? 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.PatchedTaskAssigneesMutationRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedTaskAssigneesMutationRequest; + } + + /// + /// 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.PatchedTaskAssigneesMutationRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedTaskAssigneesMutationRequest.g.cs new file mode 100644 index 00000000..af5dbb0c --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedTaskAssigneesMutationRequest.g.cs @@ -0,0 +1,58 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class PatchedTaskAssigneesMutationRequest + { + /// + /// * `AN` - Annotate
+ /// * `RE` - Review + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("type")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter))] + public global::LabelStudio.AssignmentTypeEnum? Type { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("users")] + public global::System.Collections.Generic.IList? Users { 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. + /// + /// + /// * `AN` - Annotate
+ /// * `RE` - Review + /// + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PatchedTaskAssigneesMutationRequest( + global::LabelStudio.AssignmentTypeEnum? type, + global::System.Collections.Generic.IList? users) + { + this.Type = type; + this.Users = users; + } + + /// + /// Initializes a new instance of the class. + /// + public PatchedTaskAssigneesMutationRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedViewRequestRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedViewRequestRequest.Json.g.cs index d06290e1..32d065c1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiMlPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedViewRequestRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiMlPartialUpdateRequest + public sealed partial class PatchedViewRequestRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiMlPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedViewRequestRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiMlPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiMlPartialUpdateRequest; + typeof(global::LabelStudio.PatchedViewRequestRequest), + jsonSerializerContext) as global::LabelStudio.PatchedViewRequestRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiMlPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedViewRequestRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiMlPartialUpdateRequest? FromJson( + public static global::LabelStudio.PatchedViewRequestRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiMlPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiMlPartialUpdateRequest; + typeof(global::LabelStudio.PatchedViewRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PatchedViewRequestRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedViewRequestRequest.g.cs similarity index 64% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedViewRequestRequest.g.cs index c15f60dc..63e0dc52 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedViewRequestRequest.g.cs @@ -4,15 +4,15 @@ namespace LabelStudio { /// - /// + /// Public view write contract; runtime conversion remains in ``ViewSerializer``. /// - public sealed partial class ApiDmViewsCreateRequest + public sealed partial class PatchedViewRequestRequest { /// - /// Custom view data + /// Established public view payload nested under ``data``. /// [global::System.Text.Json.Serialization.JsonPropertyName("data")] - public global::LabelStudio.ApiDmViewsCreateRequestData? Data { get; set; } + public global::LabelStudio.ViewDataRequestRequest? Data { get; set; } /// /// Project ID @@ -27,10 +27,10 @@ public sealed partial class ApiDmViewsCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -38,8 +38,8 @@ public sealed partial class ApiDmViewsCreateRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDmViewsCreateRequest( - global::LabelStudio.ApiDmViewsCreateRequestData? data, + public PatchedViewRequestRequest( + global::LabelStudio.ViewDataRequestRequest? data, int? project) { this.Data = data; @@ -47,9 +47,9 @@ public ApiDmViewsCreateRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDmViewsCreateRequest() + public PatchedViewRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequest.Json.g.cs index 54b77651..df353cc3 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesGcsCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesGcsCreateRequest + public sealed partial class PrepareParamsFiltersRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesGcsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesGcsCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesGcsCreateRequest; + typeof(global::LabelStudio.PrepareParamsFiltersRequest), + jsonSerializerContext) as global::LabelStudio.PrepareParamsFiltersRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesGcsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesGcsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesGcsCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesGcsCreateRequest; + typeof(global::LabelStudio.PrepareParamsFiltersRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsFiltersRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFilters.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequest.g.cs similarity index 75% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFilters.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequest.g.cs index 3f2a424e..dbdc2105 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFilters.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequest.g.cs @@ -6,22 +6,22 @@ namespace LabelStudio /// /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` /// - public sealed partial class ApiDmActionsCreateRequestFilters + public sealed partial class PrepareParamsFiltersRequest { /// /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. /// [global::System.Text.Json.Serialization.JsonPropertyName("conjunction")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersConjunctionJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ConjunctionEnumJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction Conjunction { get; set; } + public required global::LabelStudio.ConjunctionEnum Conjunction { get; set; } /// /// List of filter items /// [global::System.Text.Json.Serialization.JsonPropertyName("items")] [global::System.Text.Json.Serialization.JsonRequired] - public required global::System.Collections.Generic.IList Items { get; set; } + public required global::System.Collections.Generic.IList Items { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -30,7 +30,7 @@ public sealed partial class ApiDmActionsCreateRequestFilters public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. @@ -41,18 +41,18 @@ public sealed partial class ApiDmActionsCreateRequestFilters #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDmActionsCreateRequestFilters( - global::LabelStudio.ApiDmActionsCreateRequestFiltersConjunction conjunction, - global::System.Collections.Generic.IList items) + public PrepareParamsFiltersRequest( + global::LabelStudio.ConjunctionEnum conjunction, + global::System.Collections.Generic.IList items) { this.Conjunction = conjunction; this.Items = items ?? throw new global::System.ArgumentNullException(nameof(items)); } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDmActionsCreateRequestFilters() + public PrepareParamsFiltersRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItem.Json.g.cs new file mode 100644 index 00000000..28bee6c7 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItem.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class PrepareParamsFiltersRequestItem + { + /// + /// 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.PrepareParamsFiltersRequestItem? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.PrepareParamsFiltersRequestItem), + jsonSerializerContext) as global::LabelStudio.PrepareParamsFiltersRequestItem; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.PrepareParamsFiltersRequestItem? 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.PrepareParamsFiltersRequestItem? 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.PrepareParamsFiltersRequestItem), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsFiltersRequestItem; + } + + /// + /// 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.ApiDmActionsCreateRequestFiltersItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItem.g.cs similarity index 91% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItem.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItem.g.cs index 3fc72d46..00e3514c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItem.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItem.g.cs @@ -6,29 +6,29 @@ namespace LabelStudio /// /// Example: {"filter":"filter:tasks:id","operator":"greater","type":"Number","value":123} /// - public sealed partial class ApiDmActionsCreateRequestFiltersItem + public sealed partial class PrepareParamsFiltersRequestItem { /// /// Ordered child filters AND-merged with their parent. Child filters cannot be nested. /// [global::System.Text.Json.Serialization.JsonPropertyName("child_filters")] - public global::System.Collections.Generic.IList? ChildFilters { get; set; } + public global::System.Collections.Generic.IList? ChildFilters { get; set; } /// /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> /// [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemFilterJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemFilterJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter Filter { get; set; } + public required global::LabelStudio.PrepareParamsFiltersRequestItemFilter Filter { get; set; } /// /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> /// [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemOperatorJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemOperatorJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator Operator { get; set; } + public required global::LabelStudio.PrepareParamsFiltersRequestItemOperator Operator { get; set; } /// /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> @@ -52,7 +52,7 @@ public sealed partial class ApiDmActionsCreateRequestFiltersItem public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> @@ -72,12 +72,12 @@ public sealed partial class ApiDmActionsCreateRequestFiltersItem #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDmActionsCreateRequestFiltersItem( - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemFilter filter, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemOperator @operator, + public PrepareParamsFiltersRequestItem( + global::LabelStudio.PrepareParamsFiltersRequestItemFilter filter, + global::LabelStudio.PrepareParamsFiltersRequestItemOperator @operator, string type, global::LabelStudio.OneOf value, - global::System.Collections.Generic.IList? childFilters) + global::System.Collections.Generic.IList? childFilters) { this.ChildFilters = childFilters; this.Filter = filter; @@ -87,9 +87,9 @@ public ApiDmActionsCreateRequestFiltersItem( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDmActionsCreateRequestFiltersItem() + public PrepareParamsFiltersRequestItem() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesValidateCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilter.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesValidateCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilter.Json.g.cs index 8cb61189..78b4fce7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesLocalfilesValidateCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilter.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesLocalfilesValidateCreateRequest + public sealed partial class PrepareParamsFiltersRequestItemChildFilter { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter), + jsonSerializerContext) as global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesLocalfilesValidateCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesLocalfilesValidateCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsFiltersRequestItemChildFilter; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilter.g.cs similarity index 91% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilter.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilter.g.cs index 368ad4e4..f4cd5a94 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemChildFilter.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilter.g.cs @@ -6,23 +6,23 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilter + public sealed partial class PrepareParamsFiltersRequestItemChildFilter { /// /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> /// [global::System.Text.Json.Serialization.JsonPropertyName("filter")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterFilterJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterFilterJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter Filter { get; set; } + public required global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter Filter { get; set; } /// /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> /// [global::System.Text.Json.Serialization.JsonPropertyName("operator")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiDmActionsCreateRequestFiltersItemChildFilterOperatorJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.PrepareParamsFiltersRequestItemChildFilterOperatorJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator Operator { get; set; } + public required global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator Operator { get; set; } /// /// Type of the filter value. Possible values:<li>`Boolean` Boolean</li><li>`Datetime` Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format</li><li>`List` List of items</li><li>`Number` Float or Integer</li><li>`String` String</li><li>`Unknown` Unknown is explicitly converted to string format</li> @@ -46,7 +46,7 @@ public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilter public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> @@ -63,9 +63,9 @@ public sealed partial class ApiDmActionsCreateRequestFiltersItemChildFilter #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDmActionsCreateRequestFiltersItemChildFilter( - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterFilter filter, - global::LabelStudio.ApiDmActionsCreateRequestFiltersItemChildFilterOperator @operator, + public PrepareParamsFiltersRequestItemChildFilter( + global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterFilter filter, + global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterOperator @operator, string type, global::LabelStudio.OneOf value) { @@ -76,9 +76,9 @@ public ApiDmActionsCreateRequestFiltersItemChildFilter( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDmActionsCreateRequestFiltersItemChildFilter() + public PrepareParamsFiltersRequestItemChildFilter() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterFilter.g.cs similarity index 91% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemFilter.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterFilter.g.cs index b03c5c13..3d85ef0f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemFilter.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterFilter.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> /// - public enum ApiDmViewsUpdateRequestDataFiltersItemFilter + public enum PrepareParamsFiltersRequestItemChildFilterFilter { /// /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> @@ -101,69 +101,69 @@ public enum ApiDmViewsUpdateRequestDataFiltersItemFilter /// /// Enum extensions to do fast conversions without the reflection. /// - public static class ApiDmViewsUpdateRequestDataFiltersItemFilterExtensions + public static class PrepareParamsFiltersRequestItemChildFilterFilterExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this ApiDmViewsUpdateRequestDataFiltersItemFilter value) + public static string ToValueString(this PrepareParamsFiltersRequestItemChildFilterFilter value) { return value switch { - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_agreement => "filter:tasks:agreement", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_annotators => "filter:tasks:annotators", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_comments => "filter:tasks:comments", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_createdAt => "filter:tasks:created_at", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_id => "filter:tasks:id", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_innerId => "filter:tasks:inner_id", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", + PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static ApiDmViewsUpdateRequestDataFiltersItemFilter? ToEnum(string value) + public static PrepareParamsFiltersRequestItemChildFilterFilter? ToEnum(string value) { return value switch { - "filter:tasks:agreement" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmViewsUpdateRequestDataFiltersItemFilter.Filter_tasks_updatedAt, + "filter:tasks:agreement" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_agreement, + "filter:tasks:annotations_results" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_annotationsResults, + "filter:tasks:annotators" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_annotators, + "filter:tasks:cancelled_annotations" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_cancelledAnnotations, + "filter:tasks:comments" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_comments, + "filter:tasks:completed_at" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_completedAt, + "filter:tasks:created_at" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_createdAt, + "filter:tasks:file_upload" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_fileUpload, + "filter:tasks:ground_truth" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_groundTruth, + "filter:tasks:id" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_id, + "filter:tasks:inner_id" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_innerId, + "filter:tasks:predictions_model_versions" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_predictionsModelVersions, + "filter:tasks:predictions_results" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_predictionsResults, + "filter:tasks:predictions_score" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_predictionsScore, + "filter:tasks:reviewed" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewed, + "filter:tasks:reviewers" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewers, + "filter:tasks:reviews_accepted" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewsAccepted, + "filter:tasks:reviews_rejected" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_reviewsRejected, + "filter:tasks:total_annotations" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_totalAnnotations, + "filter:tasks:total_predictions" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_totalPredictions, + "filter:tasks:unresolved_comment_count" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_unresolvedCommentCount, + "filter:tasks:updated_at" => PrepareParamsFiltersRequestItemChildFilterFilter.Filter_tasks_updatedAt, _ => null, }; } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterOperator.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemOperator.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterOperator.g.cs index 2953bb14..1118ee46 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemOperator.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterOperator.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> /// - public enum ApiDmViewsUpdateRequestDataFiltersItemOperator + public enum PrepareParamsFiltersRequestItemChildFilterOperator { /// /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> @@ -77,57 +77,57 @@ public enum ApiDmViewsUpdateRequestDataFiltersItemOperator /// /// Enum extensions to do fast conversions without the reflection. /// - public static class ApiDmViewsUpdateRequestDataFiltersItemOperatorExtensions + public static class PrepareParamsFiltersRequestItemChildFilterOperatorExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this ApiDmViewsUpdateRequestDataFiltersItemOperator value) + public static string ToValueString(this PrepareParamsFiltersRequestItemChildFilterOperator value) { return value switch { - ApiDmViewsUpdateRequestDataFiltersItemOperator.Contains => "contains", - ApiDmViewsUpdateRequestDataFiltersItemOperator.EndsWith => "ends_with", - ApiDmViewsUpdateRequestDataFiltersItemOperator.Equal => "equal", - ApiDmViewsUpdateRequestDataFiltersItemOperator.Exists => "exists", - ApiDmViewsUpdateRequestDataFiltersItemOperator.Greater => "greater", - ApiDmViewsUpdateRequestDataFiltersItemOperator.GreaterOrEqual => "greater_or_equal", - ApiDmViewsUpdateRequestDataFiltersItemOperator.In => "in", - ApiDmViewsUpdateRequestDataFiltersItemOperator.InList => "in_list", - ApiDmViewsUpdateRequestDataFiltersItemOperator.Less => "less", - ApiDmViewsUpdateRequestDataFiltersItemOperator.LessOrEqual => "less_or_equal", - ApiDmViewsUpdateRequestDataFiltersItemOperator.NotContains => "not_contains", - ApiDmViewsUpdateRequestDataFiltersItemOperator.NotEqual => "not_equal", - ApiDmViewsUpdateRequestDataFiltersItemOperator.NotExists => "not_exists", - ApiDmViewsUpdateRequestDataFiltersItemOperator.NotIn => "not_in", - ApiDmViewsUpdateRequestDataFiltersItemOperator.NotInList => "not_in_list", - ApiDmViewsUpdateRequestDataFiltersItemOperator.StartsWith => "starts_with", + PrepareParamsFiltersRequestItemChildFilterOperator.Contains => "contains", + PrepareParamsFiltersRequestItemChildFilterOperator.EndsWith => "ends_with", + PrepareParamsFiltersRequestItemChildFilterOperator.Equal => "equal", + PrepareParamsFiltersRequestItemChildFilterOperator.Exists => "exists", + PrepareParamsFiltersRequestItemChildFilterOperator.Greater => "greater", + PrepareParamsFiltersRequestItemChildFilterOperator.GreaterOrEqual => "greater_or_equal", + PrepareParamsFiltersRequestItemChildFilterOperator.In => "in", + PrepareParamsFiltersRequestItemChildFilterOperator.InList => "in_list", + PrepareParamsFiltersRequestItemChildFilterOperator.Less => "less", + PrepareParamsFiltersRequestItemChildFilterOperator.LessOrEqual => "less_or_equal", + PrepareParamsFiltersRequestItemChildFilterOperator.NotContains => "not_contains", + PrepareParamsFiltersRequestItemChildFilterOperator.NotEqual => "not_equal", + PrepareParamsFiltersRequestItemChildFilterOperator.NotExists => "not_exists", + PrepareParamsFiltersRequestItemChildFilterOperator.NotIn => "not_in", + PrepareParamsFiltersRequestItemChildFilterOperator.NotInList => "not_in_list", + PrepareParamsFiltersRequestItemChildFilterOperator.StartsWith => "starts_with", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static ApiDmViewsUpdateRequestDataFiltersItemOperator? ToEnum(string value) + public static PrepareParamsFiltersRequestItemChildFilterOperator? ToEnum(string value) { return value switch { - "contains" => ApiDmViewsUpdateRequestDataFiltersItemOperator.Contains, - "ends_with" => ApiDmViewsUpdateRequestDataFiltersItemOperator.EndsWith, - "equal" => ApiDmViewsUpdateRequestDataFiltersItemOperator.Equal, - "exists" => ApiDmViewsUpdateRequestDataFiltersItemOperator.Exists, - "greater" => ApiDmViewsUpdateRequestDataFiltersItemOperator.Greater, - "greater_or_equal" => ApiDmViewsUpdateRequestDataFiltersItemOperator.GreaterOrEqual, - "in" => ApiDmViewsUpdateRequestDataFiltersItemOperator.In, - "in_list" => ApiDmViewsUpdateRequestDataFiltersItemOperator.InList, - "less" => ApiDmViewsUpdateRequestDataFiltersItemOperator.Less, - "less_or_equal" => ApiDmViewsUpdateRequestDataFiltersItemOperator.LessOrEqual, - "not_contains" => ApiDmViewsUpdateRequestDataFiltersItemOperator.NotContains, - "not_equal" => ApiDmViewsUpdateRequestDataFiltersItemOperator.NotEqual, - "not_exists" => ApiDmViewsUpdateRequestDataFiltersItemOperator.NotExists, - "not_in" => ApiDmViewsUpdateRequestDataFiltersItemOperator.NotIn, - "not_in_list" => ApiDmViewsUpdateRequestDataFiltersItemOperator.NotInList, - "starts_with" => ApiDmViewsUpdateRequestDataFiltersItemOperator.StartsWith, + "contains" => PrepareParamsFiltersRequestItemChildFilterOperator.Contains, + "ends_with" => PrepareParamsFiltersRequestItemChildFilterOperator.EndsWith, + "equal" => PrepareParamsFiltersRequestItemChildFilterOperator.Equal, + "exists" => PrepareParamsFiltersRequestItemChildFilterOperator.Exists, + "greater" => PrepareParamsFiltersRequestItemChildFilterOperator.Greater, + "greater_or_equal" => PrepareParamsFiltersRequestItemChildFilterOperator.GreaterOrEqual, + "in" => PrepareParamsFiltersRequestItemChildFilterOperator.In, + "in_list" => PrepareParamsFiltersRequestItemChildFilterOperator.InList, + "less" => PrepareParamsFiltersRequestItemChildFilterOperator.Less, + "less_or_equal" => PrepareParamsFiltersRequestItemChildFilterOperator.LessOrEqual, + "not_contains" => PrepareParamsFiltersRequestItemChildFilterOperator.NotContains, + "not_equal" => PrepareParamsFiltersRequestItemChildFilterOperator.NotEqual, + "not_exists" => PrepareParamsFiltersRequestItemChildFilterOperator.NotExists, + "not_in" => PrepareParamsFiltersRequestItemChildFilterOperator.NotIn, + "not_in_list" => PrepareParamsFiltersRequestItemChildFilterOperator.NotInList, + "starts_with" => PrepareParamsFiltersRequestItemChildFilterOperator.StartsWith, _ => null, }; } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueDictionary.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueDictionary.Json.g.cs similarity index 82% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueDictionary.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueDictionary.Json.g.cs index 5b8477cd..3d62f4c5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueDictionary.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueDictionary.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmActionsCreateRequestFiltersItemValueDictionary + public sealed partial class PrepareParamsFiltersRequestItemChildFilterValueDictionary { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueDictionary? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueDictionary? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueDictionary), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueDictionary; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueDictionary), + jsonSerializerContext) as global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueDictionary; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueDictionary? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueDictionary? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmActionsCreateRequestFiltersItemValueDictionary? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueDictionary? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmActionsCreateRequestFiltersItemValueDictionary), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueDictionary; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueDictionary), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueDictionary; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueDictionary.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueDictionary.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueDictionary.g.cs index 06176fc8..f800c75a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsCreateRequestDataFiltersItemValueDictionary.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueDictionary.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Dictionary is used for some operator types, e.g. `in` and `not_in` /// - public sealed partial class ApiDmViewsCreateRequestDataFiltersItemValueDictionary + public sealed partial class PrepareParamsFiltersRequestItemChildFilterValueDictionary { /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueList.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueList.Json.g.cs similarity index 83% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueList.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueList.Json.g.cs index ed73acf1..940a1f93 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueList.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueList.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmActionsCreateRequestFiltersItemValueList + public sealed partial class PrepareParamsFiltersRequestItemChildFilterValueList { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueList? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueList? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueList), - jsonSerializerContext) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueList; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueList), + jsonSerializerContext) as global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueList; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueList? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueList? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmActionsCreateRequestFiltersItemValueList? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueList? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmActionsCreateRequestFiltersItemValueList), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmActionsCreateRequestFiltersItemValueList; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueList), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsFiltersRequestItemChildFilterValueList; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueList.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueList.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueList.g.cs index 100e2ce7..50a12c17 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestDataFiltersItemValueList.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemChildFilterValueList.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. /// - public sealed partial class ApiDmViewsUpdateRequestDataFiltersItemValueList + public sealed partial class PrepareParamsFiltersRequestItemChildFilterValueList { /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemFilter.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemFilter.g.cs similarity index 92% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemFilter.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemFilter.g.cs index 2bb33bdf..5dcf86af 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemFilter.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemFilter.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> /// - public enum ApiDmActionsCreateRequestFiltersItemFilter + public enum PrepareParamsFiltersRequestItemFilter { /// /// tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:<li>`filter:tasks:agreement` (Number) Agreement for annotation results for a specific task (Enterprise only)</li><li>`filter:tasks:annotations_results` (String) Annotation results for the tasks</li><li>`filter:tasks:annotators` (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:cancelled_annotations` (Number) Number of cancelled or skipped annotations for the task</li><li>`filter:tasks:comments` (Number) Number of comments in a task</li><li>`filter:tasks:completed_at` (Datetime) Time when a task was fully annotated</li><li>`filter:tasks:created_at` (Datetime) Time the task was created at</li><li>`filter:tasks:file_upload` (String) Name of the file uploaded to create the tasks</li><li>`filter:tasks:ground_truth` (Boolean) Ground truth status of the tasks</li><li>`filter:tasks:id` (Number) Task ID</li><li>`filter:tasks:inner_id` (Number) Task Inner ID, it starts from 1 for all projects</li><li>`filter:tasks:predictions_model_versions` (String) Model version used for the predictions</li><li>`filter:tasks:predictions_results` (String) Prediction results for the tasks</li><li>`filter:tasks:predictions_score` (Number) Prediction score for the task</li><li>`filter:tasks:reviewed` (Boolean) Whether the tasks have been reviewed (Enterprise only)</li><li>`filter:tasks:reviewers` (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer</li><li>`filter:tasks:reviews_accepted` (Number) Number of annotations accepted for a task in review (Enterprise only)</li><li>`filter:tasks:reviews_rejected` (Number) Number of annotations rejected for a task in review (Enterprise only)</li><li>`filter:tasks:total_annotations` (Number) Total number of annotations on a task</li><li>`filter:tasks:total_predictions` (Number) Total number of predictions for the task</li><li>`filter:tasks:unresolved_comment_count` (Number) Number of unresolved comments in a task</li><li>`filter:tasks:updated_at` (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)</li> @@ -101,69 +101,69 @@ public enum ApiDmActionsCreateRequestFiltersItemFilter /// /// Enum extensions to do fast conversions without the reflection. /// - public static class ApiDmActionsCreateRequestFiltersItemFilterExtensions + public static class PrepareParamsFiltersRequestItemFilterExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this ApiDmActionsCreateRequestFiltersItemFilter value) + public static string ToValueString(this PrepareParamsFiltersRequestItemFilter value) { return value switch { - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_agreement => "filter:tasks:agreement", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_annotators => "filter:tasks:annotators", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_comments => "filter:tasks:comments", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_createdAt => "filter:tasks:created_at", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_id => "filter:tasks:id", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_innerId => "filter:tasks:inner_id", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", - ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_agreement => "filter:tasks:agreement", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_annotationsResults => "filter:tasks:annotations_results", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_annotators => "filter:tasks:annotators", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_cancelledAnnotations => "filter:tasks:cancelled_annotations", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_comments => "filter:tasks:comments", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_completedAt => "filter:tasks:completed_at", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_createdAt => "filter:tasks:created_at", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_fileUpload => "filter:tasks:file_upload", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_groundTruth => "filter:tasks:ground_truth", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_id => "filter:tasks:id", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_innerId => "filter:tasks:inner_id", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_predictionsModelVersions => "filter:tasks:predictions_model_versions", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_predictionsResults => "filter:tasks:predictions_results", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_predictionsScore => "filter:tasks:predictions_score", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewed => "filter:tasks:reviewed", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewers => "filter:tasks:reviewers", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewsAccepted => "filter:tasks:reviews_accepted", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewsRejected => "filter:tasks:reviews_rejected", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_totalAnnotations => "filter:tasks:total_annotations", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_totalPredictions => "filter:tasks:total_predictions", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_unresolvedCommentCount => "filter:tasks:unresolved_comment_count", + PrepareParamsFiltersRequestItemFilter.Filter_tasks_updatedAt => "filter:tasks:updated_at", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static ApiDmActionsCreateRequestFiltersItemFilter? ToEnum(string value) + public static PrepareParamsFiltersRequestItemFilter? ToEnum(string value) { return value switch { - "filter:tasks:agreement" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_agreement, - "filter:tasks:annotations_results" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_annotationsResults, - "filter:tasks:annotators" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_annotators, - "filter:tasks:cancelled_annotations" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_cancelledAnnotations, - "filter:tasks:comments" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_comments, - "filter:tasks:completed_at" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_completedAt, - "filter:tasks:created_at" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_createdAt, - "filter:tasks:file_upload" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_fileUpload, - "filter:tasks:ground_truth" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_groundTruth, - "filter:tasks:id" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_id, - "filter:tasks:inner_id" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_innerId, - "filter:tasks:predictions_model_versions" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_predictionsModelVersions, - "filter:tasks:predictions_results" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_predictionsResults, - "filter:tasks:predictions_score" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_predictionsScore, - "filter:tasks:reviewed" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewed, - "filter:tasks:reviewers" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewers, - "filter:tasks:reviews_accepted" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewsAccepted, - "filter:tasks:reviews_rejected" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_reviewsRejected, - "filter:tasks:total_annotations" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_totalAnnotations, - "filter:tasks:total_predictions" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_totalPredictions, - "filter:tasks:unresolved_comment_count" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_unresolvedCommentCount, - "filter:tasks:updated_at" => ApiDmActionsCreateRequestFiltersItemFilter.Filter_tasks_updatedAt, + "filter:tasks:agreement" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_agreement, + "filter:tasks:annotations_results" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_annotationsResults, + "filter:tasks:annotators" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_annotators, + "filter:tasks:cancelled_annotations" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_cancelledAnnotations, + "filter:tasks:comments" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_comments, + "filter:tasks:completed_at" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_completedAt, + "filter:tasks:created_at" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_createdAt, + "filter:tasks:file_upload" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_fileUpload, + "filter:tasks:ground_truth" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_groundTruth, + "filter:tasks:id" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_id, + "filter:tasks:inner_id" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_innerId, + "filter:tasks:predictions_model_versions" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_predictionsModelVersions, + "filter:tasks:predictions_results" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_predictionsResults, + "filter:tasks:predictions_score" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_predictionsScore, + "filter:tasks:reviewed" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewed, + "filter:tasks:reviewers" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewers, + "filter:tasks:reviews_accepted" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewsAccepted, + "filter:tasks:reviews_rejected" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_reviewsRejected, + "filter:tasks:total_annotations" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_totalAnnotations, + "filter:tasks:total_predictions" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_totalPredictions, + "filter:tasks:unresolved_comment_count" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_unresolvedCommentCount, + "filter:tasks:updated_at" => PrepareParamsFiltersRequestItemFilter.Filter_tasks_updatedAt, _ => null, }; } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemOperator.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemOperator.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemOperator.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemOperator.g.cs index a56799b8..3aaae4e6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemOperator.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemOperator.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Filter operator. Possible values:<li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> /// - public enum ApiDmActionsCreateRequestFiltersItemOperator + public enum PrepareParamsFiltersRequestItemOperator { /// /// <li>`contains` Contains</li><li>`ends_with` Ends with</li><li>`equal` Equal to</li><li>`exists` Exists</li><li>`greater` Greater than</li><li>`greater_or_equal` Greater than or equal to</li><li>`in` Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`in_list` Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`less` Less than</li><li>`less_or_equal` Less than or equal to</li><li>`not_contains` Does not contain</li><li>`not_equal` Not equal to</li><li>`not_exists` Does not exist</li><li>`not_in` Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`</li><li>`not_in_list` Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.</li><li>`starts_with` Starts with</li> @@ -77,57 +77,57 @@ public enum ApiDmActionsCreateRequestFiltersItemOperator /// /// Enum extensions to do fast conversions without the reflection. /// - public static class ApiDmActionsCreateRequestFiltersItemOperatorExtensions + public static class PrepareParamsFiltersRequestItemOperatorExtensions { /// /// Converts an enum to a string. /// - public static string ToValueString(this ApiDmActionsCreateRequestFiltersItemOperator value) + public static string ToValueString(this PrepareParamsFiltersRequestItemOperator value) { return value switch { - ApiDmActionsCreateRequestFiltersItemOperator.Contains => "contains", - ApiDmActionsCreateRequestFiltersItemOperator.EndsWith => "ends_with", - ApiDmActionsCreateRequestFiltersItemOperator.Equal => "equal", - ApiDmActionsCreateRequestFiltersItemOperator.Exists => "exists", - ApiDmActionsCreateRequestFiltersItemOperator.Greater => "greater", - ApiDmActionsCreateRequestFiltersItemOperator.GreaterOrEqual => "greater_or_equal", - ApiDmActionsCreateRequestFiltersItemOperator.In => "in", - ApiDmActionsCreateRequestFiltersItemOperator.InList => "in_list", - ApiDmActionsCreateRequestFiltersItemOperator.Less => "less", - ApiDmActionsCreateRequestFiltersItemOperator.LessOrEqual => "less_or_equal", - ApiDmActionsCreateRequestFiltersItemOperator.NotContains => "not_contains", - ApiDmActionsCreateRequestFiltersItemOperator.NotEqual => "not_equal", - ApiDmActionsCreateRequestFiltersItemOperator.NotExists => "not_exists", - ApiDmActionsCreateRequestFiltersItemOperator.NotIn => "not_in", - ApiDmActionsCreateRequestFiltersItemOperator.NotInList => "not_in_list", - ApiDmActionsCreateRequestFiltersItemOperator.StartsWith => "starts_with", + PrepareParamsFiltersRequestItemOperator.Contains => "contains", + PrepareParamsFiltersRequestItemOperator.EndsWith => "ends_with", + PrepareParamsFiltersRequestItemOperator.Equal => "equal", + PrepareParamsFiltersRequestItemOperator.Exists => "exists", + PrepareParamsFiltersRequestItemOperator.Greater => "greater", + PrepareParamsFiltersRequestItemOperator.GreaterOrEqual => "greater_or_equal", + PrepareParamsFiltersRequestItemOperator.In => "in", + PrepareParamsFiltersRequestItemOperator.InList => "in_list", + PrepareParamsFiltersRequestItemOperator.Less => "less", + PrepareParamsFiltersRequestItemOperator.LessOrEqual => "less_or_equal", + PrepareParamsFiltersRequestItemOperator.NotContains => "not_contains", + PrepareParamsFiltersRequestItemOperator.NotEqual => "not_equal", + PrepareParamsFiltersRequestItemOperator.NotExists => "not_exists", + PrepareParamsFiltersRequestItemOperator.NotIn => "not_in", + PrepareParamsFiltersRequestItemOperator.NotInList => "not_in_list", + PrepareParamsFiltersRequestItemOperator.StartsWith => "starts_with", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } /// /// Converts an string to a enum. /// - public static ApiDmActionsCreateRequestFiltersItemOperator? ToEnum(string value) + public static PrepareParamsFiltersRequestItemOperator? ToEnum(string value) { return value switch { - "contains" => ApiDmActionsCreateRequestFiltersItemOperator.Contains, - "ends_with" => ApiDmActionsCreateRequestFiltersItemOperator.EndsWith, - "equal" => ApiDmActionsCreateRequestFiltersItemOperator.Equal, - "exists" => ApiDmActionsCreateRequestFiltersItemOperator.Exists, - "greater" => ApiDmActionsCreateRequestFiltersItemOperator.Greater, - "greater_or_equal" => ApiDmActionsCreateRequestFiltersItemOperator.GreaterOrEqual, - "in" => ApiDmActionsCreateRequestFiltersItemOperator.In, - "in_list" => ApiDmActionsCreateRequestFiltersItemOperator.InList, - "less" => ApiDmActionsCreateRequestFiltersItemOperator.Less, - "less_or_equal" => ApiDmActionsCreateRequestFiltersItemOperator.LessOrEqual, - "not_contains" => ApiDmActionsCreateRequestFiltersItemOperator.NotContains, - "not_equal" => ApiDmActionsCreateRequestFiltersItemOperator.NotEqual, - "not_exists" => ApiDmActionsCreateRequestFiltersItemOperator.NotExists, - "not_in" => ApiDmActionsCreateRequestFiltersItemOperator.NotIn, - "not_in_list" => ApiDmActionsCreateRequestFiltersItemOperator.NotInList, - "starts_with" => ApiDmActionsCreateRequestFiltersItemOperator.StartsWith, + "contains" => PrepareParamsFiltersRequestItemOperator.Contains, + "ends_with" => PrepareParamsFiltersRequestItemOperator.EndsWith, + "equal" => PrepareParamsFiltersRequestItemOperator.Equal, + "exists" => PrepareParamsFiltersRequestItemOperator.Exists, + "greater" => PrepareParamsFiltersRequestItemOperator.Greater, + "greater_or_equal" => PrepareParamsFiltersRequestItemOperator.GreaterOrEqual, + "in" => PrepareParamsFiltersRequestItemOperator.In, + "in_list" => PrepareParamsFiltersRequestItemOperator.InList, + "less" => PrepareParamsFiltersRequestItemOperator.Less, + "less_or_equal" => PrepareParamsFiltersRequestItemOperator.LessOrEqual, + "not_contains" => PrepareParamsFiltersRequestItemOperator.NotContains, + "not_equal" => PrepareParamsFiltersRequestItemOperator.NotEqual, + "not_exists" => PrepareParamsFiltersRequestItemOperator.NotExists, + "not_in" => PrepareParamsFiltersRequestItemOperator.NotIn, + "not_in_list" => PrepareParamsFiltersRequestItemOperator.NotInList, + "starts_with" => PrepareParamsFiltersRequestItemOperator.StartsWith, _ => null, }; } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequestResultItem.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueDictionary.Json.g.cs similarity index 83% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequestResultItem.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueDictionary.Json.g.cs index 70bb607b..644618d6 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiAnnotationsPartialUpdateRequestResultItem.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueDictionary.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiAnnotationsPartialUpdateRequestResultItem + public sealed partial class PrepareParamsFiltersRequestItemValueDictionary { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiAnnotationsPartialUpdateRequestResultItem? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemValueDictionary? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiAnnotationsPartialUpdateRequestResultItem), - jsonSerializerContext) as global::LabelStudio.ApiAnnotationsPartialUpdateRequestResultItem; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemValueDictionary), + jsonSerializerContext) as global::LabelStudio.PrepareParamsFiltersRequestItemValueDictionary; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiAnnotationsPartialUpdateRequestResultItem? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemValueDictionary? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiAnnotationsPartialUpdateRequestResultItem? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemValueDictionary? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiAnnotationsPartialUpdateRequestResultItem), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiAnnotationsPartialUpdateRequestResultItem; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemValueDictionary), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsFiltersRequestItemValueDictionary; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueDictionary.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueDictionary.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueDictionary.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueDictionary.g.cs index aac9f1eb..634ed7d5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueDictionary.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueDictionary.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// Dictionary is used for some operator types, e.g. `in` and `not_in` /// - public sealed partial class ApiDmActionsCreateRequestFiltersItemValueDictionary + public sealed partial class PrepareParamsFiltersRequestItemValueDictionary { /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueList.Json.g.cs similarity index 85% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueList.Json.g.cs index f5148376..78112165 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiLlmOpenaiChatCompletionsCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueList.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiLlmOpenaiChatCompletionsCreateRequest + public sealed partial class PrepareParamsFiltersRequestItemValueList { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemValueList? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemValueList), + jsonSerializerContext) as global::LabelStudio.PrepareParamsFiltersRequestItemValueList; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemValueList? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiLlmOpenaiChatCompletionsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsFiltersRequestItemValueList? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiLlmOpenaiChatCompletionsCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiLlmOpenaiChatCompletionsCreateRequest; + typeof(global::LabelStudio.PrepareParamsFiltersRequestItemValueList), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsFiltersRequestItemValueList; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueList.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueList.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueList.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueList.g.cs index 93821b2e..b0f2796e 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestFiltersItemValueList.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsFiltersRequestItemValueList.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. /// - public sealed partial class ApiDmActionsCreateRequestFiltersItemValueList + public sealed partial class PrepareParamsFiltersRequestItemValueList { /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsOrderingRequestItem.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsOrderingRequestItem.g.cs new file mode 100644 index 00000000..3345b186 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsOrderingRequestItem.g.cs @@ -0,0 +1,171 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public enum PrepareParamsOrderingRequestItem + { + /// + /// + /// + Tasks_agreement, + /// + /// + /// + Tasks_annotationsResults, + /// + /// + /// + Tasks_annotators, + /// + /// + /// + Tasks_cancelledAnnotations, + /// + /// + /// + Tasks_comments, + /// + /// + /// + Tasks_completedAt, + /// + /// + /// + Tasks_createdAt, + /// + /// + /// + Tasks_fileUpload, + /// + /// + /// + Tasks_groundTruth, + /// + /// + /// + Tasks_id, + /// + /// + /// + Tasks_innerId, + /// + /// + /// + Tasks_predictionsModelVersions, + /// + /// + /// + Tasks_predictionsResults, + /// + /// + /// + Tasks_predictionsScore, + /// + /// + /// + Tasks_reviewed, + /// + /// + /// + Tasks_reviewers, + /// + /// + /// + Tasks_reviewsAccepted, + /// + /// + /// + Tasks_reviewsRejected, + /// + /// + /// + Tasks_totalAnnotations, + /// + /// + /// + Tasks_totalPredictions, + /// + /// + /// + Tasks_unresolvedCommentCount, + /// + /// + /// + Tasks_updatedAt, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class PrepareParamsOrderingRequestItemExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this PrepareParamsOrderingRequestItem value) + { + return value switch + { + PrepareParamsOrderingRequestItem.Tasks_agreement => "tasks:agreement", + PrepareParamsOrderingRequestItem.Tasks_annotationsResults => "tasks:annotations_results", + PrepareParamsOrderingRequestItem.Tasks_annotators => "tasks:annotators", + PrepareParamsOrderingRequestItem.Tasks_cancelledAnnotations => "tasks:cancelled_annotations", + PrepareParamsOrderingRequestItem.Tasks_comments => "tasks:comments", + PrepareParamsOrderingRequestItem.Tasks_completedAt => "tasks:completed_at", + PrepareParamsOrderingRequestItem.Tasks_createdAt => "tasks:created_at", + PrepareParamsOrderingRequestItem.Tasks_fileUpload => "tasks:file_upload", + PrepareParamsOrderingRequestItem.Tasks_groundTruth => "tasks:ground_truth", + PrepareParamsOrderingRequestItem.Tasks_id => "tasks:id", + PrepareParamsOrderingRequestItem.Tasks_innerId => "tasks:inner_id", + PrepareParamsOrderingRequestItem.Tasks_predictionsModelVersions => "tasks:predictions_model_versions", + PrepareParamsOrderingRequestItem.Tasks_predictionsResults => "tasks:predictions_results", + PrepareParamsOrderingRequestItem.Tasks_predictionsScore => "tasks:predictions_score", + PrepareParamsOrderingRequestItem.Tasks_reviewed => "tasks:reviewed", + PrepareParamsOrderingRequestItem.Tasks_reviewers => "tasks:reviewers", + PrepareParamsOrderingRequestItem.Tasks_reviewsAccepted => "tasks:reviews_accepted", + PrepareParamsOrderingRequestItem.Tasks_reviewsRejected => "tasks:reviews_rejected", + PrepareParamsOrderingRequestItem.Tasks_totalAnnotations => "tasks:total_annotations", + PrepareParamsOrderingRequestItem.Tasks_totalPredictions => "tasks:total_predictions", + PrepareParamsOrderingRequestItem.Tasks_unresolvedCommentCount => "tasks:unresolved_comment_count", + PrepareParamsOrderingRequestItem.Tasks_updatedAt => "tasks:updated_at", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static PrepareParamsOrderingRequestItem? ToEnum(string value) + { + return value switch + { + "tasks:agreement" => PrepareParamsOrderingRequestItem.Tasks_agreement, + "tasks:annotations_results" => PrepareParamsOrderingRequestItem.Tasks_annotationsResults, + "tasks:annotators" => PrepareParamsOrderingRequestItem.Tasks_annotators, + "tasks:cancelled_annotations" => PrepareParamsOrderingRequestItem.Tasks_cancelledAnnotations, + "tasks:comments" => PrepareParamsOrderingRequestItem.Tasks_comments, + "tasks:completed_at" => PrepareParamsOrderingRequestItem.Tasks_completedAt, + "tasks:created_at" => PrepareParamsOrderingRequestItem.Tasks_createdAt, + "tasks:file_upload" => PrepareParamsOrderingRequestItem.Tasks_fileUpload, + "tasks:ground_truth" => PrepareParamsOrderingRequestItem.Tasks_groundTruth, + "tasks:id" => PrepareParamsOrderingRequestItem.Tasks_id, + "tasks:inner_id" => PrepareParamsOrderingRequestItem.Tasks_innerId, + "tasks:predictions_model_versions" => PrepareParamsOrderingRequestItem.Tasks_predictionsModelVersions, + "tasks:predictions_results" => PrepareParamsOrderingRequestItem.Tasks_predictionsResults, + "tasks:predictions_score" => PrepareParamsOrderingRequestItem.Tasks_predictionsScore, + "tasks:reviewed" => PrepareParamsOrderingRequestItem.Tasks_reviewed, + "tasks:reviewers" => PrepareParamsOrderingRequestItem.Tasks_reviewers, + "tasks:reviews_accepted" => PrepareParamsOrderingRequestItem.Tasks_reviewsAccepted, + "tasks:reviews_rejected" => PrepareParamsOrderingRequestItem.Tasks_reviewsRejected, + "tasks:total_annotations" => PrepareParamsOrderingRequestItem.Tasks_totalAnnotations, + "tasks:total_predictions" => PrepareParamsOrderingRequestItem.Tasks_totalPredictions, + "tasks:unresolved_comment_count" => PrepareParamsOrderingRequestItem.Tasks_unresolvedCommentCount, + "tasks:updated_at" => PrepareParamsOrderingRequestItem.Tasks_updatedAt, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequest.Json.g.cs index 33a56dfd..50e310b2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiPredictionsCreateRequest + public sealed partial class PrepareParamsRequestRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiPredictionsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsRequestRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiPredictionsCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiPredictionsCreateRequest; + typeof(global::LabelStudio.PrepareParamsRequestRequest), + jsonSerializerContext) as global::LabelStudio.PrepareParamsRequestRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiPredictionsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsRequestRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiPredictionsCreateRequest? FromJson( + public static global::LabelStudio.PrepareParamsRequestRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiPredictionsCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiPredictionsCreateRequest; + typeof(global::LabelStudio.PrepareParamsRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsRequestRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequest.g.cs new file mode 100644 index 00000000..9c821952 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequest.g.cs @@ -0,0 +1,65 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class PrepareParamsRequestRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filters")] + public global::LabelStudio.PrepareParamsFiltersRequest? Filters { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ordering")] + public global::System.Collections.Generic.IList? Ordering { get; set; } + + /// + /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` + /// + [global::System.Text.Json.Serialization.JsonPropertyName("selectedItems")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.OneOfJsonConverter))] + public global::LabelStudio.OneOf? SelectedItems { 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. + /// + /// + /// + /// + /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public PrepareParamsRequestRequest( + global::LabelStudio.PrepareParamsFiltersRequest? filters, + global::System.Collections.Generic.IList? ordering, + global::LabelStudio.OneOf? selectedItems) + { + this.Filters = filters; + this.Ordering = ordering; + this.SelectedItems = selectedItems; + } + + /// + /// Initializes a new instance of the class. + /// + public PrepareParamsRequestRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllFalse.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllFalse.Json.g.cs new file mode 100644 index 00000000..08e6ebaf --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllFalse.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class PrepareParamsRequestRequestSelectedItemsAllFalse + { + /// + /// 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.PrepareParamsRequestRequestSelectedItemsAllFalse? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse), + jsonSerializerContext) as global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse? 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.PrepareParamsRequestRequestSelectedItemsAllFalse? 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.PrepareParamsRequestRequestSelectedItemsAllFalse), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllFalse; + } + + /// + /// 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.ApiDmActionsCreateRequestSelectedItemsAllFalse.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllFalse.g.cs similarity index 77% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllFalse.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllFalse.g.cs index aa587e36..14bc6138 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllFalse.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllFalse.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllFalse + public sealed partial class PrepareParamsRequestRequestSelectedItemsAllFalse { /// /// No tasks are selected @@ -28,7 +28,7 @@ public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllFalse public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// No tasks are selected @@ -39,7 +39,7 @@ public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllFalse #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDmActionsCreateRequestSelectedItemsAllFalse( + public PrepareParamsRequestRequestSelectedItemsAllFalse( bool all, global::System.Collections.Generic.IList? included) { @@ -48,9 +48,9 @@ public ApiDmActionsCreateRequestSelectedItemsAllFalse( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDmActionsCreateRequestSelectedItemsAllFalse() + public PrepareParamsRequestRequestSelectedItemsAllFalse() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllTrue.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllTrue.Json.g.cs new file mode 100644 index 00000000..c410b6ca --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllTrue.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class PrepareParamsRequestRequestSelectedItemsAllTrue + { + /// + /// 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.PrepareParamsRequestRequestSelectedItemsAllTrue? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue), + jsonSerializerContext) as global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue? 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.PrepareParamsRequestRequestSelectedItemsAllTrue? 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.PrepareParamsRequestRequestSelectedItemsAllTrue), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.PrepareParamsRequestRequestSelectedItemsAllTrue; + } + + /// + /// 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.ApiDmActionsCreateRequestSelectedItemsAllTrue.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllTrue.g.cs similarity index 77% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllTrue.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllTrue.g.cs index 5f7f72a2..822058da 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmActionsCreateRequestSelectedItemsAllTrue.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PrepareParamsRequestRequestSelectedItemsAllTrue.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllTrue + public sealed partial class PrepareParamsRequestRequestSelectedItemsAllTrue { /// /// All tasks are selected @@ -28,7 +28,7 @@ public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllTrue public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// All tasks are selected @@ -39,7 +39,7 @@ public sealed partial class ApiDmActionsCreateRequestSelectedItemsAllTrue #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDmActionsCreateRequestSelectedItemsAllTrue( + public PrepareParamsRequestRequestSelectedItemsAllTrue( bool all, global::System.Collections.Generic.IList? excluded) { @@ -48,9 +48,9 @@ public ApiDmActionsCreateRequestSelectedItemsAllTrue( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDmActionsCreateRequestSelectedItemsAllTrue() + public PrepareParamsRequestRequestSelectedItemsAllTrue() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3PartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageValidateRequest.Json.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3PartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageValidateRequest.Json.g.cs index 5a198aad..43eef4fb 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3PartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesS3PartialUpdateRequest + public sealed partial class RedisExportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesS3PartialUpdateRequest? FromJson( + public static global::LabelStudio.RedisExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesS3PartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesS3PartialUpdateRequest; + typeof(global::LabelStudio.RedisExportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.RedisExportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesS3PartialUpdateRequest? FromJson( + public static global::LabelStudio.RedisExportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesS3PartialUpdateRequest? FromJson( + public static global::LabelStudio.RedisExportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesS3PartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesS3PartialUpdateRequest; + typeof(global::LabelStudio.RedisExportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.RedisExportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageValidateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageValidateRequest.g.cs new file mode 100644 index 00000000..314082c5 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageValidateRequest.g.cs @@ -0,0 +1,179 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class RedisExportStorageValidateRequest + { + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Server Database + /// + [global::System.Text.Json.Serialization.JsonPropertyName("db")] + public int? Db { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Server Host IP (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + public string? Host { get; set; } + + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// Server Password (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("password")] + public string? Password { get; set; } + + /// + /// Storage prefix (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// Server Port (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("port")] + public string? Port { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Deletion from storage enabled + /// + /// + /// Server Database + /// + /// + /// Cloud storage description + /// + /// + /// Server Host IP (optional) + /// + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + /// + /// Server Password (optional) + /// + /// + /// Storage prefix (optional) + /// + /// + /// Server Port (optional) + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RedisExportStorageValidateRequest( + int project, + bool? canDeleteObjects, + int? db, + string? description, + string? host, + int? id, + string? password, + string? path, + string? port, + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.CanDeleteObjects = canDeleteObjects; + this.Db = db; + this.Description = description; + this.Host = host; + this.Id = id; + this.Password = password; + this.Path = path; + this.Port = port; + this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public RedisExportStorageValidateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageWriteRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageWriteRequest.Json.g.cs index 3185efb1..a8500b0b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsPartialUpdateRequest + public sealed partial class RedisExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequest? FromJson( + public static global::LabelStudio.RedisExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsPartialUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsPartialUpdateRequest; + typeof(global::LabelStudio.RedisExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.RedisExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsPartialUpdateRequest? FromJson( + public static global::LabelStudio.RedisExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsPartialUpdateRequest? FromJson( + public static global::LabelStudio.RedisExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsPartialUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsPartialUpdateRequest; + typeof(global::LabelStudio.RedisExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.RedisExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageWriteRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageWriteRequest.g.cs new file mode 100644 index 00000000..90d66348 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisExportStorageWriteRequest.g.cs @@ -0,0 +1,168 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class RedisExportStorageWriteRequest + { + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Server Database + /// + [global::System.Text.Json.Serialization.JsonPropertyName("db")] + public int? Db { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Server Host IP (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("host")] + public string? Host { get; set; } + + /// + /// Server Password (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("password")] + public string? Password { get; set; } + + /// + /// Storage prefix (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("path")] + public string? Path { get; set; } + + /// + /// Server Port (optional) + /// + [global::System.Text.Json.Serialization.JsonPropertyName("port")] + public string? Port { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Deletion from storage enabled + /// + /// + /// Server Database + /// + /// + /// Cloud storage description + /// + /// + /// Server Host IP (optional) + /// + /// + /// Server Password (optional) + /// + /// + /// Storage prefix (optional) + /// + /// + /// Server Port (optional) + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public RedisExportStorageWriteRequest( + int project, + bool? canDeleteObjects, + int? db, + string? description, + string? host, + string? password, + string? path, + string? port, + string? regexFilter, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.CanDeleteObjects = canDeleteObjects; + this.Db = db; + this.Description = description; + this.Host = host; + this.Password = password; + this.Path = path; + this.Port = port; + this.Project = project; + this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public RedisExportStorageWriteRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsCreateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageValidateRequest.Json.g.cs similarity index 86% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsCreateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageValidateRequest.Json.g.cs index 550af5af..494f88e9 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportGcsCreateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageValidateRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiStoragesExportGcsCreateRequest + public sealed partial class RedisImportStorageValidateRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportGcsCreateRequest? FromJson( + public static global::LabelStudio.RedisImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiStoragesExportGcsCreateRequest), - jsonSerializerContext) as global::LabelStudio.ApiStoragesExportGcsCreateRequest; + typeof(global::LabelStudio.RedisImportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.RedisImportStorageValidateRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiStoragesExportGcsCreateRequest? FromJson( + public static global::LabelStudio.RedisImportStorageValidateRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiStoragesExportGcsCreateRequest? FromJson( + public static global::LabelStudio.RedisImportStorageValidateRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiStoragesExportGcsCreateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiStoragesExportGcsCreateRequest; + typeof(global::LabelStudio.RedisImportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.RedisImportStorageValidateRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageValidateRequest.g.cs similarity index 70% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageValidateRequest.g.cs index 8194f286..41c2b248 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageValidateRequest.g.cs @@ -6,10 +6,16 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesRedisValidateCreateRequest + public sealed partial class RedisImportStorageValidateRequest { /// - /// Storage description + /// Server Database + /// + [global::System.Text.Json.Serialization.JsonPropertyName("db")] + public int? Db { get; set; } + + /// + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -45,26 +51,32 @@ public sealed partial class ApiStoragesRedisValidateCreateRequest public string? Port { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -76,10 +88,16 @@ public sealed partial class ApiStoragesRedisValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -96,34 +114,36 @@ public sealed partial class ApiStoragesRedisValidateCreateRequest /// /// Server Port (optional) /// - /// - /// Project ID - /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesRedisValidateCreateRequest( + public RedisImportStorageValidateRequest( + int project, + int? db, string? description, string? host, int? id, string? password, string? path, string? port, - int? project, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { + this.Db = db; this.Description = description; this.Host = host; this.Id = id; @@ -132,14 +152,15 @@ public ApiStoragesRedisValidateCreateRequest( this.Port = port; this.Project = project; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesRedisValidateCreateRequest() + public RedisImportStorageValidateRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageWriteRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageWriteRequest.Json.g.cs new file mode 100644 index 00000000..d7d16b42 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageWriteRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class RedisImportStorageWriteRequest + { + /// + /// 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.RedisImportStorageWriteRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.RedisImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.RedisImportStorageWriteRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.RedisImportStorageWriteRequest? 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.RedisImportStorageWriteRequest? 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.RedisImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.RedisImportStorageWriteRequest; + } + + /// + /// 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.ApiStoragesRedisCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageWriteRequest.g.cs similarity index 67% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageWriteRequest.g.cs index b0ca5171..02d6db2c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesRedisCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.RedisImportStorageWriteRequest.g.cs @@ -6,10 +6,16 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesRedisCreateRequest + public sealed partial class RedisImportStorageWriteRequest { /// - /// Storage description + /// Server Database + /// + [global::System.Text.Json.Serialization.JsonPropertyName("db")] + public int? Db { get; set; } + + /// + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -39,26 +45,32 @@ public sealed partial class ApiStoragesRedisCreateRequest public string? Port { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -70,10 +82,16 @@ public sealed partial class ApiStoragesRedisCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// + /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -87,33 +105,35 @@ public sealed partial class ApiStoragesRedisCreateRequest /// /// Server Port (optional) /// - /// - /// Project ID - /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesRedisCreateRequest( + public RedisImportStorageWriteRequest( + int project, + int? db, string? description, string? host, string? password, string? path, string? port, - int? project, string? regexFilter, + bool? synchronizable, string? title, bool? useBlobUrls) { + this.Db = db; this.Description = description; this.Host = host; this.Password = password; @@ -121,14 +141,15 @@ public ApiStoragesRedisCreateRequest( this.Port = port; this.Project = project; this.RegexFilter = regexFilter; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesRedisCreateRequest() + public RedisImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageValidateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageValidateRequest.Json.g.cs new file mode 100644 index 00000000..5dcd34e1 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageValidateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class S3ExportStorageValidateRequest + { + /// + /// 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.S3ExportStorageValidateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.S3ExportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.S3ExportStorageValidateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.S3ExportStorageValidateRequest? 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.S3ExportStorageValidateRequest? 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.S3ExportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.S3ExportStorageValidateRequest; + } + + /// + /// 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.S3ExportStorageValidateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageValidateRequest.g.cs new file mode 100644 index 00000000..4e91a3d0 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageValidateRequest.g.cs @@ -0,0 +1,212 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// + /// + public sealed partial class S3ExportStorageValidateRequest + { + /// + /// AWS_ACCESS_KEY_ID + /// + [global::System.Text.Json.Serialization.JsonPropertyName("aws_access_key_id")] + public string? AwsAccessKeyId { get; set; } + + /// + /// AWS_SECRET_ACCESS_KEY + /// + [global::System.Text.Json.Serialization.JsonPropertyName("aws_secret_access_key")] + public string? AwsSecretAccessKey { get; set; } + + /// + /// AWS_SESSION_TOKEN + /// + [global::System.Text.Json.Serialization.JsonPropertyName("aws_session_token")] + public string? AwsSessionToken { get; set; } + + /// + /// AWS SSE KMS Key ID + /// + [global::System.Text.Json.Serialization.JsonPropertyName("aws_sse_kms_key_id")] + public string? AwsSseKmsKeyId { get; set; } + + /// + /// S3 bucket name + /// + [global::System.Text.Json.Serialization.JsonPropertyName("bucket")] + public string? Bucket { get; set; } + + /// + /// Deletion from storage enabled + /// + [global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] + public bool? CanDeleteObjects { get; set; } + + /// + /// Cloud storage description + /// + [global::System.Text.Json.Serialization.JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + [global::System.Text.Json.Serialization.JsonPropertyName("id")] + public int? Id { get; set; } + + /// + /// S3 bucket prefix + /// + [global::System.Text.Json.Serialization.JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// A unique integer value identifying this project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("project")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } + + /// + /// AWS Region + /// + [global::System.Text.Json.Serialization.JsonPropertyName("region_name")] + public string? RegionName { get; set; } + + /// + /// S3 Endpoint + /// + [global::System.Text.Json.Serialization.JsonPropertyName("s3_endpoint")] + public string? S3Endpoint { get; set; } + + /// + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title + /// + [global::System.Text.Json.Serialization.JsonPropertyName("title")] + public string? Title { get; set; } + + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { 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. + /// + /// + /// A unique integer value identifying this project. + /// + /// + /// AWS_ACCESS_KEY_ID + /// + /// + /// AWS_SECRET_ACCESS_KEY + /// + /// + /// AWS_SESSION_TOKEN + /// + /// + /// AWS SSE KMS Key ID + /// + /// + /// S3 bucket name + /// + /// + /// Deletion from storage enabled + /// + /// + /// Cloud storage description + /// + /// + /// Storage ID. If set, storage with specified ID will be updated + /// + /// + /// S3 bucket prefix + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// AWS Region + /// + /// + /// S3 Endpoint + /// + /// + /// Default Value: true + /// + /// + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs + /// +#if NET7_0_OR_GREATER + [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] +#endif + public S3ExportStorageValidateRequest( + int project, + string? awsAccessKeyId, + string? awsSecretAccessKey, + string? awsSessionToken, + string? awsSseKmsKeyId, + string? bucket, + bool? canDeleteObjects, + string? description, + int? id, + string? prefix, + string? regexFilter, + string? regionName, + string? s3Endpoint, + bool? synchronizable, + string? title, + bool? useBlobUrls) + { + this.AwsAccessKeyId = awsAccessKeyId; + this.AwsSecretAccessKey = awsSecretAccessKey; + this.AwsSessionToken = awsSessionToken; + this.AwsSseKmsKeyId = awsSseKmsKeyId; + this.Bucket = bucket; + this.CanDeleteObjects = canDeleteObjects; + this.Description = description; + this.Id = id; + this.Prefix = prefix; + this.Project = project; + this.RegexFilter = regexFilter; + this.RegionName = regionName; + this.S3Endpoint = s3Endpoint; + this.Synchronizable = synchronizable; + this.Title = title; + this.UseBlobUrls = useBlobUrls; + } + + /// + /// Initializes a new instance of the class. + /// + public S3ExportStorageValidateRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageWriteRequest.Json.g.cs similarity index 88% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageWriteRequest.Json.g.cs index 348a9879..b26ca5f7 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiPredictionsUpdateRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiPredictionsUpdateRequest + public sealed partial class S3ExportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiPredictionsUpdateRequest? FromJson( + public static global::LabelStudio.S3ExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiPredictionsUpdateRequest), - jsonSerializerContext) as global::LabelStudio.ApiPredictionsUpdateRequest; + typeof(global::LabelStudio.S3ExportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.S3ExportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiPredictionsUpdateRequest? FromJson( + public static global::LabelStudio.S3ExportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiPredictionsUpdateRequest? FromJson( + public static global::LabelStudio.S3ExportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiPredictionsUpdateRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiPredictionsUpdateRequest; + typeof(global::LabelStudio.S3ExportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.S3ExportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3CreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageWriteRequest.g.cs similarity index 69% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3CreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageWriteRequest.g.cs index 46778035..0573be71 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesExportS3CreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ExportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesExportS3CreateRequest + public sealed partial class S3ExportStorageWriteRequest { /// /// AWS_ACCESS_KEY_ID @@ -39,14 +39,13 @@ public sealed partial class ApiStoragesExportS3CreateRequest public string? Bucket { get; set; } /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled ///
[global::System.Text.Json.Serialization.JsonPropertyName("can_delete_objects")] public bool? CanDeleteObjects { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -58,10 +57,17 @@ public sealed partial class ApiStoragesExportS3CreateRequest public string? Prefix { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } + + /// + /// Cloud storage regex for filtering objects + /// + [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] + public string? RegexFilter { get; set; } /// /// AWS Region @@ -76,11 +82,23 @@ public sealed partial class ApiStoragesExportS3CreateRequest public string? S3Endpoint { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } + /// + /// Interpret objects as BLOBs and generate URLs + /// + [global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] + public bool? UseBlobUrls { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -88,8 +106,11 @@ public sealed partial class ApiStoragesExportS3CreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// AWS_ACCESS_KEY_ID /// @@ -106,17 +127,16 @@ public sealed partial class ApiStoragesExportS3CreateRequest /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// - /// - /// Project ID + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -124,13 +144,20 @@ public sealed partial class ApiStoragesExportS3CreateRequest /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesExportS3CreateRequest( + public S3ExportStorageWriteRequest( + int project, string? awsAccessKeyId, string? awsSecretAccessKey, string? awsSessionToken, @@ -139,10 +166,12 @@ public ApiStoragesExportS3CreateRequest( bool? canDeleteObjects, string? description, string? prefix, - int? project, + string? regexFilter, string? regionName, string? s3Endpoint, - string? title) + bool? synchronizable, + string? title, + bool? useBlobUrls) { this.AwsAccessKeyId = awsAccessKeyId; this.AwsSecretAccessKey = awsSecretAccessKey; @@ -153,15 +182,18 @@ public ApiStoragesExportS3CreateRequest( this.Description = description; this.Prefix = prefix; this.Project = project; + this.RegexFilter = regexFilter; this.RegionName = regionName; this.S3Endpoint = s3Endpoint; + this.Synchronizable = synchronizable; this.Title = title; + this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesExportS3CreateRequest() + public S3ExportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageValidateRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageValidateRequest.Json.g.cs new file mode 100644 index 00000000..493c0086 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageValidateRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class S3ImportStorageValidateRequest + { + /// + /// 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.S3ImportStorageValidateRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.S3ImportStorageValidateRequest), + jsonSerializerContext) as global::LabelStudio.S3ImportStorageValidateRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.S3ImportStorageValidateRequest? 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.S3ImportStorageValidateRequest? 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.S3ImportStorageValidateRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.S3ImportStorageValidateRequest; + } + + /// + /// 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.ApiStoragesS3ValidateCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageValidateRequest.g.cs similarity index 79% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3ValidateCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageValidateRequest.g.cs index 8c3f06cb..aac9c0a9 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3ValidateCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageValidateRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesS3ValidateCreateRequest + public sealed partial class S3ImportStorageValidateRequest { /// /// AWS_ACCESS_KEY_ID @@ -39,7 +39,7 @@ public sealed partial class ApiStoragesS3ValidateCreateRequest public string? Bucket { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -57,33 +57,32 @@ public sealed partial class ApiStoragesS3ValidateCreateRequest public string? Prefix { get; set; } /// - /// Presign URLs for download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] public bool? RecursiveScan { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } @@ -101,14 +100,19 @@ public sealed partial class ApiStoragesS3ValidateCreateRequest public string? S3Endpoint { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -120,8 +124,11 @@ public sealed partial class ApiStoragesS3ValidateCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// AWS_ACCESS_KEY_ID /// @@ -138,7 +145,7 @@ public sealed partial class ApiStoragesS3ValidateCreateRequest /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -147,21 +154,16 @@ public sealed partial class ApiStoragesS3ValidateCreateRequest /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 - /// - /// - /// Project ID + /// Presigned URLs TTL (in minutes) /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -169,17 +171,20 @@ public sealed partial class ApiStoragesS3ValidateCreateRequest /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesS3ValidateCreateRequest( + public S3ImportStorageValidateRequest( + int project, string? awsAccessKeyId, string? awsSecretAccessKey, string? awsSessionToken, @@ -190,11 +195,11 @@ public ApiStoragesS3ValidateCreateRequest( string? prefix, bool? presign, int? presignTtl, - int? project, bool? recursiveScan, string? regexFilter, string? regionName, string? s3Endpoint, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -213,14 +218,15 @@ public ApiStoragesS3ValidateCreateRequest( this.RegexFilter = regexFilter; this.RegionName = regionName; this.S3Endpoint = s3Endpoint; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesS3ValidateCreateRequest() + public S3ImportStorageValidateRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestData.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageWriteRequest.Json.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestData.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageWriteRequest.Json.g.cs index a4c60ab1..11c286c9 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsUpdateRequestData.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageWriteRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class ApiDmViewsUpdateRequestData + public sealed partial class S3ImportStorageWriteRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsUpdateRequestData? FromJson( + public static global::LabelStudio.S3ImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.ApiDmViewsUpdateRequestData), - jsonSerializerContext) as global::LabelStudio.ApiDmViewsUpdateRequestData; + typeof(global::LabelStudio.S3ImportStorageWriteRequest), + jsonSerializerContext) as global::LabelStudio.S3ImportStorageWriteRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.ApiDmViewsUpdateRequestData? FromJson( + public static global::LabelStudio.S3ImportStorageWriteRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.ApiDmViewsUpdateRequestData? FromJson( + public static global::LabelStudio.S3ImportStorageWriteRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.ApiDmViewsUpdateRequestData), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ApiDmViewsUpdateRequestData; + typeof(global::LabelStudio.S3ImportStorageWriteRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.S3ImportStorageWriteRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3PartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageWriteRequest.g.cs similarity index 78% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3PartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageWriteRequest.g.cs index 9847cd31..40b079d1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiStoragesS3PartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.S3ImportStorageWriteRequest.g.cs @@ -6,7 +6,7 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiStoragesS3PartialUpdateRequest + public sealed partial class S3ImportStorageWriteRequest { /// /// AWS_ACCESS_KEY_ID @@ -39,7 +39,7 @@ public sealed partial class ApiStoragesS3PartialUpdateRequest public string? Bucket { get; set; } /// - /// Storage description + /// Cloud storage description /// [global::System.Text.Json.Serialization.JsonPropertyName("description")] public string? Description { get; set; } @@ -51,33 +51,32 @@ public sealed partial class ApiStoragesS3PartialUpdateRequest public string? Prefix { get; set; } /// - /// Presign URLs for download
/// Default Value: true ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign")] public bool? Presign { get; set; } /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) ///
[global::System.Text.Json.Serialization.JsonPropertyName("presign_ttl")] public int? PresignTtl { get; set; } /// - /// Project ID + /// A unique integer value identifying this project. /// [global::System.Text.Json.Serialization.JsonPropertyName("project")] - public int? Project { get; set; } + [global::System.Text.Json.Serialization.JsonRequired] + public required int Project { get; set; } /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// [global::System.Text.Json.Serialization.JsonPropertyName("recursive_scan")] public bool? RecursiveScan { get; set; } /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// [global::System.Text.Json.Serialization.JsonPropertyName("regex_filter")] public string? RegexFilter { get; set; } @@ -95,14 +94,19 @@ public sealed partial class ApiStoragesS3PartialUpdateRequest public string? S3Endpoint { get; set; } /// - /// Storage title + /// Default Value: true + /// + [global::System.Text.Json.Serialization.JsonPropertyName("synchronizable")] + public bool? Synchronizable { get; set; } + + /// + /// Cloud storage title /// [global::System.Text.Json.Serialization.JsonPropertyName("title")] public string? Title { get; set; } /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs ///
[global::System.Text.Json.Serialization.JsonPropertyName("use_blob_urls")] public bool? UseBlobUrls { get; set; } @@ -114,8 +118,11 @@ public sealed partial class ApiStoragesS3PartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// + /// + /// A unique integer value identifying this project. + /// /// /// AWS_ACCESS_KEY_ID /// @@ -132,27 +139,22 @@ public sealed partial class ApiStoragesS3PartialUpdateRequest /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 - /// - /// - /// Project ID + /// Presigned URLs TTL (in minutes) /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -160,17 +162,20 @@ public sealed partial class ApiStoragesS3PartialUpdateRequest /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiStoragesS3PartialUpdateRequest( + public S3ImportStorageWriteRequest( + int project, string? awsAccessKeyId, string? awsSecretAccessKey, string? awsSessionToken, @@ -180,11 +185,11 @@ public ApiStoragesS3PartialUpdateRequest( string? prefix, bool? presign, int? presignTtl, - int? project, bool? recursiveScan, string? regexFilter, string? regionName, string? s3Endpoint, + bool? synchronizable, string? title, bool? useBlobUrls) { @@ -202,14 +207,15 @@ public ApiStoragesS3PartialUpdateRequest( this.RegexFilter = regexFilter; this.RegionName = regionName; this.S3Endpoint = s3Endpoint; + this.Synchronizable = synchronizable; this.Title = title; this.UseBlobUrls = useBlobUrls; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiStoragesS3PartialUpdateRequest() + public S3ImportStorageWriteRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssigneesMutationRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssigneesMutationRequest.Json.g.cs new file mode 100644 index 00000000..51225ef6 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssigneesMutationRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class TaskAssigneesMutationRequest + { + /// + /// 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.TaskAssigneesMutationRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.TaskAssigneesMutationRequest), + jsonSerializerContext) as global::LabelStudio.TaskAssigneesMutationRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.TaskAssigneesMutationRequest? 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.TaskAssigneesMutationRequest? 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.TaskAssigneesMutationRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.TaskAssigneesMutationRequest; + } + + /// + /// 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.ApiProjectsTasksAssigneesCreateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssigneesMutationRequest.g.cs similarity index 60% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssigneesMutationRequest.g.cs index befb4418..7e17dae4 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiProjectsTasksAssigneesCreateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssigneesMutationRequest.g.cs @@ -6,18 +6,19 @@ namespace LabelStudio /// /// /// - public sealed partial class ApiProjectsTasksAssigneesCreateRequest + public sealed partial class TaskAssigneesMutationRequest { /// - /// Assignment type. Use AN for annotate or RE for review. + /// * `AN` - Annotate
+ /// * `RE` - Review ///
[global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.ApiProjectsTasksAssigneesCreateRequestTypeJsonConverter))] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType Type { get; set; } + public required global::LabelStudio.AssignmentTypeEnum Type { get; set; } /// - /// List of user IDs to assign + /// /// [global::System.Text.Json.Serialization.JsonPropertyName("users")] [global::System.Text.Json.Serialization.JsonRequired] @@ -30,19 +31,18 @@ public sealed partial class ApiProjectsTasksAssigneesCreateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiProjectsTasksAssigneesCreateRequest( - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType type, + public TaskAssigneesMutationRequest( + global::LabelStudio.AssignmentTypeEnum type, global::System.Collections.Generic.IList users) { this.Type = type; @@ -50,9 +50,9 @@ public ApiProjectsTasksAssigneesCreateRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiProjectsTasksAssigneesCreateRequest() + public TaskAssigneesMutationRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssignment.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssignment.g.cs index c5467529..8e4e6a9c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssignment.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.TaskAssignment.g.cs @@ -55,8 +55,8 @@ public sealed partial class TaskAssignment /// * `RE` - Review ///
[global::System.Text.Json.Serialization.JsonPropertyName("type")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.TypeEnumJsonConverter))] - public global::LabelStudio.TypeEnum? Type { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::LabelStudio.JsonConverters.AssignmentTypeEnumJsonConverter))] + public global::LabelStudio.AssignmentTypeEnum? Type { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -94,7 +94,7 @@ public sealed partial class TaskAssignment public TaskAssignment( int assignee, int task, - global::LabelStudio.TypeEnum? type, + global::LabelStudio.AssignmentTypeEnum? type, global::System.DateTime createdAt = default!, int id = default!, string state = default!) diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewDataRequestRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewDataRequestRequest.Json.g.cs new file mode 100644 index 00000000..20e451b2 --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewDataRequestRequest.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace LabelStudio +{ + public sealed partial class ViewDataRequestRequest + { + /// + /// 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.ViewDataRequestRequest? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::LabelStudio.ViewDataRequestRequest), + jsonSerializerContext) as global::LabelStudio.ViewDataRequestRequest; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::LabelStudio.ViewDataRequestRequest? 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.ViewDataRequestRequest? 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.ViewDataRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ViewDataRequestRequest; + } + + /// + /// 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.ViewDataRequestRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewDataRequestRequest.g.cs new file mode 100644 index 00000000..149ad61d --- /dev/null +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewDataRequestRequest.g.cs @@ -0,0 +1,53 @@ + +#nullable enable + +namespace LabelStudio +{ + /// + /// Established public view payload nested under ``data``. + /// + public sealed partial class ViewDataRequestRequest + { + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("filters")] + public global::LabelStudio.PrepareParamsFiltersRequest? Filters { get; set; } + + /// + /// + /// + [global::System.Text.Json.Serialization.JsonPropertyName("ordering")] + public global::System.Collections.Generic.IList? Ordering { 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 ViewDataRequestRequest( + global::LabelStudio.PrepareParamsFiltersRequest? filters, + global::System.Collections.Generic.IList? ordering) + { + this.Filters = filters; + this.Ordering = ordering; + } + + /// + /// Initializes a new instance of the class. + /// + public ViewDataRequestRequest() + { + } + + } +} \ No newline at end of file diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.SelectedItemsRequest.Json.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewRequestRequest.Json.g.cs similarity index 87% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.SelectedItemsRequest.Json.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ViewRequestRequest.Json.g.cs index 6917945e..a87114f1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.SelectedItemsRequest.Json.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewRequestRequest.Json.g.cs @@ -2,7 +2,7 @@ namespace LabelStudio { - public sealed partial class SelectedItemsRequest + public sealed partial class ViewRequestRequest { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -47,20 +47,20 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::LabelStudio.SelectedItemsRequest? FromJson( + public static global::LabelStudio.ViewRequestRequest? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::LabelStudio.SelectedItemsRequest), - jsonSerializerContext) as global::LabelStudio.SelectedItemsRequest; + typeof(global::LabelStudio.ViewRequestRequest), + jsonSerializerContext) as global::LabelStudio.ViewRequestRequest; } /// /// Deserializes a JSON string using the generated default JsonSerializerContext. /// - public static global::LabelStudio.SelectedItemsRequest? FromJson( + public static global::LabelStudio.ViewRequestRequest? FromJson( string json) { return FromJson( @@ -75,7 +75,7 @@ public string ToJson( [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.SelectedItemsRequest? FromJson( + public static global::LabelStudio.ViewRequestRequest? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -86,7 +86,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.Deserialize( + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -94,20 +94,20 @@ public string ToJson( /// /// Deserializes a JSON stream using the provided JsonSerializerContext. /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + 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.SelectedItemsRequest), - jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.SelectedItemsRequest; + typeof(global::LabelStudio.ViewRequestRequest), + jsonSerializerContext).ConfigureAwait(false)) as global::LabelStudio.ViewRequestRequest; } /// /// Deserializes a JSON stream using the generated default JsonSerializerContext. /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream) { return FromJsonStreamAsync( @@ -122,7 +122,7 @@ public string ToJson( [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( + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { @@ -133,7 +133,7 @@ public string ToJson( global::LabelStudio.SourceGenerationContext.Default); } - return global::System.Text.Json.JsonSerializer.DeserializeAsync( + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewRequestRequest.g.cs similarity index 65% rename from src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequest.g.cs rename to src/libs/LabelStudio/Generated/LabelStudio.Models.ViewRequestRequest.g.cs index 71d6920c..498e2d7c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.ApiDmViewsPartialUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.ViewRequestRequest.g.cs @@ -4,15 +4,15 @@ namespace LabelStudio { /// - /// + /// Public view write contract; runtime conversion remains in ``ViewSerializer``. /// - public sealed partial class ApiDmViewsPartialUpdateRequest + public sealed partial class ViewRequestRequest { /// - /// Custom view data + /// Established public view payload nested under ``data``. /// [global::System.Text.Json.Serialization.JsonPropertyName("data")] - public global::LabelStudio.ApiDmViewsPartialUpdateRequestData? Data { get; set; } + public global::LabelStudio.ViewDataRequestRequest? Data { get; set; } /// /// Project ID @@ -27,10 +27,10 @@ public sealed partial class ApiDmViewsPartialUpdateRequest public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -38,8 +38,8 @@ public sealed partial class ApiDmViewsPartialUpdateRequest #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif - public ApiDmViewsPartialUpdateRequest( - global::LabelStudio.ApiDmViewsPartialUpdateRequestData? data, + public ViewRequestRequest( + global::LabelStudio.ViewDataRequestRequest? data, int? project) { this.Data = data; @@ -47,9 +47,9 @@ public ApiDmViewsPartialUpdateRequest( } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public ApiDmViewsPartialUpdateRequest() + public ViewRequestRequest() { } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Create.g.cs index 4ffbe5cc..486bfd17 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Create.g.cs @@ -27,11 +27,11 @@ public partial class Predictions2Client }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiPredictionsCreateRequest request); + global::LabelStudio.PredictionRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiPredictionsCreateRequest request); + global::LabelStudio.PredictionRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiPredictionsCreateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiPredictionsCreateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -437,35 +437,58 @@ partial void ProcessCreateResponseContent( /// Create prediction
/// Create a prediction for a specific task. ///
+ /// + /// Cluster for the current prediction + /// + /// + /// Related task mislabeling score + /// + /// + /// An ML Backend instance that created the prediction. + /// + /// + /// A run of a ModelVersion that created the prediction. + /// /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + /// + /// Array of task IDs of the closest neighbors /// + /// /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of prediction results for the task /// /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created + /// Prediction score /// + /// /// 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 CreateAsync( + global::System.Collections.Generic.IList result, + int task, + int? cluster = default, + double? mislabeling = default, + int? model = default, + int? modelRun = default, string? modelVersion = default, - global::System.Collections.Generic.IList? result = default, + object? neighbors = default, + int? project = default, double? score = default, - int? task = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiPredictionsCreateRequest + var __request = new global::LabelStudio.PredictionRequest { + Cluster = cluster, + Mislabeling = mislabeling, + Model = model, + ModelRun = modelRun, ModelVersion = modelVersion, + Neighbors = neighbors, + Project = project, Result = result, Score = score, Task = task, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Update.g.cs index 05e87e28..131dadda 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Predictions2Client.Update.g.cs @@ -28,12 +28,12 @@ public partial class Predictions2Client partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiPredictionsPartialUpdateRequest request); + global::LabelStudio.PatchedPredictionRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiPredictionsPartialUpdateRequest request); + global::LabelStudio.PatchedPredictionRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiPredictionsPartialUpdateRequest request, + global::LabelStudio.PatchedPredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiPredictionsPartialUpdateRequest request, + global::LabelStudio.PatchedPredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -447,36 +447,59 @@ partial void ProcessUpdateResponseContent( /// Update prediction data by prediction ID. /// /// + /// + /// Cluster for the current prediction + /// + /// + /// Related task mislabeling score + /// + /// + /// An ML Backend instance that created the prediction. + /// + /// + /// A run of a ModelVersion that created the prediction. + /// /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + /// + /// Array of task IDs of the closest neighbors /// + /// /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of prediction results for the task /// /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created + /// Prediction score /// + /// /// 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 UpdateAsync( int id, + int? cluster = default, + double? mislabeling = default, + int? model = default, + int? modelRun = default, string? modelVersion = default, + object? neighbors = default, + int? project = default, global::System.Collections.Generic.IList? result = default, double? score = default, int? task = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiPredictionsPartialUpdateRequest + var __request = new global::LabelStudio.PatchedPredictionRequest { + Cluster = cluster, + Mislabeling = mislabeling, + Model = model, + ModelRun = modelRun, ModelVersion = modelVersion, + Neighbors = neighbors, + Project = project, Result = result, Score = score, Task = task, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.ApiPredictionsUpdate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.ApiPredictionsUpdate.g.cs index 38c74a59..859e2580 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.ApiPredictionsUpdate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.PredictionsClient.ApiPredictionsUpdate.g.cs @@ -28,12 +28,12 @@ public partial class PredictionsClient partial void PrepareApiPredictionsUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiPredictionsUpdateRequest request); + global::LabelStudio.PredictionRequest request); partial void PrepareApiPredictionsUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiPredictionsUpdateRequest request); + global::LabelStudio.PredictionRequest request); partial void ProcessApiPredictionsUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessApiPredictionsUpdateResponseContent( public async global::System.Threading.Tasks.Task ApiPredictionsUpdateAsync( int id, - global::LabelStudio.ApiPredictionsUpdateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessApiPredictionsUpdateResponseContent( public async global::System.Threading.Tasks.Task> ApiPredictionsUpdateAsResponseAsync( int id, - global::LabelStudio.ApiPredictionsUpdateRequest request, + global::LabelStudio.PredictionRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -447,36 +447,59 @@ partial void ProcessApiPredictionsUpdateResponseContent( /// Overwrite prediction data by prediction ID. /// /// + /// + /// Cluster for the current prediction + /// + /// + /// Related task mislabeling score + /// + /// + /// An ML Backend instance that created the prediction. + /// + /// + /// A run of a ModelVersion that created the prediction. + /// /// - /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface
- /// Example: yolo-v8 + /// Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + /// + /// + /// Array of task IDs of the closest neighbors /// + /// /// - /// Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions)
- /// Example: [{"from_name":"bboxes","image_rotation":0,"original_height":1080,"original_width":1920,"to_name":"image","type":"rectanglelabels","value":{"height":60,"rotation":0,"values":{"rectanglelabels":["Person"]},"width":50,"x":20,"y":30}}] + /// List of prediction results for the task /// /// - /// Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first.
- /// Example: 0.95 - /// - /// - /// Task ID for which the prediction is created + /// Prediction score /// + /// /// 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 ApiPredictionsUpdateAsync( int id, + global::System.Collections.Generic.IList result, + int task, + int? cluster = default, + double? mislabeling = default, + int? model = default, + int? modelRun = default, string? modelVersion = default, - global::System.Collections.Generic.IList? result = default, + object? neighbors = default, + int? project = default, double? score = default, - int? task = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiPredictionsUpdateRequest + var __request = new global::LabelStudio.PredictionRequest { + Cluster = cluster, + Mislabeling = mislabeling, + Model = model, + ModelRun = modelRun, ModelVersion = modelVersion, + Neighbors = neighbors, + Project = project, Result = result, Score = score, Task = task, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.CreateProjectFromTemplate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.CreateProjectFromTemplate.g.cs index 01365c09..eaa7558c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.CreateProjectFromTemplate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ProjectTemplatesClient.CreateProjectFromTemplate.g.cs @@ -28,12 +28,12 @@ public partial class ProjectTemplatesClient partial void PrepareCreateProjectFromTemplateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest request); + global::LabelStudio.CreateProjectFromTemplateRequestRequest request); partial void PrepareCreateProjectFromTemplateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest request); + global::LabelStudio.CreateProjectFromTemplateRequestRequest request); partial void ProcessCreateProjectFromTemplateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -61,7 +61,7 @@ partial void ProcessCreateProjectFromTemplateResponseContent( public async global::System.Threading.Tasks.Task CreateProjectFromTemplateAsync( int id, - global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest request, + global::LabelStudio.CreateProjectFromTemplateRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,7 +93,7 @@ partial void ProcessCreateProjectFromTemplateResponseContent( public async global::System.Threading.Tasks.Task> CreateProjectFromTemplateAsResponseAsync( int id, - global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest request, + global::LabelStudio.CreateProjectFromTemplateRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -480,12 +480,12 @@ partial void ProcessCreateProjectFromTemplateResponseContent( public async global::System.Threading.Tasks.Task CreateProjectFromTemplateAsync( int id, string title, - int workspaceId, string? description = default, + int? workspaceId = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiProjectTemplatesCreateProjectCreateRequest + var __request = new global::LabelStudio.CreateProjectFromTemplateRequestRequest { Description = description, Title = title, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.Create3.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.Create3.g.cs index 8963f146..81f8c858 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.Create3.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.PromptsClient.Create3.g.cs @@ -29,13 +29,13 @@ partial void PrepareCreate3Arguments( global::System.Net.Http.HttpClient httpClient, ref int promptId, ref int versionId, - global::LabelStudio.ModelRunRequest request); + global::LabelStudio.ModelRunRequestRequest request); partial void PrepareCreate3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int promptId, int versionId, - global::LabelStudio.ModelRunRequest request); + global::LabelStudio.ModelRunRequestRequest request); partial void ProcessCreate3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -65,7 +65,7 @@ partial void ProcessCreate3ResponseContent( int promptId, int versionId, - global::LabelStudio.ModelRunRequest request, + global::LabelStudio.ModelRunRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -100,7 +100,7 @@ partial void ProcessCreate3ResponseContent( int promptId, int versionId, - global::LabelStudio.ModelRunRequest request, + global::LabelStudio.ModelRunRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -521,7 +521,7 @@ partial void ProcessCreate3ResponseContent( global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ModelRunRequest + var __request = new global::LabelStudio.ModelRunRequestRequest { FiltersJson = filtersJson, JobId = jobId, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create.g.cs index 5ffb86f3..bdc60723 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create.g.cs @@ -27,11 +27,11 @@ public partial class StorageAzureClient }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesAzureCreateRequest request); + global::LabelStudio.AzureBlobImportStorageWriteRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesAzureCreateRequest request); + global::LabelStudio.AzureBlobImportStorageWriteRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesAzureCreateRequest request, + global::LabelStudio.AzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesAzureCreateRequest request, + global::LabelStudio.AzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -447,36 +447,40 @@ partial void ProcessCreateResponseContent( /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, string? accountKey = default, string? accountName = default, string? container = default, @@ -484,14 +488,15 @@ partial void ProcessCreateResponseContent( string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesAzureCreateRequest + var __request = new global::LabelStudio.AzureBlobImportStorageWriteRequest { AccountKey = accountKey, AccountName = accountName, @@ -501,7 +506,9 @@ partial void ProcessCreateResponseContent( Presign = presign, PresignTtl = presignTtl, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create2.g.cs index 4471d42d..2387c0e2 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Create2.g.cs @@ -27,11 +27,11 @@ public partial class StorageAzureClient }; partial void PrepareCreate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportAzureCreateRequest request); + global::LabelStudio.AzureBlobExportStorageWriteRequest request); partial void PrepareCreate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportAzureCreateRequest request); + global::LabelStudio.AzureBlobExportStorageWriteRequest request); partial void ProcessCreate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesExportAzureCreateRequest request, + global::LabelStudio.AzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesExportAzureCreateRequest request, + global::LabelStudio.AzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -444,40 +444,51 @@ partial void ProcessCreate2ResponseContent( /// Azure Blob account name /// /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled /// /// /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? accountKey = default, string? accountName = default, bool? canDeleteObjects = default, string? container = default, string? description = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportAzureCreateRequest + var __request = new global::LabelStudio.AzureBlobExportStorageWriteRequest { AccountKey = accountKey, AccountName = accountName, @@ -486,7 +497,10 @@ partial void ProcessCreate2ResponseContent( Description = description, Prefix = prefix, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await Create2Async( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update.g.cs index e6a09288..b900c8bc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class StorageAzureClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesAzurePartialUpdateRequest request); + global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesAzurePartialUpdateRequest request); + global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -457,31 +457,34 @@ partial void ProcessUpdateResponseContent( /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -496,13 +499,15 @@ partial void ProcessUpdateResponseContent( bool? presign = default, int? presignTtl = default, int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesAzurePartialUpdateRequest + var __request = new global::LabelStudio.PatchedAzureBlobImportStorageWriteRequest { AccountKey = accountKey, AccountName = accountName, @@ -512,7 +517,9 @@ partial void ProcessUpdateResponseContent( Presign = presign, PresignTtl = presignTtl, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update2.g.cs index f634a12b..77054df1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Update2.g.cs @@ -28,12 +28,12 @@ public partial class StorageAzureClient partial void PrepareUpdate2Arguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest request); + global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest request); partial void PrepareUpdate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest request); + global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest request); partial void ProcessUpdate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest request, + global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -454,23 +454,31 @@ partial void ProcessUpdate2ResponseContent( /// Azure Blob account name /// /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled /// /// /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Azure blob prefix name /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -484,11 +492,14 @@ partial void ProcessUpdate2ResponseContent( string? description = default, string? prefix = default, int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportAzurePartialUpdateRequest + var __request = new global::LabelStudio.PatchedAzureBlobExportStorageWriteRequest { AccountKey = accountKey, AccountName = accountName, @@ -497,7 +508,10 @@ partial void ProcessUpdate2ResponseContent( Description = description, Prefix = prefix, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await Update2Async( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate.g.cs index cab05d66..853e9f94 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate.g.cs @@ -27,11 +27,11 @@ public partial class StorageAzureClient }; partial void PrepareValidateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesAzureValidateCreateRequest request); + global::LabelStudio.AzureBlobImportStorageValidateRequest request); partial void PrepareValidateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesAzureValidateCreateRequest request); + global::LabelStudio.AzureBlobImportStorageValidateRequest request); partial void ProcessValidateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidateResponse( /// public async global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await ValidateAsResponseAsync( /// public async global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -424,7 +424,7 @@ await ValidateAsResponseAsync( /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -433,30 +433,34 @@ await ValidateAsResponseAsync( /// Azure blob prefix name /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the container content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, string? accountKey = default, string? accountName = default, string? container = default, @@ -465,14 +469,15 @@ await ValidateAsResponseAsync( string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesAzureValidateCreateRequest + var __request = new global::LabelStudio.AzureBlobImportStorageValidateRequest { AccountKey = accountKey, AccountName = accountName, @@ -483,7 +488,9 @@ await ValidateAsResponseAsync( Presign = presign, PresignTtl = presignTtl, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate2.g.cs index 60ec7dfb..5db26e7b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageAzureClient.Validate2.g.cs @@ -27,11 +27,11 @@ public partial class StorageAzureClient }; partial void PrepareValidate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest request); + global::LabelStudio.AzureBlobExportStorageValidateRequest request); partial void PrepareValidate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest request); + global::LabelStudio.AzureBlobExportStorageValidateRequest request); partial void ProcessValidate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidate2Response( /// public async global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await Validate2AsResponseAsync( /// public async global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest request, + global::LabelStudio.AzureBlobExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -421,14 +421,13 @@ await Validate2AsResponseAsync( /// Azure Blob account name /// /// - /// Deletion from storage enabled
- /// Default Value: false + /// Deletion from storage enabled /// /// /// Azure blob container /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -437,15 +436,25 @@ await Validate2AsResponseAsync( /// Azure blob prefix name /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? accountKey = default, string? accountName = default, bool? canDeleteObjects = default, @@ -453,12 +462,14 @@ await Validate2AsResponseAsync( string? description = default, int? id = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportAzureValidateCreateRequest + var __request = new global::LabelStudio.AzureBlobExportStorageValidateRequest { AccountKey = accountKey, AccountName = accountName, @@ -468,7 +479,10 @@ await Validate2AsResponseAsync( Id = id, Prefix = prefix, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; await Validate2Async( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create.g.cs index 0645d543..b24a8f44 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create.g.cs @@ -27,11 +27,11 @@ public partial class StorageDatabricksFilesClient }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.DatabricksImportStorageRequest request); + global::LabelStudio.DatabricksImportStorageWriteRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.DatabricksImportStorageRequest request); + global::LabelStudio.DatabricksImportStorageWriteRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -57,7 +57,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -86,7 +86,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -478,18 +478,6 @@ partial void ProcessCreateResponseContent( /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Path under the volume /// @@ -512,14 +500,6 @@ partial void ProcessCreateResponseContent( /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -534,9 +514,6 @@ partial void ProcessCreateResponseContent( /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -560,28 +537,22 @@ partial void ProcessCreateResponseContent( global::LabelStudio.AuthTypeEnum? authType = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, bool? presign = default, int? presignTtl = default, bool? recursiveScan = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.DatabricksImportStorageRequest + var __request = new global::LabelStudio.DatabricksImportStorageWriteRequest { AuthType = authType, Catalog = catalog, @@ -589,10 +560,6 @@ partial void ProcessCreateResponseContent( ClientSecret = clientSecret, Description = description, Host = host, - LastSync = lastSync, - LastSyncCount = lastSyncCount, - LastSyncJob = lastSyncJob, - Meta = meta, Prefix = prefix, Presign = presign, PresignTtl = presignTtl, @@ -601,13 +568,11 @@ partial void ProcessCreateResponseContent( RegexFilter = regexFilter, RequestTimeoutS = requestTimeoutS, Schema = schema, - Status = status, StreamChunkBytes = streamChunkBytes, Synchronizable = synchronizable, TenantId = tenantId, Title = title, Token = token, - Traceback = traceback, UseBlobUrls = useBlobUrls, VerifyTls = verifyTls, Volume = volume, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create2.g.cs index 2dddf7d8..a661d169 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Create2.g.cs @@ -27,11 +27,11 @@ public partial class StorageDatabricksFilesClient }; partial void PrepareCreate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.DatabricksExportStorageRequest request); + global::LabelStudio.DatabricksExportStorageWriteRequest request); partial void PrepareCreate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.DatabricksExportStorageRequest request); + global::LabelStudio.DatabricksExportStorageWriteRequest request); partial void ProcessCreate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -57,7 +57,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -86,7 +86,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -481,18 +481,6 @@ partial void ProcessCreate2ResponseContent( /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Export path prefix under the volume /// @@ -506,14 +494,6 @@ partial void ProcessCreate2ResponseContent( /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -528,9 +508,6 @@ partial void ProcessCreate2ResponseContent( /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -555,25 +532,19 @@ partial void ProcessCreate2ResponseContent( bool? canDeleteObjects = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.DatabricksExportStorageRequest + var __request = new global::LabelStudio.DatabricksExportStorageWriteRequest { AuthType = authType, CanDeleteObjects = canDeleteObjects, @@ -582,22 +553,16 @@ partial void ProcessCreate2ResponseContent( ClientSecret = clientSecret, Description = description, Host = host, - LastSync = lastSync, - LastSyncCount = lastSyncCount, - LastSyncJob = lastSyncJob, - Meta = meta, Prefix = prefix, Project = project, RegexFilter = regexFilter, RequestTimeoutS = requestTimeoutS, Schema = schema, - Status = status, StreamChunkBytes = streamChunkBytes, Synchronizable = synchronizable, TenantId = tenantId, Title = title, Token = token, - Traceback = traceback, UseBlobUrls = useBlobUrls, VerifyTls = verifyTls, Volume = volume, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update.g.cs index 804af72e..88fc1c86 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class StorageDatabricksFilesClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.PatchedDatabricksImportStorageRequest request); + global::LabelStudio.PatchedDatabricksImportStorageWriteRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.PatchedDatabricksImportStorageRequest request); + global::LabelStudio.PatchedDatabricksImportStorageWriteRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -61,7 +61,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.PatchedDatabricksImportStorageRequest request, + global::LabelStudio.PatchedDatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,7 +93,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.PatchedDatabricksImportStorageRequest request, + global::LabelStudio.PatchedDatabricksImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -488,18 +488,6 @@ partial void ProcessUpdateResponseContent( /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Path under the volume /// @@ -522,14 +510,6 @@ partial void ProcessUpdateResponseContent( /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -544,9 +524,6 @@ partial void ProcessUpdateResponseContent( /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -568,10 +545,6 @@ partial void ProcessUpdateResponseContent( string? clientId = default, string? description = default, string? host = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, bool? presign = default, int? presignTtl = default, @@ -580,19 +553,17 @@ partial void ProcessUpdateResponseContent( string? regexFilter = default, int? requestTimeoutS = default, string? schema = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, string? volume = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.PatchedDatabricksImportStorageRequest + var __request = new global::LabelStudio.PatchedDatabricksImportStorageWriteRequest { AuthType = authType, Catalog = catalog, @@ -600,10 +571,6 @@ partial void ProcessUpdateResponseContent( ClientSecret = clientSecret, Description = description, Host = host, - LastSync = lastSync, - LastSyncCount = lastSyncCount, - LastSyncJob = lastSyncJob, - Meta = meta, Prefix = prefix, Presign = presign, PresignTtl = presignTtl, @@ -612,13 +579,11 @@ partial void ProcessUpdateResponseContent( RegexFilter = regexFilter, RequestTimeoutS = requestTimeoutS, Schema = schema, - Status = status, StreamChunkBytes = streamChunkBytes, Synchronizable = synchronizable, TenantId = tenantId, Title = title, Token = token, - Traceback = traceback, UseBlobUrls = useBlobUrls, VerifyTls = verifyTls, Volume = volume, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update2.g.cs index 8a891818..c2b11157 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Update2.g.cs @@ -28,12 +28,12 @@ public partial class StorageDatabricksFilesClient partial void PrepareUpdate2Arguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.PatchedDatabricksExportStorageRequest request); + global::LabelStudio.PatchedDatabricksExportStorageWriteRequest request); partial void PrepareUpdate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.PatchedDatabricksExportStorageRequest request); + global::LabelStudio.PatchedDatabricksExportStorageWriteRequest request); partial void ProcessUpdate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -61,7 +61,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.PatchedDatabricksExportStorageRequest request, + global::LabelStudio.PatchedDatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,7 +93,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.PatchedDatabricksExportStorageRequest request, + global::LabelStudio.PatchedDatabricksExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -491,18 +491,6 @@ partial void ProcessUpdate2ResponseContent( /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes - /// /// /// Export path prefix under the volume /// @@ -516,14 +504,6 @@ partial void ProcessUpdate2ResponseContent( /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -538,9 +518,6 @@ partial void ProcessUpdate2ResponseContent( /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -563,28 +540,22 @@ partial void ProcessUpdate2ResponseContent( string? clientId = default, string? description = default, string? host = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, string? prefix = default, int? project = default, string? regexFilter = default, int? requestTimeoutS = default, string? schema = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, string? volume = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.PatchedDatabricksExportStorageRequest + var __request = new global::LabelStudio.PatchedDatabricksExportStorageWriteRequest { AuthType = authType, CanDeleteObjects = canDeleteObjects, @@ -593,22 +564,16 @@ partial void ProcessUpdate2ResponseContent( ClientSecret = clientSecret, Description = description, Host = host, - LastSync = lastSync, - LastSyncCount = lastSyncCount, - LastSyncJob = lastSyncJob, - Meta = meta, Prefix = prefix, Project = project, RegexFilter = regexFilter, RequestTimeoutS = requestTimeoutS, Schema = schema, - Status = status, StreamChunkBytes = streamChunkBytes, Synchronizable = synchronizable, TenantId = tenantId, Title = title, Token = token, - Traceback = traceback, UseBlobUrls = useBlobUrls, VerifyTls = verifyTls, Volume = volume, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate.g.cs index 7aae2935..cbbdc172 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate.g.cs @@ -27,11 +27,11 @@ public partial class StorageDatabricksFilesClient }; partial void PrepareValidateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.DatabricksImportStorageRequest request); + global::LabelStudio.DatabricksImportStorageValidateRequest request); partial void PrepareValidateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.DatabricksImportStorageRequest request); + global::LabelStudio.DatabricksImportStorageValidateRequest request); partial void ProcessValidateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessValidateResponse( /// public async global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -79,7 +79,7 @@ await ValidateAsResponseAsync( /// public async global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.DatabricksImportStorageRequest request, + global::LabelStudio.DatabricksImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -455,17 +455,8 @@ await ValidateAsResponseAsync( /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes + /// + /// Storage ID. If set, storage with specified ID will be updated /// /// /// Path under the volume @@ -489,14 +480,6 @@ await ValidateAsResponseAsync( /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -511,9 +494,6 @@ await ValidateAsResponseAsync( /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -537,28 +517,23 @@ await ValidateAsResponseAsync( global::LabelStudio.AuthTypeEnum? authType = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, + int? id = default, string? prefix = default, bool? presign = default, int? presignTtl = default, bool? recursiveScan = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.DatabricksImportStorageRequest + var __request = new global::LabelStudio.DatabricksImportStorageValidateRequest { AuthType = authType, Catalog = catalog, @@ -566,10 +541,7 @@ await ValidateAsResponseAsync( ClientSecret = clientSecret, Description = description, Host = host, - LastSync = lastSync, - LastSyncCount = lastSyncCount, - LastSyncJob = lastSyncJob, - Meta = meta, + Id = id, Prefix = prefix, Presign = presign, PresignTtl = presignTtl, @@ -578,13 +550,11 @@ await ValidateAsResponseAsync( RegexFilter = regexFilter, RequestTimeoutS = requestTimeoutS, Schema = schema, - Status = status, StreamChunkBytes = streamChunkBytes, Synchronizable = synchronizable, TenantId = tenantId, Title = title, Token = token, - Traceback = traceback, UseBlobUrls = useBlobUrls, VerifyTls = verifyTls, Volume = volume, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate2.g.cs index 92a1aa44..bd2caff8 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageDatabricksFilesClient.Validate2.g.cs @@ -27,11 +27,11 @@ public partial class StorageDatabricksFilesClient }; partial void PrepareValidate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.DatabricksExportStorageRequest request); + global::LabelStudio.DatabricksExportStorageValidateRequest request); partial void PrepareValidate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.DatabricksExportStorageRequest request); + global::LabelStudio.DatabricksExportStorageValidateRequest request); partial void ProcessValidate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -52,7 +52,7 @@ partial void ProcessValidate2Response( /// public async global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -79,7 +79,7 @@ await Validate2AsResponseAsync( /// public async global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.DatabricksExportStorageRequest request, + global::LabelStudio.DatabricksExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -458,17 +458,8 @@ await Validate2AsResponseAsync( /// /// Databricks workspace base URL (https://...) /// - /// - /// Last sync finished time - /// - /// - /// Count of tasks synced last time - /// - /// - /// Last sync job ID - /// - /// - /// Meta and debug information about storage processes + /// + /// Storage ID. If set, storage with specified ID will be updated /// /// /// Export path prefix under the volume @@ -483,14 +474,6 @@ await Validate2AsResponseAsync( /// /// UC schema name /// - /// - /// * `initialized` - Initialized
- /// * `queued` - Queued
- /// * `in_progress` - In progress
- /// * `failed` - Failed
- /// * `completed` - Completed
- /// * `completed_with_errors` - Completed with errors - /// /// /// /// Default Value: true @@ -505,9 +488,6 @@ await Validate2AsResponseAsync( /// Databricks personal access token (required for PAT mode)
/// Included only in requests /// - /// - /// Traceback report for the last failed sync - /// /// /// Generate blob URLs in tasks /// @@ -532,25 +512,20 @@ await Validate2AsResponseAsync( bool? canDeleteObjects = default, string? clientId = default, string? description = default, - global::System.DateTime? lastSync = default, - int? lastSyncCount = default, - string? lastSyncJob = default, - object? meta = default, + int? id = default, string? prefix = default, string? regexFilter = default, int? requestTimeoutS = default, - global::LabelStudio.StorageStatusEnum? status = default, long? streamChunkBytes = default, bool? synchronizable = default, string? tenantId = default, string? title = default, - string? traceback = default, bool? useBlobUrls = default, bool? verifyTls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.DatabricksExportStorageRequest + var __request = new global::LabelStudio.DatabricksExportStorageValidateRequest { AuthType = authType, CanDeleteObjects = canDeleteObjects, @@ -559,22 +534,17 @@ await Validate2AsResponseAsync( ClientSecret = clientSecret, Description = description, Host = host, - LastSync = lastSync, - LastSyncCount = lastSyncCount, - LastSyncJob = lastSyncJob, - Meta = meta, + Id = id, Prefix = prefix, Project = project, RegexFilter = regexFilter, RequestTimeoutS = requestTimeoutS, Schema = schema, - Status = status, StreamChunkBytes = streamChunkBytes, Synchronizable = synchronizable, TenantId = tenantId, Title = title, Token = token, - Traceback = traceback, UseBlobUrls = useBlobUrls, VerifyTls = verifyTls, Volume = volume, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create.g.cs index b5240cc6..577ef808 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create.g.cs @@ -27,11 +27,11 @@ public partial class StorageGcsClient }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportGcsCreateRequest request); + global::LabelStudio.GCSExportStorageWriteRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportGcsCreateRequest request); + global::LabelStudio.GCSExportStorageWriteRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportGcsCreateRequest request, + global::LabelStudio.GCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportGcsCreateRequest request, + global::LabelStudio.GCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -441,14 +441,13 @@ partial void ProcessCreateResponseContent( /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -457,27 +456,39 @@ partial void ProcessCreateResponseContent( /// GCS bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, string? bucket = default, bool? canDeleteObjects = default, string? description = default, string? googleApplicationCredentials = default, string? googleProjectId = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportGcsCreateRequest + var __request = new global::LabelStudio.GCSExportStorageWriteRequest { Bucket = bucket, CanDeleteObjects = canDeleteObjects, @@ -486,7 +497,10 @@ partial void ProcessCreateResponseContent( GoogleProjectId = googleProjectId, Prefix = prefix, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await CreateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create2.g.cs index 10020759..a89b27b5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Create2.g.cs @@ -27,11 +27,11 @@ public partial class StorageGcsClient }; partial void PrepareCreate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesGcsCreateRequest request); + global::LabelStudio.GCSImportStorageWriteRequest request); partial void PrepareCreate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesGcsCreateRequest request); + global::LabelStudio.GCSImportStorageWriteRequest request); partial void ProcessCreate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesGcsCreateRequest request, + global::LabelStudio.GCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesGcsCreateRequest request, + global::LabelStudio.GCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -441,10 +441,10 @@ partial void ProcessCreate2ResponseContent( /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -453,30 +453,34 @@ partial void ProcessCreate2ResponseContent( /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? bucket = default, string? description = default, string? googleApplicationCredentials = default, @@ -484,14 +488,15 @@ partial void ProcessCreate2ResponseContent( string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesGcsCreateRequest + var __request = new global::LabelStudio.GCSImportStorageWriteRequest { Bucket = bucket, Description = description, @@ -501,7 +506,9 @@ partial void ProcessCreate2ResponseContent( Presign = presign, PresignTtl = presignTtl, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update.g.cs index 67bf579d..120d1670 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class StorageGcsClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest request); + global::LabelStudio.PatchedGCSExportStorageWriteRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest request); + global::LabelStudio.PatchedGCSExportStorageWriteRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -451,14 +451,13 @@ partial void ProcessUpdateResponseContent( /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -467,10 +466,19 @@ partial void ProcessUpdateResponseContent( /// GCS bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -484,11 +492,14 @@ partial void ProcessUpdateResponseContent( string? googleProjectId = default, string? prefix = default, int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportGcsPartialUpdateRequest + var __request = new global::LabelStudio.PatchedGCSExportStorageWriteRequest { Bucket = bucket, CanDeleteObjects = canDeleteObjects, @@ -497,7 +508,10 @@ partial void ProcessUpdateResponseContent( GoogleProjectId = googleProjectId, Prefix = prefix, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await UpdateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update2.g.cs index cb93d626..59900116 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Update2.g.cs @@ -28,12 +28,12 @@ public partial class StorageGcsClient partial void PrepareUpdate2Arguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesGcsPartialUpdateRequest request); + global::LabelStudio.PatchedGCSImportStorageWriteRequest request); partial void PrepareUpdate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesGcsPartialUpdateRequest request); + global::LabelStudio.PatchedGCSImportStorageWriteRequest request); partial void ProcessUpdate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesGcsPartialUpdateRequest request, + global::LabelStudio.PatchedGCSImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -451,10 +451,10 @@ partial void ProcessUpdate2ResponseContent( /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -463,25 +463,28 @@ partial void ProcessUpdate2ResponseContent( /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -496,13 +499,15 @@ partial void ProcessUpdate2ResponseContent( bool? presign = default, int? presignTtl = default, int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesGcsPartialUpdateRequest + var __request = new global::LabelStudio.PatchedGCSImportStorageWriteRequest { Bucket = bucket, Description = description, @@ -512,7 +517,9 @@ partial void ProcessUpdate2ResponseContent( Presign = presign, PresignTtl = presignTtl, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate.g.cs index f1149fd0..ff2f8923 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate.g.cs @@ -27,11 +27,11 @@ public partial class StorageGcsClient }; partial void PrepareValidateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest request); + global::LabelStudio.GCSExportStorageValidateRequest request); partial void PrepareValidateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest request); + global::LabelStudio.GCSExportStorageValidateRequest request); partial void ProcessValidateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidateResponse( /// public async global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest request, + global::LabelStudio.GCSExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await ValidateAsResponseAsync( /// public async global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest request, + global::LabelStudio.GCSExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -418,14 +418,13 @@ await ValidateAsResponseAsync( /// GCS bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -437,15 +436,25 @@ await ValidateAsResponseAsync( /// GCS bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, string? bucket = default, bool? canDeleteObjects = default, string? description = default, @@ -453,12 +462,14 @@ await ValidateAsResponseAsync( string? googleProjectId = default, int? id = default, string? prefix = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportGcsValidateCreateRequest + var __request = new global::LabelStudio.GCSExportStorageValidateRequest { Bucket = bucket, CanDeleteObjects = canDeleteObjects, @@ -468,7 +479,10 @@ await ValidateAsResponseAsync( Id = id, Prefix = prefix, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; await ValidateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate2.g.cs index 83191666..a201827d 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageGcsClient.Validate2.g.cs @@ -27,11 +27,11 @@ public partial class StorageGcsClient }; partial void PrepareValidate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesGcsValidateCreateRequest request); + global::LabelStudio.GCSImportStorageValidateRequest request); partial void PrepareValidate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesGcsValidateCreateRequest request); + global::LabelStudio.GCSImportStorageValidateRequest request); partial void ProcessValidate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidate2Response( /// public async global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesGcsValidateCreateRequest request, + global::LabelStudio.GCSImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await Validate2AsResponseAsync( /// public async global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesGcsValidateCreateRequest request, + global::LabelStudio.GCSImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -418,10 +418,10 @@ await Validate2AsResponseAsync( /// GCS bucket name /// /// - /// Storage description + /// Cloud storage description /// /// - /// The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. + /// The content of GOOGLE_APPLICATION_CREDENTIALS json file /// /// /// Google project ID @@ -433,30 +433,34 @@ await Validate2AsResponseAsync( /// GCS bucket prefix /// /// - /// Presign URLs for direct download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? bucket = default, string? description = default, string? googleApplicationCredentials = default, @@ -465,14 +469,15 @@ await Validate2AsResponseAsync( string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesGcsValidateCreateRequest + var __request = new global::LabelStudio.GCSImportStorageValidateRequest { Bucket = bucket, Description = description, @@ -483,7 +488,9 @@ await Validate2AsResponseAsync( Presign = presign, PresignTtl = presignTtl, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create.g.cs index dab31665..3237ccde 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create.g.cs @@ -27,11 +27,11 @@ public partial class StorageLocalClient }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest request); + global::LabelStudio.LocalFilesExportStorageWriteRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest request); + global::LabelStudio.LocalFilesExportStorageWriteRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -437,44 +437,53 @@ partial void ProcessCreateResponseContent( /// Create export storage
/// Create a new local file export storage connection to store annotations. /// + /// + /// Deletion from storage enabled + /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, + bool? canDeleteObjects = default, string? description = default, string? path = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportLocalfilesCreateRequest + var __request = new global::LabelStudio.LocalFilesExportStorageWriteRequest { + CanDeleteObjects = canDeleteObjects, Description = description, Path = path, Project = project, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create2.g.cs index 6348cad2..c611d60c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Create2.g.cs @@ -27,11 +27,11 @@ public partial class StorageLocalClient }; partial void PrepareCreate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesLocalfilesCreateRequest request); + global::LabelStudio.LocalFilesImportStorageWriteRequest request); partial void PrepareCreate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesLocalfilesCreateRequest request); + global::LabelStudio.LocalFilesImportStorageWriteRequest request); partial void ProcessCreate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesLocalfilesCreateRequest request, + global::LabelStudio.LocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -438,43 +438,52 @@ partial void ProcessCreate2ResponseContent( /// Create a new local file import storage connection. /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? description = default, string? path = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesLocalfilesCreateRequest + var __request = new global::LabelStudio.LocalFilesImportStorageWriteRequest { Description = description, Path = path, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update.g.cs index 18d931fc..2ffdf60b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class StorageLocalClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest request); + global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest request); + global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -447,45 +447,54 @@ partial void ProcessUpdateResponseContent( /// Update a specific local file export storage connection. /// /// + /// + /// Deletion from storage enabled + /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 UpdateAsync( int id, + bool? canDeleteObjects = default, string? description = default, string? path = default, int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportLocalfilesPartialUpdateRequest + var __request = new global::LabelStudio.PatchedLocalFilesExportStorageWriteRequest { + CanDeleteObjects = canDeleteObjects, Description = description, Path = path, Project = project, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update2.g.cs index e49a8a3a..372333fc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Update2.g.cs @@ -28,12 +28,12 @@ public partial class StorageLocalClient partial void PrepareUpdate2Arguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest request); + global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest request); partial void PrepareUpdate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest request); + global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest request); partial void ProcessUpdate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest request, + global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -448,23 +448,28 @@ partial void ProcessUpdate2ResponseContent( /// /// /// - /// Storage description + /// Cloud storage description /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -474,18 +479,22 @@ partial void ProcessUpdate2ResponseContent( string? description = default, string? path = default, int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesLocalfilesPartialUpdateRequest + var __request = new global::LabelStudio.PatchedLocalFilesImportStorageWriteRequest { Description = description, Path = path, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate.g.cs index 8870c35a..61b09a2a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate.g.cs @@ -27,11 +27,11 @@ public partial class StorageLocalClient }; partial void PrepareValidateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest request); + global::LabelStudio.LocalFilesExportStorageValidateRequest request); partial void PrepareValidateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest request); + global::LabelStudio.LocalFilesExportStorageValidateRequest request); partial void ProcessValidateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidateResponse( /// public async global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await ValidateAsResponseAsync( /// public async global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -414,49 +414,58 @@ await ValidateAsResponseAsync( /// Validate export storage
/// Validate a specific local file export storage connection. /// + /// + /// Deletion from storage enabled + /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, + bool? canDeleteObjects = default, string? description = default, int? id = default, string? path = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportLocalfilesValidateCreateRequest + var __request = new global::LabelStudio.LocalFilesExportStorageValidateRequest { + CanDeleteObjects = canDeleteObjects, Description = description, Id = id, Path = path, Project = project, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate2.g.cs index 9f8d315b..ffde74a4 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageLocalClient.Validate2.g.cs @@ -27,11 +27,11 @@ public partial class StorageLocalClient }; partial void PrepareValidate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest request); + global::LabelStudio.LocalFilesImportStorageValidateRequest request); partial void PrepareValidate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest request); + global::LabelStudio.LocalFilesImportStorageValidateRequest request); partial void ProcessValidate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidate2Response( /// public async global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await Validate2AsResponseAsync( /// public async global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest request, + global::LabelStudio.LocalFilesImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -415,48 +415,57 @@ await Validate2AsResponseAsync( /// Validate a specific local file import storage connection. /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated /// /// - /// Path to local directory + /// Local path /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Perform recursive scan over the directory content /// /// /// Regex for filtering objects /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? description = default, int? id = default, string? path = default, - int? project = default, + bool? recursiveScan = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesLocalfilesValidateCreateRequest + var __request = new global::LabelStudio.LocalFilesImportStorageValidateRequest { Description = description, Id = id, Path = path, Project = project, + RecursiveScan = recursiveScan, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create.g.cs index 6d895cea..7e66393a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create.g.cs @@ -27,11 +27,11 @@ public partial class StorageRedisClient }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportRedisCreateRequest request); + global::LabelStudio.RedisExportStorageWriteRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportRedisCreateRequest request); + global::LabelStudio.RedisExportStorageWriteRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportRedisCreateRequest request, + global::LabelStudio.RedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportRedisCreateRequest request, + global::LabelStudio.RedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -438,14 +438,13 @@ partial void ProcessCreateResponseContent( /// Create a new Redis export storage connection to store annotations. /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Database ID of database to use + /// Server Database /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -460,15 +459,25 @@ partial void ProcessCreateResponseContent( /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, bool? canDeleteObjects = default, int? db = default, string? description = default, @@ -476,12 +485,14 @@ partial void ProcessCreateResponseContent( string? password = default, string? path = default, string? port = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportRedisCreateRequest + var __request = new global::LabelStudio.RedisExportStorageWriteRequest { CanDeleteObjects = canDeleteObjects, Db = db, @@ -491,7 +502,10 @@ partial void ProcessCreateResponseContent( Path = path, Port = port, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await CreateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create2.g.cs index 2133979b..3e02e45a 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Create2.g.cs @@ -27,11 +27,11 @@ public partial class StorageRedisClient }; partial void PrepareCreate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesRedisCreateRequest request); + global::LabelStudio.RedisImportStorageWriteRequest request); partial void PrepareCreate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesRedisCreateRequest request); + global::LabelStudio.RedisImportStorageWriteRequest request); partial void ProcessCreate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesRedisCreateRequest request, + global::LabelStudio.RedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesRedisCreateRequest request, + global::LabelStudio.RedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -437,8 +437,11 @@ partial void ProcessCreate2ResponseContent( /// Create import storage
/// Create a new Redis import storage connection. /// + /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -453,36 +456,41 @@ partial void ProcessCreate2ResponseContent( /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, + int? db = default, string? description = default, string? host = default, string? password = default, string? path = default, string? port = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesRedisCreateRequest + var __request = new global::LabelStudio.RedisImportStorageWriteRequest { + Db = db, Description = description, Host = host, Password = password, @@ -490,6 +498,7 @@ partial void ProcessCreate2ResponseContent( Port = port, Project = project, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update.g.cs index b4183b14..00ed0429 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class StorageRedisClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest request); + global::LabelStudio.PatchedRedisExportStorageWriteRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest request); + global::LabelStudio.PatchedRedisExportStorageWriteRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -448,14 +448,13 @@ partial void ProcessUpdateResponseContent( /// /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Database ID of database to use + /// Server Database /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -470,10 +469,19 @@ partial void ProcessUpdateResponseContent( /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -488,11 +496,14 @@ partial void ProcessUpdateResponseContent( string? path = default, string? port = default, int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportRedisPartialUpdateRequest + var __request = new global::LabelStudio.PatchedRedisExportStorageWriteRequest { CanDeleteObjects = canDeleteObjects, Db = db, @@ -502,7 +513,10 @@ partial void ProcessUpdateResponseContent( Path = path, Port = port, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await UpdateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update2.g.cs index fbf3e2cd..068f1159 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Update2.g.cs @@ -28,12 +28,12 @@ public partial class StorageRedisClient partial void PrepareUpdate2Arguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesRedisPartialUpdateRequest request); + global::LabelStudio.PatchedRedisImportStorageWriteRequest request); partial void PrepareUpdate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesRedisPartialUpdateRequest request); + global::LabelStudio.PatchedRedisImportStorageWriteRequest request); partial void ProcessUpdate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesRedisPartialUpdateRequest request, + global::LabelStudio.PatchedRedisImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -447,8 +447,11 @@ partial void ProcessUpdate2ResponseContent( /// Update a specific Redis import storage connection. /// /// + /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -463,23 +466,26 @@ partial void ProcessUpdate2ResponseContent( /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Update2Async( int id, + int? db = default, string? description = default, string? host = default, string? password = default, @@ -487,13 +493,15 @@ partial void ProcessUpdate2ResponseContent( string? port = default, int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesRedisPartialUpdateRequest + var __request = new global::LabelStudio.PatchedRedisImportStorageWriteRequest { + Db = db, Description = description, Host = host, Password = password, @@ -501,6 +509,7 @@ partial void ProcessUpdate2ResponseContent( Port = port, Project = project, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate.g.cs index b6c763d5..f85e778c 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate.g.cs @@ -27,11 +27,11 @@ public partial class StorageRedisClient }; partial void PrepareValidateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest request); + global::LabelStudio.RedisExportStorageValidateRequest request); partial void PrepareValidateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest request); + global::LabelStudio.RedisExportStorageValidateRequest request); partial void ProcessValidateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidateResponse( /// public async global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest request, + global::LabelStudio.RedisExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await ValidateAsResponseAsync( /// public async global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest request, + global::LabelStudio.RedisExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -415,14 +415,13 @@ await ValidateAsResponseAsync( /// Validate a specific Redis export storage connection. /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Database ID of database to use + /// Server Database /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -440,15 +439,25 @@ await ValidateAsResponseAsync( /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, bool? canDeleteObjects = default, int? db = default, string? description = default, @@ -457,12 +466,14 @@ await ValidateAsResponseAsync( string? password = default, string? path = default, string? port = default, - int? project = default, + string? regexFilter = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportRedisValidateCreateRequest + var __request = new global::LabelStudio.RedisExportStorageValidateRequest { CanDeleteObjects = canDeleteObjects, Db = db, @@ -473,7 +484,10 @@ await ValidateAsResponseAsync( Path = path, Port = port, Project = project, + RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; await ValidateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate2.g.cs index 5f5af280..f3582817 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageRedisClient.Validate2.g.cs @@ -27,11 +27,11 @@ public partial class StorageRedisClient }; partial void PrepareValidate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesRedisValidateCreateRequest request); + global::LabelStudio.RedisImportStorageValidateRequest request); partial void PrepareValidate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesRedisValidateCreateRequest request); + global::LabelStudio.RedisImportStorageValidateRequest request); partial void ProcessValidate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidate2Response( /// public async global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesRedisValidateCreateRequest request, + global::LabelStudio.RedisImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await Validate2AsResponseAsync( /// public async global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesRedisValidateCreateRequest request, + global::LabelStudio.RedisImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -414,8 +414,11 @@ await Validate2AsResponseAsync( /// Validate import storage
/// Validate a specific Redis import storage connection. /// + /// + /// Server Database + /// /// - /// Storage description + /// Cloud storage description /// /// /// Server Host IP (optional) @@ -433,37 +436,42 @@ await Validate2AsResponseAsync( /// Server Port (optional) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects + /// + /// + /// Default Value: true /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, + int? db = default, string? description = default, string? host = default, int? id = default, string? password = default, string? path = default, string? port = default, - int? project = default, string? regexFilter = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesRedisValidateCreateRequest + var __request = new global::LabelStudio.RedisImportStorageValidateRequest { + Db = db, Description = description, Host = host, Id = id, @@ -472,6 +480,7 @@ await Validate2AsResponseAsync( Port = port, Project = project, RegexFilter = regexFilter, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create.g.cs index d5327058..06091085 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create.g.cs @@ -27,11 +27,11 @@ public partial class StorageS3Client }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportS3CreateRequest request); + global::LabelStudio.S3ExportStorageWriteRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportS3CreateRequest request); + global::LabelStudio.S3ExportStorageWriteRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiStoragesExportS3CreateRequest request, + global::LabelStudio.S3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiStoragesExportS3CreateRequest request, + global::LabelStudio.S3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -453,17 +453,19 @@ partial void ProcessCreateResponseContent( /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -471,13 +473,20 @@ partial void ProcessCreateResponseContent( /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 CreateAsync( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -486,14 +495,16 @@ partial void ProcessCreateResponseContent( bool? canDeleteObjects = default, string? description = default, string? prefix = default, - int? project = default, + string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportS3CreateRequest + var __request = new global::LabelStudio.S3ExportStorageWriteRequest { AwsAccessKeyId = awsAccessKeyId, AwsSecretAccessKey = awsSecretAccessKey, @@ -504,9 +515,12 @@ partial void ProcessCreateResponseContent( Description = description, Prefix = prefix, Project = project, + RegexFilter = regexFilter, RegionName = regionName, S3Endpoint = s3Endpoint, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await CreateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create2.g.cs index b672e0fa..9519af01 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Create2.g.cs @@ -27,11 +27,11 @@ public partial class StorageS3Client }; partial void PrepareCreate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesS3CreateRequest request); + global::LabelStudio.S3ImportStorageWriteRequest request); partial void PrepareCreate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesS3CreateRequest request); + global::LabelStudio.S3ImportStorageWriteRequest request); partial void ProcessCreate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiStoragesS3CreateRequest request, + global::LabelStudio.S3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiStoragesS3CreateRequest request, + global::LabelStudio.S3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -453,27 +453,25 @@ partial void ProcessCreate2ResponseContent( /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -481,17 +479,20 @@ partial void ProcessCreate2ResponseContent( /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Create2Async( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -501,17 +502,17 @@ partial void ProcessCreate2ResponseContent( string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, bool? recursiveScan = default, string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesS3CreateRequest + var __request = new global::LabelStudio.S3ImportStorageWriteRequest { AwsAccessKeyId = awsAccessKeyId, AwsSecretAccessKey = awsSecretAccessKey, @@ -527,6 +528,7 @@ partial void ProcessCreate2ResponseContent( RegexFilter = regexFilter, RegionName = regionName, S3Endpoint = s3Endpoint, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update.g.cs index 5fe0705a..6ce3b7fc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update.g.cs @@ -28,12 +28,12 @@ public partial class StorageS3Client partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest request); + global::LabelStudio.PatchedS3ExportStorageWriteRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest request); + global::LabelStudio.PatchedS3ExportStorageWriteRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ExportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -463,17 +463,19 @@ partial void ProcessUpdateResponseContent( /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -481,8 +483,14 @@ partial void ProcessUpdateResponseContent( /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -498,13 +506,16 @@ partial void ProcessUpdateResponseContent( string? description = default, string? prefix = default, int? project = default, + string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportS3PartialUpdateRequest + var __request = new global::LabelStudio.PatchedS3ExportStorageWriteRequest { AwsAccessKeyId = awsAccessKeyId, AwsSecretAccessKey = awsSecretAccessKey, @@ -515,9 +526,12 @@ partial void ProcessUpdateResponseContent( Description = description, Prefix = prefix, Project = project, + RegexFilter = regexFilter, RegionName = regionName, S3Endpoint = s3Endpoint, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; return await UpdateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update2.g.cs index 6a727f7d..20fb01b1 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Update2.g.cs @@ -28,12 +28,12 @@ public partial class StorageS3Client partial void PrepareUpdate2Arguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiStoragesS3PartialUpdateRequest request); + global::LabelStudio.PatchedS3ImportStorageWriteRequest request); partial void PrepareUpdate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiStoragesS3PartialUpdateRequest request); + global::LabelStudio.PatchedS3ImportStorageWriteRequest request); partial void ProcessUpdate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task Update2Async( int id, - global::LabelStudio.ApiStoragesS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdate2ResponseContent( public async global::System.Threading.Tasks.Task> Update2AsResponseAsync( int id, - global::LabelStudio.ApiStoragesS3PartialUpdateRequest request, + global::LabelStudio.PatchedS3ImportStorageWriteRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -463,27 +463,25 @@ partial void ProcessUpdate2ResponseContent( /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -491,12 +489,14 @@ partial void ProcessUpdate2ResponseContent( /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with @@ -517,12 +517,13 @@ partial void ProcessUpdate2ResponseContent( string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesS3PartialUpdateRequest + var __request = new global::LabelStudio.PatchedS3ImportStorageWriteRequest { AwsAccessKeyId = awsAccessKeyId, AwsSecretAccessKey = awsSecretAccessKey, @@ -538,6 +539,7 @@ partial void ProcessUpdate2ResponseContent( RegexFilter = regexFilter, RegionName = regionName, S3Endpoint = s3Endpoint, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate.g.cs index 2b170774..626e7491 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate.g.cs @@ -27,11 +27,11 @@ public partial class StorageS3Client }; partial void PrepareValidateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest request); + global::LabelStudio.S3ExportStorageValidateRequest request); partial void PrepareValidateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest request); + global::LabelStudio.S3ExportStorageValidateRequest request); partial void ProcessValidateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidateResponse( /// public async global::System.Threading.Tasks.Task ValidateAsync( - global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest request, + global::LabelStudio.S3ExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await ValidateAsResponseAsync( /// public async global::System.Threading.Tasks.Task ValidateAsResponseAsync( - global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest request, + global::LabelStudio.S3ExportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -430,11 +430,10 @@ await ValidateAsResponseAsync( /// S3 bucket name /// /// - /// Deletion from storage enabled.
- /// Default Value: false + /// Deletion from storage enabled /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -443,7 +442,10 @@ await ValidateAsResponseAsync( /// S3 bucket prefix /// /// - /// Project ID + /// A unique integer value identifying this project. + /// + /// + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -451,13 +453,20 @@ await ValidateAsResponseAsync( /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title + /// + /// + /// Interpret objects as BLOBs and generate URLs /// /// 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 ValidateAsync( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -467,14 +476,16 @@ await ValidateAsResponseAsync( string? description = default, int? id = default, string? prefix = default, - int? project = default, + string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, + bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesExportS3ValidateCreateRequest + var __request = new global::LabelStudio.S3ExportStorageValidateRequest { AwsAccessKeyId = awsAccessKeyId, AwsSecretAccessKey = awsSecretAccessKey, @@ -486,9 +497,12 @@ await ValidateAsResponseAsync( Id = id, Prefix = prefix, Project = project, + RegexFilter = regexFilter, RegionName = regionName, S3Endpoint = s3Endpoint, + Synchronizable = synchronizable, Title = title, + UseBlobUrls = useBlobUrls, }; await ValidateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate2.g.cs index 46093eee..7dd56dba 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.StorageS3Client.Validate2.g.cs @@ -27,11 +27,11 @@ public partial class StorageS3Client }; partial void PrepareValidate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiStoragesS3ValidateCreateRequest request); + global::LabelStudio.S3ImportStorageValidateRequest request); partial void PrepareValidate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiStoragesS3ValidateCreateRequest request); + global::LabelStudio.S3ImportStorageValidateRequest request); partial void ProcessValidate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -46,7 +46,7 @@ partial void ProcessValidate2Response( /// public async global::System.Threading.Tasks.Task Validate2Async( - global::LabelStudio.ApiStoragesS3ValidateCreateRequest request, + global::LabelStudio.S3ImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ await Validate2AsResponseAsync( /// public async global::System.Threading.Tasks.Task Validate2AsResponseAsync( - global::LabelStudio.ApiStoragesS3ValidateCreateRequest request, + global::LabelStudio.S3ImportStorageValidateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -430,7 +430,7 @@ await Validate2AsResponseAsync( /// S3 bucket name /// /// - /// Storage description + /// Cloud storage description /// /// /// Storage ID. If set, storage with specified ID will be updated @@ -439,21 +439,19 @@ await Validate2AsResponseAsync( /// S3 bucket prefix /// /// - /// Presign URLs for download
/// Default Value: true /// /// - /// Presign TTL in minutes
- /// Default Value: 1 + /// Presigned URLs TTL (in minutes) /// /// - /// Project ID + /// A unique integer value identifying this project. /// /// - /// Scan recursively + /// Perform recursive scan over the bucket content /// /// - /// Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. + /// Cloud storage regex for filtering objects /// /// /// AWS Region @@ -461,17 +459,20 @@ await Validate2AsResponseAsync( /// /// S3 Endpoint /// + /// + /// Default Value: true + /// /// - /// Storage title + /// Cloud storage title /// /// - /// Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio.
- /// Default Value: false + /// Interpret objects as BLOBs and generate URLs /// /// 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 Validate2Async( + int project, string? awsAccessKeyId = default, string? awsSecretAccessKey = default, string? awsSessionToken = default, @@ -482,17 +483,17 @@ await Validate2AsResponseAsync( string? prefix = default, bool? presign = default, int? presignTtl = default, - int? project = default, bool? recursiveScan = default, string? regexFilter = default, string? regionName = default, string? s3Endpoint = default, + bool? synchronizable = default, string? title = default, bool? useBlobUrls = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiStoragesS3ValidateCreateRequest + var __request = new global::LabelStudio.S3ImportStorageValidateRequest { AwsAccessKeyId = awsAccessKeyId, AwsSecretAccessKey = awsSecretAccessKey, @@ -509,6 +510,7 @@ await Validate2AsResponseAsync( RegexFilter = regexFilter, RegionName = regionName, S3Endpoint = s3Endpoint, + Synchronizable = synchronizable, Title = title, UseBlobUrls = useBlobUrls, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Assign.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Assign.g.cs index 97bb1b30..64f9a5e5 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Assign.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Assign.g.cs @@ -29,13 +29,13 @@ partial void PrepareAssignArguments( global::System.Net.Http.HttpClient httpClient, ref int id, ref int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest request); + global::LabelStudio.TaskAssigneesMutationRequest request); partial void PrepareAssignRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest request); + global::LabelStudio.TaskAssigneesMutationRequest request); partial void ProcessAssignResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -65,7 +65,7 @@ partial void ProcessAssignResponseContent( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest request, + global::LabelStudio.TaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -100,7 +100,7 @@ partial void ProcessAssignResponseContent( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest request, + global::LabelStudio.TaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -476,23 +476,22 @@ partial void ProcessAssignResponseContent( /// /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// /// 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 AssignAsync( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesCreateRequestType type, + global::LabelStudio.AssignmentTypeEnum type, global::System.Collections.Generic.IList users, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiProjectsTasksAssigneesCreateRequest + var __request = new global::LabelStudio.TaskAssigneesMutationRequest { Type = type, Users = users, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.BulkAssign.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.BulkAssign.g.cs index 5165eff9..a08f063f 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.BulkAssign.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.BulkAssign.g.cs @@ -28,12 +28,12 @@ public partial class TasksClient partial void PrepareBulkAssignArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest request); + global::LabelStudio.BulkTaskAssigneesRequestRequest request); partial void PrepareBulkAssignRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest request); + global::LabelStudio.BulkTaskAssigneesRequestRequest request); partial void ProcessBulkAssignResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -61,7 +61,7 @@ partial void ProcessBulkAssignResponseContent( public async global::System.Threading.Tasks.Task BulkAssignAsync( int id, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest request, + global::LabelStudio.BulkTaskAssigneesRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -93,7 +93,7 @@ partial void ProcessBulkAssignResponseContent( public async global::System.Threading.Tasks.Task> BulkAssignAsResponseAsync( int id, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest request, + global::LabelStudio.BulkTaskAssigneesRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -497,31 +497,28 @@ partial void ProcessBulkAssignResponseContent( /// Assign multiple users to a collection of tasks within a specific project. /// /// - /// - /// Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}` - /// + /// /// /// Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}` /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// /// 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 BulkAssignAsync( int id, - global::LabelStudio.OneOf selectedItems, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestType type, + global::LabelStudio.OneOf selectedItems, + global::LabelStudio.AssignmentTypeEnum type, global::System.Collections.Generic.IList users, - global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequestFilters? filters = default, + global::LabelStudio.PrepareParamsFiltersRequest? filters = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiProjectsTasksAssigneesBulkCreateRequest + var __request = new global::LabelStudio.BulkTaskAssigneesRequestRequest { Filters = filters, SelectedItems = selectedItems, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Update.g.cs index 83230cea..979e2d04 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.TasksClient.Update.g.cs @@ -29,13 +29,13 @@ partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, ref int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest request); + global::LabelStudio.PatchedTaskAssigneesMutationRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest request); + global::LabelStudio.PatchedTaskAssigneesMutationRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -65,7 +65,7 @@ partial void ProcessUpdateResponseContent( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest request, + global::LabelStudio.PatchedTaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -100,7 +100,7 @@ partial void ProcessUpdateResponseContent( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest request, + global::LabelStudio.PatchedTaskAssigneesMutationRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -476,23 +476,22 @@ partial void ProcessUpdateResponseContent( /// /// /// - /// Assignment type. Use AN for annotate or RE for review. - /// - /// - /// List of user IDs to assign + /// * `AN` - Annotate
+ /// * `RE` - Review /// + /// /// 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 UpdateAsync( int id, int taskPk, - global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequestType type, - global::System.Collections.Generic.IList users, + global::LabelStudio.AssignmentTypeEnum? type = default, + global::System.Collections.Generic.IList? users = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiProjectsTasksAssigneesPartialUpdateRequest + var __request = new global::LabelStudio.PatchedTaskAssigneesMutationRequest { Type = type, Users = users, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Create.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Create.g.cs index 42807a35..a4a7aafc 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Create.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Create.g.cs @@ -27,11 +27,11 @@ public partial class UsersClient }; partial void PrepareCreateArguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiUsersCreateRequest request); + global::LabelStudio.LseUserRequest request); partial void PrepareCreateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiUsersCreateRequest request); + global::LabelStudio.LseUserRequest request); partial void ProcessCreateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task CreateAsync( - global::LabelStudio.ApiUsersCreateRequest request, + global::LabelStudio.LseUserRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreateResponseContent( /// public async global::System.Threading.Tasks.Task> CreateAsResponseAsync( - global::LabelStudio.ApiUsersCreateRequest request, + global::LabelStudio.LseUserRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -437,58 +437,49 @@ partial void ProcessCreateResponseContent( /// Create new user
/// Create a user in Label Studio. /// + /// /// - /// Whether the user allows newsletters + /// Allow sending newsletters to user /// - /// - /// Avatar URL of the user + /// + /// Custom keyboard shortcuts configuration for the user interface /// - /// - /// Email of the user - /// - /// - /// First name of the user - /// - /// - /// User ID - /// - /// - /// Initials of the user - /// - /// - /// Last name of the user - /// - /// - /// Phone number of the user - /// - /// - /// Username of the user + /// + /// + /// + /// + /// + /// Included only in requests /// + /// + /// /// 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 CreateAsync( + string password, + string username, + int? activeOrganization = default, bool? allowNewsletters = default, - string? avatar = default, + object? customHotkeys = default, + global::System.DateTime? dateJoined = default, string? email = default, string? firstName = default, - int? id = default, - string? initials = default, string? lastName = default, string? phone = default, - string? username = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiUsersCreateRequest + var __request = new global::LabelStudio.LseUserRequest { + ActiveOrganization = activeOrganization, AllowNewsletters = allowNewsletters, - Avatar = avatar, + CustomHotkeys = customHotkeys, + DateJoined = dateJoined, Email = email, FirstName = firstName, - Id = id, - Initials = initials, LastName = lastName, + Password = password, Phone = phone, Username = username, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs index 75ddb411..e0007e70 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class UsersClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref int id, - global::LabelStudio.ApiUsersPartialUpdateRequest request); + global::LabelStudio.PatchedLseUserSerializerUpdateRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, int id, - global::LabelStudio.ApiUsersPartialUpdateRequest request); + global::LabelStudio.PatchedLseUserSerializerUpdateRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -56,7 +56,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( int id, - global::LabelStudio.ApiUsersPartialUpdateRequest request, + global::LabelStudio.PatchedLseUserSerializerUpdateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -83,7 +83,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( int id, - global::LabelStudio.ApiUsersPartialUpdateRequest request, + global::LabelStudio.PatchedLseUserSerializerUpdateRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -450,59 +450,62 @@ partial void ProcessUpdateResponseContent( /// /// /// + /// /// - /// Whether the user allows newsletters + /// Allow sending newsletters to user /// - /// - /// Avatar URL of the user + /// + /// Custom keyboard shortcuts configuration for the user interface /// - /// - /// Email of the user + /// + /// + /// Included only in requests /// - /// - /// First name of the user + /// + /// + /// Included only in requests /// - /// - /// User ID + /// + /// + /// Included only in requests /// - /// - /// Initials of the user - /// - /// - /// Last name of the user - /// - /// - /// Phone number of the user - /// - /// - /// Username of the user + /// + /// Included only in requests /// + /// + /// /// 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 UpdateAsync( int id, + object emailNotificationSettings, + bool? isEmailVerified, + string? onboardingState, + string password, + int? activeOrganization = default, bool? allowNewsletters = default, - string? avatar = default, - string? email = default, + object? customHotkeys = default, + global::System.DateTime? dateJoined = default, string? firstName = default, - int? requestId = default, - string? initials = default, string? lastName = default, string? phone = default, string? username = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiUsersPartialUpdateRequest + var __request = new global::LabelStudio.PatchedLseUserSerializerUpdateRequest { + ActiveOrganization = activeOrganization, AllowNewsletters = allowNewsletters, - Avatar = avatar, - Email = email, + CustomHotkeys = customHotkeys, + DateJoined = dateJoined, + EmailNotificationSettings = emailNotificationSettings, FirstName = firstName, - Id = requestId, - Initials = initials, + IsEmailVerified = isEmailVerified, LastName = lastName, + OnboardingState = onboardingState, + Password = password, Phone = phone, Username = username, }; diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Create2.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Create2.g.cs index 1d0d7a6e..7c0cb2d0 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Create2.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Create2.g.cs @@ -27,11 +27,11 @@ public partial class ViewsClient }; partial void PrepareCreate2Arguments( global::System.Net.Http.HttpClient httpClient, - global::LabelStudio.ApiDmViewsCreateRequest request); + global::LabelStudio.ViewRequestRequest request); partial void PrepareCreate2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - global::LabelStudio.ApiDmViewsCreateRequest request); + global::LabelStudio.ViewRequestRequest request); partial void ProcessCreate2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -51,7 +51,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiDmViewsCreateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -74,7 +74,7 @@ partial void ProcessCreate2ResponseContent( /// public async global::System.Threading.Tasks.Task> Create2AsResponseAsync( - global::LabelStudio.ApiDmViewsCreateRequest request, + global::LabelStudio.ViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -438,7 +438,7 @@ partial void ProcessCreate2ResponseContent( /// Create a view for a specific project. /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -447,12 +447,12 @@ partial void ProcessCreate2ResponseContent( /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task Create2Async( - global::LabelStudio.ApiDmViewsCreateRequestData? data = default, + global::LabelStudio.ViewDataRequestRequest? data = default, int? project = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiDmViewsCreateRequest + var __request = new global::LabelStudio.ViewRequestRequest { Data = data, Project = project, diff --git a/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Update.g.cs index 42e6c9be..bc7706ec 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.ViewsClient.Update.g.cs @@ -28,12 +28,12 @@ public partial class ViewsClient partial void PrepareUpdateArguments( global::System.Net.Http.HttpClient httpClient, ref string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequest request); + global::LabelStudio.PatchedViewRequestRequest request); partial void PrepareUpdateRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequest request); + global::LabelStudio.PatchedViewRequestRequest request); partial void ProcessUpdateResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -55,7 +55,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task UpdateAsync( string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequest request, + global::LabelStudio.PatchedViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -81,7 +81,7 @@ partial void ProcessUpdateResponseContent( public async global::System.Threading.Tasks.Task> UpdateAsResponseAsync( string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequest request, + global::LabelStudio.PatchedViewRequestRequest request, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -448,7 +448,7 @@ partial void ProcessUpdateResponseContent( /// /// /// - /// Custom view data + /// Established public view payload nested under ``data``. /// /// /// Project ID @@ -458,12 +458,12 @@ partial void ProcessUpdateResponseContent( /// public async global::System.Threading.Tasks.Task UpdateAsync( string id, - global::LabelStudio.ApiDmViewsPartialUpdateRequestData? data = default, + global::LabelStudio.ViewDataRequestRequest? data = default, int? project = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __request = new global::LabelStudio.ApiDmViewsPartialUpdateRequest + var __request = new global::LabelStudio.PatchedViewRequestRequest { Data = data, Project = project, diff --git a/src/libs/LabelStudio/Generated/autosdk.generated-examples.json b/src/libs/LabelStudio/Generated/autosdk.generated-examples.json index 48fe8a9a..efd5aa13 100644 --- a/src/libs/LabelStudio/Generated/autosdk.generated-examples.json +++ b/src/libs/LabelStudio/Generated/autosdk.generated-examples.json @@ -2,17 +2,6 @@ "Examples": [ { "Order": 1, - "Title": "Post actions", - "Slug": "api-dm-actions-create", - "Description": "Perform a Data Manager action with the selected tasks and filters. Note: More complex actions require additional parameters in the request body. Call \u0060GET api/actions?project=\u003Cid\u003E\u0060 to explore them. \u003Cbr\u003EExample: \u0060GET api/actions?id=delete_tasks\u0026project=1\u0060", - "Language": "http", - "Code": "### Post actions\n# @name api_dm_actions_create\nPOST {{host}}/api/dm/actions/?id=delete_annotators\u0026project={{project}}\u0026view={{view}}\nAuthorization: Bearer {{token}}\nContent-Type: application/json\n\n{\n \u0022filters\u0022: {\n \u0022conjunction\u0022: \u0022or\u0022,\n \u0022items\u0022: [\n {\n \u0022filter\u0022: \u0022filter:tasks:id\u0022,\n \u0022operator\u0022: \u0022greater\u0022,\n \u0022type\u0022: \u0022Number\u0022,\n \u0022value\u0022: 123\n }\n ]\n },\n \u0022ordering\u0022: [\n \u0022tasks:total_annotations\u0022\n ],\n \u0022selectedItems\u0022: {\n \u0022all\u0022: true,\n \u0022excluded\u0022: [\n 124,\n 125,\n 126\n ]\n }\n}\n\n## Responses\n# 200\n# Description: Action performed successfully", - "Format": "http", - "OperationId": "api_dm_actions_create", - "Setup": null - }, - { - "Order": 2, "Title": "Get actions", "Slug": "api-dm-actions-retrieve", "Description": "Retrieve all the registered actions with descriptions that data manager can use.", @@ -23,18 +12,18 @@ "Setup": null }, { - "Order": 3, + "Order": 2, "Title": "Create annotation", "Slug": "api-tasks-annotations-create", "Description": "Add annotations to a task like an annotator does. The content of the result field depends on your\n labeling configuration. For example, send the following data as part of your POST\n request to send an empty annotation with the ID of the user who completed the task:\n\n \u0060\u0060\u0060json\n {\n \u0022result\u0022: {},\n \u0022was_cancelled\u0022: true,\n \u0022ground_truth\u0022: true,\n \u0022lead_time\u0022: 0,\n \u0022task\u0022: 0\n \u0022completed_by\u0022: 123\n }\n \u0060\u0060\u0060", "Language": "http", - "Code": "### Create annotation\n# @name api_tasks_annotations_create\nPOST {{host}}/api/tasks/{{id}}/annotations/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022ground_truth\u0022: true,\n \u0022result\u0022: [\n {\n \u0022from_name\u0022: \u0022bboxes\u0022,\n \u0022image_rotation\u0022: 0,\n \u0022original_height\u0022: 1080,\n \u0022original_width\u0022: 1920,\n \u0022to_name\u0022: \u0022image\u0022,\n \u0022type\u0022: \u0022rectanglelabels\u0022,\n \u0022value\u0022: {\n \u0022height\u0022: 60,\n \u0022rotation\u0022: 0,\n \u0022values\u0022: {\n \u0022rectanglelabels\u0022: [\n \u0022Person\u0022\n ]\n },\n \u0022width\u0022: 50,\n \u0022x\u0022: 20,\n \u0022y\u0022: 30\n }\n }\n ],\n \u0022was_cancelled\u0022: false\n}\n\n## Responses\n# 201\n# Description: Created annotation\n# Content-Type: application/json", + "Code": "### Create annotation\n# @name api_tasks_annotations_create\nPOST {{host}}/api/tasks/{{id}}/annotations/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022bulk_created\u0022: true,\n \u0022completed_by\u0022: 0,\n \u0022draft_created_at\u0022: \u00222025-01-01T00:00:00Z\u0022,\n \u0022ground_truth\u0022: true,\n \u0022import_id\u0022: 0,\n \u0022last_action\u0022: {},\n \u0022last_created_by\u0022: 0,\n \u0022lead_time\u0022: 0,\n \u0022parent_annotation\u0022: 0,\n \u0022parent_prediction\u0022: 0,\n \u0022project\u0022: 0,\n \u0022result\u0022: [\n {}\n ],\n \u0022task\u0022: 0,\n \u0022unique_id\u0022: \u0022string\u0022,\n \u0022updated_by\u0022: 0,\n \u0022was_cancelled\u0022: true\n}\n\n## Responses\n# 201\n# Description: Created annotation\n# Content-Type: application/json", "Format": "http", "OperationId": "api_tasks_annotations_create", "Setup": null }, { - "Order": 4, + "Order": 3, "Title": "Get annotation by its ID", "Slug": "api-annotations-retrieve", "Description": "Retrieve a specific annotation for a task using the annotation result ID.", @@ -45,7 +34,7 @@ "Setup": null }, { - "Order": 5, + "Order": 4, "Title": "Get all task annotations", "Slug": "api-tasks-annotations-list", "Description": "List all annotations for a task.", @@ -56,18 +45,18 @@ "Setup": null }, { - "Order": 6, + "Order": 5, "Title": "Update annotation", "Slug": "api-annotations-partial-update", "Description": "Update existing attributes on an annotation.", "Language": "http", - "Code": "### Update annotation\n# @name api_annotations_partial_update\nPATCH {{host}}/api/annotations/{{id}}/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022ground_truth\u0022: true,\n \u0022result\u0022: [\n {\n \u0022from_name\u0022: \u0022bboxes\u0022,\n \u0022image_rotation\u0022: 0,\n \u0022original_height\u0022: 1080,\n \u0022original_width\u0022: 1920,\n \u0022to_name\u0022: \u0022image\u0022,\n \u0022type\u0022: \u0022rectanglelabels\u0022,\n \u0022value\u0022: {\n \u0022height\u0022: 60,\n \u0022rotation\u0022: 0,\n \u0022values\u0022: {\n \u0022rectanglelabels\u0022: [\n \u0022Person\u0022\n ]\n },\n \u0022width\u0022: 50,\n \u0022x\u0022: 20,\n \u0022y\u0022: 30\n }\n }\n ],\n \u0022was_cancelled\u0022: false\n}\n\n## Responses\n# 200\n# Description: Updated annotation\n# Content-Type: application/json", + "Code": "### Update annotation\n# @name api_annotations_partial_update\nPATCH {{host}}/api/annotations/{{id}}/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022bulk_created\u0022: true,\n \u0022completed_by\u0022: 0,\n \u0022draft_created_at\u0022: \u00222025-01-01T00:00:00Z\u0022,\n \u0022ground_truth\u0022: true,\n \u0022import_id\u0022: 0,\n \u0022last_action\u0022: {},\n \u0022last_created_by\u0022: 0,\n \u0022lead_time\u0022: 0,\n \u0022parent_annotation\u0022: 0,\n \u0022parent_prediction\u0022: 0,\n \u0022project\u0022: 0,\n \u0022result\u0022: [\n {}\n ],\n \u0022task\u0022: 0,\n \u0022unique_id\u0022: \u0022string\u0022,\n \u0022updated_by\u0022: 0,\n \u0022was_cancelled\u0022: true\n}\n\n## Responses\n# 200\n# Description: Updated annotation\n# Content-Type: application/json", "Format": "http", "OperationId": "api_annotations_partial_update", "Setup": null }, { - "Order": 7, + "Order": 6, "Title": "\u2728 Get billing info", "Slug": "api-billing-info-retrieve", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nRetrieve billing checks and feature availability for the active organization.", @@ -78,7 +67,7 @@ "Setup": "This example assumes \u0060using LabelStudio;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 8, + "Order": 7, "Title": "\u2728 Get task agreement matrix", "Slug": "api-projects-tasks-agreement-matrix-retrieve", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nReturns a pairwise agreement matrix between selected participants for a single task, averaged across all active dimensions or a single specified dimension.", @@ -89,7 +78,7 @@ "Setup": null }, { - "Order": 9, + "Order": 8, "Title": "Test prediction", "Slug": "api-ml-predict-test-create", "Description": "After you add an ML backend, call this API with the ML backend ID to run a test prediction on specific task data", @@ -100,18 +89,18 @@ "Setup": null }, { - "Order": 10, + "Order": 9, "Title": "Train", "Slug": "api-ml-train-create", "Description": "After you add an ML backend, call this API with the ML backend ID to start training with \n already-labeled tasks. \n \n Get the ML backend ID by [listing the ML backends for a project](api:GET/api/ml/).", "Language": "http", - "Code": "### Train\n# @name api_ml_train_create\nPOST {{host}}/api/ml/{{id}}/train\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022use_ground_truth\u0022: true\n}\n\n## Responses\n# 200\n# Description: Training has successfully started.\n# 500\n# Description: Training error\n# Content-Type: application/json", + "Code": "### Train\n# @name api_ml_train_create\nPOST {{host}}/api/ml/{{id}}/train\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022use_ground_truth\u0022: false\n}\n\n## Responses\n# 200\n# Description: Training has successfully started.\n# 500\n# Description: Training error\n# Content-Type: application/json", "Format": "http", "OperationId": "api_ml_train_create", "Setup": null }, { - "Order": 11, + "Order": 10, "Title": "\u2728 Bulk delete organization member tags", "Slug": "api-organizations-member-tags-bulk-destroy", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nDelete multiple member tags from the organization in bulk. Pass tag IDs via the \u0060ids\u0060 query parameter (comma-separated or repeated). For backward compatibility, a JSON body with \u0060ids\u0060 is still accepted.", @@ -122,29 +111,29 @@ "Setup": "This example assumes \u0060using LabelStudio;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 12, + "Order": 11, "Title": "Put prediction", "Slug": "api-predictions-update", "Description": "Overwrite prediction data by prediction ID.", "Language": "http", - "Code": "### Put prediction\n# @name api_predictions_update\nPUT {{host}}/api/predictions/{{id}}/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model_version\u0022: \u0022yolo-v8\u0022,\n \u0022result\u0022: [\n {\n \u0022from_name\u0022: \u0022bboxes\u0022,\n \u0022image_rotation\u0022: 0,\n \u0022original_height\u0022: 1080,\n \u0022original_width\u0022: 1920,\n \u0022to_name\u0022: \u0022image\u0022,\n \u0022type\u0022: \u0022rectanglelabels\u0022,\n \u0022value\u0022: {\n \u0022height\u0022: 60,\n \u0022rotation\u0022: 0,\n \u0022values\u0022: {\n \u0022rectanglelabels\u0022: [\n \u0022Person\u0022\n ]\n },\n \u0022width\u0022: 50,\n \u0022x\u0022: 20,\n \u0022y\u0022: 30\n }\n }\n ],\n \u0022score\u0022: 0.95\n}\n\n## Responses\n# 200\n# Description: Updated prediction\n# Content-Type: application/json", + "Code": "### Put prediction\n# @name api_predictions_update\nPUT {{host}}/api/predictions/{{id}}/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022cluster\u0022: 0,\n \u0022mislabeling\u0022: 0,\n \u0022model\u0022: 0,\n \u0022model_run\u0022: 0,\n \u0022model_version\u0022: \u0022string\u0022,\n \u0022neighbors\u0022: \u0022string\u0022,\n \u0022project\u0022: 0,\n \u0022result\u0022: [\n {}\n ],\n \u0022score\u0022: 0,\n \u0022task\u0022: 0\n}\n\n## Responses\n# 200\n# Description: Updated prediction\n# Content-Type: application/json", "Format": "http", "OperationId": "api_predictions_update", "Setup": null }, { - "Order": 13, + "Order": 12, "Title": "Create prediction", "Slug": "api-predictions-create", "Description": "Create a prediction for a specific task.", "Language": "http", - "Code": "### Create prediction\n# @name api_predictions_create\nPOST {{host}}/api/predictions/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model_version\u0022: \u0022yolo-v8\u0022,\n \u0022result\u0022: [\n {\n \u0022from_name\u0022: \u0022bboxes\u0022,\n \u0022image_rotation\u0022: 0,\n \u0022original_height\u0022: 1080,\n \u0022original_width\u0022: 1920,\n \u0022to_name\u0022: \u0022image\u0022,\n \u0022type\u0022: \u0022rectanglelabels\u0022,\n \u0022value\u0022: {\n \u0022height\u0022: 60,\n \u0022rotation\u0022: 0,\n \u0022values\u0022: {\n \u0022rectanglelabels\u0022: [\n \u0022Person\u0022\n ]\n },\n \u0022width\u0022: 50,\n \u0022x\u0022: 20,\n \u0022y\u0022: 30\n }\n }\n ],\n \u0022score\u0022: 0.95\n}\n\n## Responses\n# 201\n# Description: Created prediction\n# Content-Type: application/json", + "Code": "### Create prediction\n# @name api_predictions_create\nPOST {{host}}/api/predictions/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022cluster\u0022: 0,\n \u0022mislabeling\u0022: 0,\n \u0022model\u0022: 0,\n \u0022model_run\u0022: 0,\n \u0022model_version\u0022: \u0022string\u0022,\n \u0022neighbors\u0022: \u0022string\u0022,\n \u0022project\u0022: 0,\n \u0022result\u0022: [\n {}\n ],\n \u0022score\u0022: 0,\n \u0022task\u0022: 0\n}\n\n## Responses\n# 201\n# Description: Created prediction\n# Content-Type: application/json", "Format": "http", "OperationId": "api_predictions_create", "Setup": null }, { - "Order": 14, + "Order": 13, "Title": "Get prediction details", "Slug": "api-predictions-retrieve", "Description": "Get details about a specific prediction by its ID.", @@ -155,7 +144,7 @@ "Setup": null }, { - "Order": 15, + "Order": 14, "Title": "List predictions", "Slug": "api-predictions-list", "Description": "List all predictions and their IDs.", @@ -166,18 +155,18 @@ "Setup": null }, { - "Order": 16, + "Order": 15, "Title": "Update prediction", "Slug": "api-predictions-partial-update", "Description": "Update prediction data by prediction ID.", "Language": "http", - "Code": "### Update prediction\n# @name api_predictions_partial_update\nPATCH {{host}}/api/predictions/{{id}}/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022model_version\u0022: \u0022yolo-v8\u0022,\n \u0022result\u0022: [\n {\n \u0022from_name\u0022: \u0022bboxes\u0022,\n \u0022image_rotation\u0022: 0,\n \u0022original_height\u0022: 1080,\n \u0022original_width\u0022: 1920,\n \u0022to_name\u0022: \u0022image\u0022,\n \u0022type\u0022: \u0022rectanglelabels\u0022,\n \u0022value\u0022: {\n \u0022height\u0022: 60,\n \u0022rotation\u0022: 0,\n \u0022values\u0022: {\n \u0022rectanglelabels\u0022: [\n \u0022Person\u0022\n ]\n },\n \u0022width\u0022: 50,\n \u0022x\u0022: 20,\n \u0022y\u0022: 30\n }\n }\n ],\n \u0022score\u0022: 0.95\n}\n\n## Responses\n# 200\n# Description: Updated prediction\n# Content-Type: application/json", + "Code": "### Update prediction\n# @name api_predictions_partial_update\nPATCH {{host}}/api/predictions/{{id}}/\nAuthorization: Bearer {{token}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022cluster\u0022: 0,\n \u0022mislabeling\u0022: 0,\n \u0022model\u0022: 0,\n \u0022model_run\u0022: 0,\n \u0022model_version\u0022: \u0022string\u0022,\n \u0022neighbors\u0022: \u0022string\u0022,\n \u0022project\u0022: 0,\n \u0022result\u0022: [\n {}\n ],\n \u0022score\u0022: 0,\n \u0022task\u0022: 0\n}\n\n## Responses\n# 200\n# Description: Updated prediction\n# Content-Type: application/json", "Format": "http", "OperationId": "api_predictions_partial_update", "Setup": null }, { - "Order": 17, + "Order": 16, "Title": "\u2728 Create annotator weights for statistics", "Slug": "api-projects-project-extra-params-create", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nCreate annotator weights to be used in the annotation statistics for a project, such as when calculating kappa metrics for inter-annotator agreement. Affects dashboard-members stats, but old and unused.", @@ -188,7 +177,7 @@ "Setup": null }, { - "Order": 18, + "Order": 17, "Title": "\u2728 Bulk unassign project members", "Slug": "api-projects-members-bulk-destroy", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nUnassign project members in bulk. Pass selector fields via query parameters (\u0060all\u0060, \u0060included\u0060, \u0060excluded\u0060) and optional member filters (\u0060search\u0060, \u0060role\u0060, \u0060tags\u0060, \u0060last_activity__gte\u0060, \u0060last_activity__lte\u0060). For backward compatibility, a JSON body with bulk fields is still accepted.", @@ -199,7 +188,7 @@ "Setup": "This example assumes \u0060using LabelStudio;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." }, { - "Order": 19, + "Order": 18, "Title": "\u2728 Retrieve SAML2 Settings", "Slug": "api-saml-settings-retrieve", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nRetrieve SAML2 settings for the currently active organization.", @@ -210,7 +199,7 @@ "Setup": null }, { - "Order": 20, + "Order": 19, "Title": "\u2728 Retrieve SCIM Settings", "Slug": "api-scim-settings-retrieve", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nRetrieve SCIM settings for the currently active organization.", @@ -221,7 +210,7 @@ "Setup": null }, { - "Order": 21, + "Order": 20, "Title": "\u2728 Update SAML2 Settings", "Slug": "api-saml-settings-create", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nUpdate SAML2 settings for the currently active organization.", @@ -232,7 +221,7 @@ "Setup": null }, { - "Order": 22, + "Order": 21, "Title": "\u2728 Update SCIM Settings", "Slug": "api-scim-settings-create", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nUpdate SCIM settings for the currently active organization.", @@ -243,7 +232,7 @@ "Setup": null }, { - "Order": 23, + "Order": 22, "Title": "\u2728 Get Inter-Annotator Agreement matrix", "Slug": "api-projects-stats-iaa-retrieve", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nGet Inter-Annotator Agreement (IAA) matrix for a project, showing agreement between all annotators.", @@ -254,7 +243,7 @@ "Setup": null }, { - "Order": 24, + "Order": 23, "Title": "\u2728 Get label distribution counts", "Slug": "api-projects-stats-label-distribution-counts-retrieve", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nReturns counts and percentages for requested label choices, from both annotations and predictions. Supports either pagination (\u0060limit\u0060, \u0060offset\u0060) or targeted fetches via explicit \u0060choice_keys\u0060.", @@ -265,7 +254,7 @@ "Setup": null }, { - "Order": 25, + "Order": 24, "Title": "\u2728 Get label distribution structure", "Slug": "api-projects-stats-label-distribution-structure-retrieve", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nReturns dimensions and flattened \u0060choice_keys\u0060 for a project. Use this response to drive paginated or targeted calls to the label distribution counts endpoint.", @@ -276,7 +265,7 @@ "Setup": null }, { - "Order": 26, + "Order": 25, "Title": "Create a new task", "Slug": "api-tasks-create", "Description": "Create a new task", @@ -287,7 +276,7 @@ "Setup": null }, { - "Order": 27, + "Order": 26, "Title": "\u2728 Bulk unassign workspace members", "Slug": "api-workspaces-memberships-bulk-destroy", "Description": "\u003CCard href=\u0022https://humansignal.com/goenterprise\u0022\u003E\n \u003Cimg style=\u0022pointer-events: none; margin-left: 0px; margin-right: 0px;\u0022 src=\u0022https://docs.humansignal.com/images/badge.svg\u0022 alt=\u0022Label Studio Enterprise badge\u0022/\u003E\n \u003Cp style=\u0022margin-top: 10px; font-size: 14px;\u0022\u003E\n This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)\n \u003C/p\u003E\n \u003C/Card\u003E\nUnassign workspace members in bulk. Pass selector fields via query parameters (\u0060all\u0060, \u0060included\u0060, \u0060excluded\u0060) and optional paginated-list filters (\u0060search\u0060, \u0060ids\u0060). For backward compatibility, a JSON body with bulk fields is still accepted.", diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index edba4bb0..e2aae8e9 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -991,71 +991,13 @@ paths: content: application/json: schema: - example: - ground_truth: true - result: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - was_cancelled: false - properties: - completed_by: - description: User ID of the person who created this annotation - type: integer - ground_truth: - description: This annotation is a Ground Truth - type: boolean - lead_time: - description: How much time it took to annotate the task (in seconds) - example: 100.5 - type: number - project: - description: Project ID for this annotation - type: integer - result: - description: Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format) - example: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - items: - type: object - type: array - task: - description: Corresponding task for this annotation - type: integer - updated_by: - description: Last user who updated this annotation - type: integer - was_cancelled: - description: User skipped the task - type: boolean - required: [] - type: object + $ref: '#/components/schemas/PatchedAnnotationRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedAnnotationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedAnnotationRequest' responses: '200': content: @@ -2877,16 +2819,13 @@ paths: content: application/json: schema: - properties: - job_id: - type: integer - signal: - description: Operation type. - type: string - required: - - job_id - - signal - type: object + $ref: '#/components/schemas/PatchedDatasetImportCandidatesPatchRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedDatasetImportCandidatesPatchRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedDatasetImportCandidatesPatchRequest' responses: '200': content: @@ -3979,273 +3918,13 @@ paths: content: application/json: schema: - description: Data payload containing task filters, selected task items, and ordering - example: - filters: - conjunction: or - items: - - filter: filter:tasks:id - operator: greater - type: Number - value: 123 - ordering: - - tasks:total_annotations - selectedItems: - all: true - excluded: - - 124 - - 125 - - 126 - properties: - filters: - description: 'Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.
Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}`' - properties: - conjunction: - description: Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - enum: - - or - - and - type: string - items: - description: List of filter items - items: - example: - filter: filter:tasks:id - operator: greater - type: Number - value: 123 - properties: - child_filters: - description: Ordered child filters AND-merged with their parent. Child filters cannot be nested. - items: - properties: - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - required: - - conjunction - - items - type: object - ordering: - description: List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - items: - enum: - - tasks:agreement - - tasks:annotations_results - - tasks:annotators - - tasks:cancelled_annotations - - tasks:comments - - tasks:completed_at - - tasks:created_at - - tasks:file_upload - - tasks:ground_truth - - tasks:id - - tasks:inner_id - - tasks:predictions_model_versions - - tasks:predictions_results - - tasks:predictions_score - - tasks:reviewed - - tasks:reviewers - - tasks:reviews_accepted - - tasks:reviews_rejected - - tasks:total_annotations - - tasks:total_predictions - - tasks:unresolved_comment_count - - tasks:updated_at - type: string - type: array - selectedItems: - description: 'Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.
    Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}`' - oneOf: - - properties: - all: - description: No tasks are selected - enum: - - false - type: boolean - included: - description: List of included task IDs - items: - type: integer - type: array - required: - - all - title: 'all: false' - type: object - - properties: - all: - description: All tasks are selected - enum: - - true - type: boolean - excluded: - description: List of excluded task IDs - items: - type: integer - type: array - required: - - all - title: 'all: true' - type: object - required: - - all - type: object - type: object + $ref: '#/components/schemas/PrepareParamsRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PrepareParamsRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PrepareParamsRequestRequest' responses: '200': description: Action performed successfully @@ -4342,227 +4021,13 @@ paths: content: application/json: schema: - properties: - data: - description: Custom view data - properties: - filters: - description: 'Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.
    Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}`' - properties: - conjunction: - description: Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - enum: - - or - - and - type: string - items: - description: List of filter items - items: - example: - filter: filter:tasks:id - operator: greater - type: Number - value: 123 - properties: - child_filters: - description: Ordered child filters AND-merged with their parent. Child filters cannot be nested. - items: - properties: - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - required: - - conjunction - - items - type: object - ordering: - description: List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - items: - enum: - - tasks:agreement - - tasks:annotations_results - - tasks:annotators - - tasks:cancelled_annotations - - tasks:comments - - tasks:completed_at - - tasks:created_at - - tasks:file_upload - - tasks:ground_truth - - tasks:id - - tasks:inner_id - - tasks:predictions_model_versions - - tasks:predictions_results - - tasks:predictions_score - - tasks:reviewed - - tasks:reviewers - - tasks:reviews_accepted - - tasks:reviews_rejected - - tasks:total_annotations - - tasks:total_predictions - - tasks:unresolved_comment_count - - tasks:updated_at - type: string - type: array - type: object - project: - description: Project ID - type: integer - type: object + $ref: '#/components/schemas/ViewRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ViewRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ViewRequestRequest' responses: '201': content: @@ -4693,227 +4158,13 @@ paths: content: application/json: schema: - properties: - data: - description: Custom view data - properties: - filters: - description: 'Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.
    Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}`' - properties: - conjunction: - description: Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - enum: - - or - - and - type: string - items: - description: List of filter items - items: - example: - filter: filter:tasks:id - operator: greater - type: Number - value: 123 - properties: - child_filters: - description: Ordered child filters AND-merged with their parent. Child filters cannot be nested. - items: - properties: - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - required: - - conjunction - - items - type: object - ordering: - description: List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - items: - enum: - - tasks:agreement - - tasks:annotations_results - - tasks:annotators - - tasks:cancelled_annotations - - tasks:comments - - tasks:completed_at - - tasks:created_at - - tasks:file_upload - - tasks:ground_truth - - tasks:id - - tasks:inner_id - - tasks:predictions_model_versions - - tasks:predictions_results - - tasks:predictions_score - - tasks:reviewed - - tasks:reviewers - - tasks:reviews_accepted - - tasks:reviews_rejected - - tasks:total_annotations - - tasks:total_predictions - - tasks:unresolved_comment_count - - tasks:updated_at - type: string - type: array - type: object - project: - description: Project ID - type: integer - type: object + $ref: '#/components/schemas/PatchedViewRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedViewRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedViewRequestRequest' responses: '200': content: @@ -4944,227 +4195,13 @@ paths: content: application/json: schema: - properties: - data: - description: Custom view data - properties: - filters: - description: 'Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.
    Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}`' - properties: - conjunction: - description: Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - enum: - - or - - and - type: string - items: - description: List of filter items - items: - example: - filter: filter:tasks:id - operator: greater - type: Number - value: 123 - properties: - child_filters: - description: Ordered child filters AND-merged with their parent. Child filters cannot be nested. - items: - properties: - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - required: - - conjunction - - items - type: object - ordering: - description: List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. - items: - enum: - - tasks:agreement - - tasks:annotations_results - - tasks:annotators - - tasks:cancelled_annotations - - tasks:comments - - tasks:completed_at - - tasks:created_at - - tasks:file_upload - - tasks:ground_truth - - tasks:id - - tasks:inner_id - - tasks:predictions_model_versions - - tasks:predictions_results - - tasks:predictions_score - - tasks:reviewed - - tasks:reviewers - - tasks:reviews_accepted - - tasks:reviews_rejected - - tasks:total_annotations - - tasks:total_predictions - - tasks:unresolved_comment_count - - tasks:updated_at - type: string - type: array - type: object - project: - description: Project ID - type: integer - type: object + $ref: '#/components/schemas/ViewRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ViewRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ViewRequestRequest' responses: '200': content: @@ -8465,34 +7502,14 @@ paths: content: application/json: schema: - properties: - messages: - description: Array of message objects for the chat completion - items: - properties: - content: - description: The content of the message - type: string - role: - description: The role of the message author - enum: - - system - - user - - assistant - type: string - required: - - role - - content - type: object - type: array - model: - description: Model identifier. Can be "model_name" (defaults to OpenAI), "provider/model_name", or "provider:model_name" - example: gpt-4 - type: string - required: - - model - - messages - type: object + $ref: '#/components/schemas/ChatCompletionRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ChatCompletionRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ChatCompletionRequestRequest' + required: true responses: '200': content: @@ -8609,42 +7626,14 @@ paths: content: application/json: schema: - properties: - auth_method: - description: Auth method - enum: - - NONE - - BASIC_AUTH - type: string - basic_auth_pass: - description: Basic auth password - type: string - basic_auth_user: - description: Basic auth user - type: string - description: - description: Description - type: string - extra_params: - description: Extra parameters - type: object - is_interactive: - description: Is interactive - type: boolean - project: - description: Project ID - type: integer - timeout: - description: Response model timeout - type: integer - title: - description: Title - type: string - url: - description: ML backend URL - type: string - required: [] - type: object + $ref: '#/components/schemas/MLBackendRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/MLBackendRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/MLBackendRequestRequest' + required: true responses: '201': content: @@ -8721,42 +7710,13 @@ paths: content: application/json: schema: - properties: - auth_method: - description: Auth method - enum: - - NONE - - BASIC_AUTH - type: string - basic_auth_pass: - description: Basic auth password - type: string - basic_auth_user: - description: Basic auth user - type: string - description: - description: Description - type: string - extra_params: - description: Extra parameters - type: object - is_interactive: - description: Is interactive - type: boolean - project: - description: Project ID - type: integer - timeout: - description: Response model timeout - type: integer - title: - description: Title - type: string - url: - description: ML backend URL - type: string - required: [] - type: object + $ref: '#/components/schemas/PatchedMLBackendRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedMLBackendRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedMLBackendRequestRequest' responses: '200': content: @@ -8894,11 +7854,13 @@ paths: content: application/json: schema: - properties: - use_ground_truth: - description: Whether to include ground truth annotations in training - type: boolean - type: object + $ref: '#/components/schemas/MLBackendTrainRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/MLBackendTrainRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/MLBackendTrainRequestRequest' responses: '200': description: Training has successfully started. @@ -10769,59 +9731,14 @@ paths: content: application/json: schema: - example: - model_version: yolo-v8 - result: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - score: 0.95 - properties: - model_version: - description: Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface - example: yolo-v8 - type: string - result: - description: Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions) - example: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - items: - type: object - type: array - score: - description: Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first. - example: 0.95 - type: number - task: - description: Task ID for which the prediction is created - type: integer - type: object + $ref: '#/components/schemas/PredictionRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PredictionRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PredictionRequest' + required: true responses: '201': content: @@ -10957,59 +9874,13 @@ paths: content: application/json: schema: - example: - model_version: yolo-v8 - result: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - score: 0.95 - properties: - model_version: - description: Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface - example: yolo-v8 - type: string - result: - description: Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions) - example: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - items: - type: object - type: array - score: - description: Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first. - example: 0.95 - type: number - task: - description: Task ID for which the prediction is created - type: integer - type: object + $ref: '#/components/schemas/PatchedPredictionRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedPredictionRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedPredictionRequest' responses: '200': content: @@ -11068,59 +9939,14 @@ paths: content: application/json: schema: - example: - model_version: yolo-v8 - result: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - score: 0.95 - properties: - model_version: - description: Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface - example: yolo-v8 - type: string - result: - description: Prediction result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/predictions) - example: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - items: - type: object - type: array - score: - description: Prediction score. Can be used in Data Manager to sort task by model confidence. Task with the lowest score will be shown first. - example: 0.95 - type: number - task: - description: Task ID for which the prediction is created - type: integer - type: object + $ref: '#/components/schemas/PredictionRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PredictionRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PredictionRequest' + required: true responses: '200': content: @@ -11409,20 +10235,14 @@ paths: content: application/json: schema: - properties: - description: - description: A description for the project. - type: string - title: - description: The title of the project to be created from the template. - type: string - workspace_id: - description: A unique integer value identifying the workspace in which to create the project. - type: integer - required: - - title - - workspace_id - type: object + $ref: '#/components/schemas/CreateProjectFromTemplateRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/CreateProjectFromTemplateRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/CreateProjectFromTemplateRequestRequest' + required: true responses: '201': content: @@ -15179,243 +13999,14 @@ paths: content: application/json: schema: - properties: - filters: - description: 'Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.
    Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}`' - properties: - conjunction: - description: Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. - enum: - - or - - and - type: string - items: - description: List of filter items - items: - example: - filter: filter:tasks:id - operator: greater - type: Number - value: 123 - properties: - child_filters: - description: Ordered child filters AND-merged with their parent. Child filters cannot be nested. - items: - properties: - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - filter: - description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' - enum: - - filter:tasks:agreement - - filter:tasks:annotations_results - - filter:tasks:annotators - - filter:tasks:cancelled_annotations - - filter:tasks:comments - - filter:tasks:completed_at - - filter:tasks:created_at - - filter:tasks:file_upload - - filter:tasks:ground_truth - - filter:tasks:id - - filter:tasks:inner_id - - filter:tasks:predictions_model_versions - - filter:tasks:predictions_results - - filter:tasks:predictions_score - - filter:tasks:reviewed - - filter:tasks:reviewers - - filter:tasks:reviews_accepted - - filter:tasks:reviews_rejected - - filter:tasks:total_annotations - - filter:tasks:total_predictions - - filter:tasks:unresolved_comment_count - - filter:tasks:updated_at - type: string - operator: - description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' - enum: - - contains - - ends_with - - equal - - exists - - greater - - greater_or_equal - - in - - in_list - - less - - less_or_equal - - not_contains - - not_equal - - not_exists - - not_in - - not_in_list - - starts_with - type: string - type: - description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • - type: string - value: - description: Value to filter by - oneOf: - - description: String - title: String - type: string - - description: Integer - title: Integer - type: integer - - description: Float - format: float - title: Float - type: number - - description: Boolean - title: Boolean - type: boolean - - description: Dictionary is used for some operator types, e.g. `in` and `not_in` - title: Dictionary - type: object - - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. - title: List - type: object - type: object - required: - - filter - - operator - - type - - value - type: object - type: array - required: - - conjunction - - items - type: object - selectedItems: - description: 'Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.
    Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}`' - oneOf: - - properties: - all: - description: No tasks are selected - enum: - - false - type: boolean - included: - description: List of included task IDs - items: - type: integer - type: array - required: - - all - title: 'all: false' - type: object - - properties: - all: - description: All tasks are selected - enum: - - true - type: boolean - excluded: - description: List of excluded task IDs - items: - type: integer - type: array - required: - - all - title: 'all: true' - type: object - required: - - all - type: object - type: - description: Assignment type. Use AN for annotate or RE for review. - enum: - - AN - - RE - type: string - users: - description: List of user IDs to assign - items: - type: integer - type: array - required: - - type - - users - - selectedItems - type: object + $ref: '#/components/schemas/BulkTaskAssigneesRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/BulkTaskAssigneesRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/BulkTaskAssigneesRequestRequest' + required: true responses: '201': content: @@ -15562,22 +14153,13 @@ paths: content: application/json: schema: - properties: - type: - description: Assignment type. Use AN for annotate or RE for review. - enum: - - AN - - RE - type: string - users: - description: List of user IDs to assign - items: - type: integer - type: array - required: - - type - - users - type: object + $ref: '#/components/schemas/PatchedTaskAssigneesMutationRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedTaskAssigneesMutationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedTaskAssigneesMutationRequest' responses: '200': content: @@ -15623,22 +14205,14 @@ paths: content: application/json: schema: - properties: - type: - description: Assignment type. Use AN for annotate or RE for review. - enum: - - AN - - RE - type: string - users: - description: List of user IDs to assign - items: - type: integer - type: array - required: - - type - - users - type: object + $ref: '#/components/schemas/TaskAssigneesMutationRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/TaskAssigneesMutationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/TaskAssigneesMutationRequest' + required: true responses: '200': content: @@ -17992,13 +16566,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ModelRunRequest' + $ref: '#/components/schemas/ModelRunRequestRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/ModelRunRequest' + $ref: '#/components/schemas/ModelRunRequestRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ModelRunRequest' + $ref: '#/components/schemas/ModelRunRequestRequest' required: true responses: '201': @@ -18733,46 +17307,14 @@ paths: content: application/json: schema: - properties: - account_key: - description: Azure Blob account key - type: string - account_name: - description: Azure Blob account name - type: string - container: - description: Azure blob container - type: string - description: - description: Storage description - type: string - prefix: - description: Azure blob prefix name - type: string - presign: - default: true - description: Presign URLs for direct download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/AzureBlobImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AzureBlobImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/AzureBlobImportStorageWriteRequest' + required: true responses: '201': content: @@ -18799,49 +17341,14 @@ paths: content: application/json: schema: - properties: - account_key: - description: Azure Blob account key - type: string - account_name: - description: Azure Blob account name - type: string - container: - description: Azure blob container - type: string - description: - description: Storage description - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - prefix: - description: Azure blob prefix name - type: string - presign: - default: true - description: Presign URLs for direct download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/AzureBlobImportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AzureBlobImportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/AzureBlobImportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -18920,46 +17427,13 @@ paths: content: application/json: schema: - properties: - account_key: - description: Azure Blob account key - type: string - account_name: - description: Azure Blob account name - type: string - container: - description: Azure blob container - type: string - description: - description: Storage description - type: string - prefix: - description: Azure blob prefix name - type: string - presign: - default: true - description: Presign URLs for direct download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/PatchedAzureBlobImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedAzureBlobImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedAzureBlobImportStorageWriteRequest' responses: '200': content: @@ -19331,13 +17805,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DatabricksImportStorageRequest' + $ref: '#/components/schemas/DatabricksImportStorageWriteRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/DatabricksImportStorageRequest' + $ref: '#/components/schemas/DatabricksImportStorageWriteRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DatabricksImportStorageRequest' + $ref: '#/components/schemas/DatabricksImportStorageWriteRequest' required: true responses: '201': @@ -19372,13 +17846,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DatabricksImportStorageRequest' + $ref: '#/components/schemas/DatabricksImportStorageValidateRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/DatabricksImportStorageRequest' + $ref: '#/components/schemas/DatabricksImportStorageValidateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DatabricksImportStorageRequest' + $ref: '#/components/schemas/DatabricksImportStorageValidateRequest' required: true responses: '200': @@ -19479,13 +17953,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedDatabricksImportStorageRequest' + $ref: '#/components/schemas/PatchedDatabricksImportStorageWriteRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/PatchedDatabricksImportStorageRequest' + $ref: '#/components/schemas/PatchedDatabricksImportStorageWriteRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedDatabricksImportStorageRequest' + $ref: '#/components/schemas/PatchedDatabricksImportStorageWriteRequest' responses: '200': content: @@ -19613,35 +18087,14 @@ paths: content: application/json: schema: - properties: - account_key: - description: Azure Blob account key - type: string - account_name: - description: Azure Blob account name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled - type: boolean - container: - description: Azure blob container - type: string - description: - description: Storage description - type: string - prefix: - description: Azure blob prefix name - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/AzureBlobExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AzureBlobExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/AzureBlobExportStorageWriteRequest' + required: true responses: '201': content: @@ -19668,38 +18121,14 @@ paths: content: application/json: schema: - properties: - account_key: - description: Azure Blob account key - type: string - account_name: - description: Azure Blob account name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled - type: boolean - container: - description: Azure blob container - type: string - description: - description: Storage description - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - prefix: - description: Azure blob prefix name - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/AzureBlobExportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AzureBlobExportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/AzureBlobExportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -19778,35 +18207,13 @@ paths: content: application/json: schema: - properties: - account_key: - description: Azure Blob account key - type: string - account_name: - description: Azure Blob account name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled - type: boolean - container: - description: Azure blob container - type: string - description: - description: Storage description - type: string - prefix: - description: Azure blob prefix name - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/PatchedAzureBlobExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedAzureBlobExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedAzureBlobExportStorageWriteRequest' responses: '200': content: @@ -20177,13 +18584,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DatabricksExportStorageRequest' + $ref: '#/components/schemas/DatabricksExportStorageWriteRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/DatabricksExportStorageRequest' + $ref: '#/components/schemas/DatabricksExportStorageWriteRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DatabricksExportStorageRequest' + $ref: '#/components/schemas/DatabricksExportStorageWriteRequest' required: true responses: '201': @@ -20218,13 +18625,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DatabricksExportStorageRequest' + $ref: '#/components/schemas/DatabricksExportStorageValidateRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/DatabricksExportStorageRequest' + $ref: '#/components/schemas/DatabricksExportStorageValidateRequest' multipart/form-data: schema: - $ref: '#/components/schemas/DatabricksExportStorageRequest' + $ref: '#/components/schemas/DatabricksExportStorageValidateRequest' required: true responses: '200': @@ -20325,13 +18732,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PatchedDatabricksExportStorageRequest' + $ref: '#/components/schemas/PatchedDatabricksExportStorageWriteRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/PatchedDatabricksExportStorageRequest' + $ref: '#/components/schemas/PatchedDatabricksExportStorageWriteRequest' multipart/form-data: schema: - $ref: '#/components/schemas/PatchedDatabricksExportStorageRequest' + $ref: '#/components/schemas/PatchedDatabricksExportStorageWriteRequest' responses: '200': content: @@ -20429,35 +18836,14 @@ paths: content: application/json: schema: - properties: - bucket: - description: GCS bucket name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - description: - description: Storage description - type: string - google_application_credentials: - description: The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - type: string - google_project_id: - description: Google project ID - type: string - prefix: - description: GCS bucket prefix - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/GCSExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GCSExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/GCSExportStorageWriteRequest' + required: true responses: '201': content: @@ -20484,38 +18870,14 @@ paths: content: application/json: schema: - properties: - bucket: - description: GCS bucket name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - description: - description: Storage description - type: string - google_application_credentials: - description: The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - type: string - google_project_id: - description: Google project ID - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - prefix: - description: GCS bucket prefix - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/GCSExportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GCSExportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/GCSExportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -20594,35 +18956,13 @@ paths: content: application/json: schema: - properties: - bucket: - description: GCS bucket name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - description: - description: Storage description - type: string - google_application_credentials: - description: The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - type: string - google_project_id: - description: Google project ID - type: string - prefix: - description: GCS bucket prefix - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/PatchedGCSExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGCSExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGCSExportStorageWriteRequest' responses: '200': content: @@ -21245,29 +19585,14 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - path: - description: Path to local directory - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Regex for filtering objects - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/LocalFilesExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/LocalFilesExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/LocalFilesExportStorageWriteRequest' + required: true responses: '201': content: @@ -21294,32 +19619,14 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - path: - description: Path to local directory - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Regex for filtering objects - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/LocalFilesExportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/LocalFilesExportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/LocalFilesExportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -21398,29 +19705,13 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - path: - description: Path to local directory - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Regex for filtering objects - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/PatchedLocalFilesExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedLocalFilesExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedLocalFilesExportStorageWriteRequest' responses: '200': content: @@ -21511,38 +19802,14 @@ paths: content: application/json: schema: - properties: - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - db: - description: Database ID of database to use - type: integer - description: - description: Storage description - type: string - host: - description: Server Host IP (optional) - type: string - password: - description: Server Password (optional) - type: string - path: - description: Storage prefix (optional) - type: string - port: - description: Server Port (optional) - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/RedisExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RedisExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/RedisExportStorageWriteRequest' + required: true responses: '201': content: @@ -21569,41 +19836,14 @@ paths: content: application/json: schema: - properties: - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - db: - description: Database ID of database to use - type: integer - description: - description: Storage description - type: string - host: - description: Server Host IP (optional) - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - password: - description: Server Password (optional) - type: string - path: - description: Storage prefix (optional) - type: string - port: - description: Server Port (optional) - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/RedisExportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RedisExportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/RedisExportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -21682,38 +19922,13 @@ paths: content: application/json: schema: - properties: - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - db: - description: Database ID of database to use - type: integer - description: - description: Storage description - type: string - host: - description: Server Host IP (optional) - type: string - password: - description: Server Password (optional) - type: string - path: - description: Storage prefix (optional) - type: string - port: - description: Server Port (optional) - type: string - project: - description: Project ID - type: integer - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/PatchedRedisExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRedisExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRedisExportStorageWriteRequest' responses: '200': content: @@ -21804,47 +20019,14 @@ paths: content: application/json: schema: - properties: - aws_access_key_id: - description: AWS_ACCESS_KEY_ID - type: string - aws_secret_access_key: - description: AWS_SECRET_ACCESS_KEY - type: string - aws_session_token: - description: AWS_SESSION_TOKEN - type: string - aws_sse_kms_key_id: - description: AWS SSE KMS Key ID - type: string - bucket: - description: S3 bucket name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - description: - description: Storage description - type: string - prefix: - description: S3 bucket prefix - type: string - project: - description: Project ID - type: integer - region_name: - description: AWS Region - type: string - s3_endpoint: - description: S3 Endpoint - type: string - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/S3ExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/S3ExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/S3ExportStorageWriteRequest' + required: true responses: '201': content: @@ -21871,50 +20053,14 @@ paths: content: application/json: schema: - properties: - aws_access_key_id: - description: AWS_ACCESS_KEY_ID - type: string - aws_secret_access_key: - description: AWS_SECRET_ACCESS_KEY - type: string - aws_session_token: - description: AWS_SESSION_TOKEN - type: string - aws_sse_kms_key_id: - description: AWS SSE KMS Key ID - type: string - bucket: - description: S3 bucket name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - description: - description: Storage description - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - prefix: - description: S3 bucket prefix - type: string - project: - description: Project ID - type: integer - region_name: - description: AWS Region - type: string - s3_endpoint: - description: S3 Endpoint - type: string - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/S3ExportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/S3ExportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/S3ExportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -21993,47 +20139,13 @@ paths: content: application/json: schema: - properties: - aws_access_key_id: - description: AWS_ACCESS_KEY_ID - type: string - aws_secret_access_key: - description: AWS_SECRET_ACCESS_KEY - type: string - aws_session_token: - description: AWS_SESSION_TOKEN - type: string - aws_sse_kms_key_id: - description: AWS SSE KMS Key ID - type: string - bucket: - description: S3 bucket name - type: string - can_delete_objects: - default: false - description: Deletion from storage enabled. - type: boolean - description: - description: Storage description - type: string - prefix: - description: S3 bucket prefix - type: string - project: - description: Project ID - type: integer - region_name: - description: AWS Region - type: string - s3_endpoint: - description: S3 Endpoint - type: string - title: - description: Storage title - maxLength: 2048 - type: string - required: [] - type: object + $ref: '#/components/schemas/PatchedS3ExportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedS3ExportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedS3ExportStorageWriteRequest' responses: '200': content: @@ -22418,46 +20530,14 @@ paths: content: application/json: schema: - properties: - bucket: - description: GCS bucket name - type: string - description: - description: Storage description - type: string - google_application_credentials: - description: The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - type: string - google_project_id: - description: Google project ID - type: string - prefix: - description: GCS bucket prefix - type: string - presign: - default: true - description: Presign URLs for direct download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/GCSImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GCSImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/GCSImportStorageWriteRequest' + required: true responses: '201': content: @@ -22484,49 +20564,14 @@ paths: content: application/json: schema: - properties: - bucket: - description: GCS bucket name - type: string - description: - description: Storage description - type: string - google_application_credentials: - description: The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - type: string - google_project_id: - description: Google project ID - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - prefix: - description: GCS bucket prefix - type: string - presign: - default: true - description: Presign URLs for direct download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/GCSImportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/GCSImportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/GCSImportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -22605,46 +20650,13 @@ paths: content: application/json: schema: - properties: - bucket: - description: GCS bucket name - type: string - description: - description: Storage description - type: string - google_application_credentials: - description: The content of GOOGLE_APPLICATION_CREDENTIALS json file. Check official Google Cloud Authentication documentation for more details. - type: string - google_project_id: - description: Google project ID - type: string - prefix: - description: GCS bucket prefix - type: string - presign: - default: true - description: Presign URLs for direct download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/PatchedGCSImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedGCSImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedGCSImportStorageWriteRequest' responses: '200': content: @@ -23268,29 +21280,14 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - path: - description: Path to local directory - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Regex for filtering objects - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/LocalFilesImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/LocalFilesImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/LocalFilesImportStorageWriteRequest' + required: true responses: '201': content: @@ -23317,32 +21314,14 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - path: - description: Path to local directory - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Regex for filtering objects - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/LocalFilesImportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/LocalFilesImportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/LocalFilesImportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -23421,29 +21400,13 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - path: - description: Path to local directory - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Regex for filtering objects - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your directory contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/PatchedLocalFilesImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedLocalFilesImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedLocalFilesImportStorageWriteRequest' responses: '200': content: @@ -23535,38 +21498,14 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - host: - description: Server Host IP (optional) - type: string - password: - description: Server Password (optional) - type: string - path: - description: Storage prefix (optional) - type: string - port: - description: Server Port (optional) - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/RedisImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RedisImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/RedisImportStorageWriteRequest' + required: true responses: '201': content: @@ -23593,41 +21532,14 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - host: - description: Server Host IP (optional) - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - password: - description: Server Password (optional) - type: string - path: - description: Storage prefix (optional) - type: string - port: - description: Server Port (optional) - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/RedisImportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/RedisImportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/RedisImportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -23706,38 +21618,13 @@ paths: content: application/json: schema: - properties: - description: - description: Storage description - type: string - host: - description: Server Host IP (optional) - type: string - password: - description: Server Password (optional) - type: string - path: - description: Storage prefix (optional) - type: string - port: - description: Server Port (optional) - type: string - project: - description: Project ID - type: integer - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/PatchedRedisImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedRedisImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedRedisImportStorageWriteRequest' responses: '200': content: @@ -23829,61 +21716,14 @@ paths: content: application/json: schema: - properties: - aws_access_key_id: - description: AWS_ACCESS_KEY_ID - type: string - aws_secret_access_key: - description: AWS_SECRET_ACCESS_KEY - type: string - aws_session_token: - description: AWS_SESSION_TOKEN - type: string - aws_sse_kms_key_id: - description: AWS SSE KMS Key ID - type: string - bucket: - description: S3 bucket name - type: string - description: - description: Storage description - type: string - prefix: - description: S3 bucket prefix - type: string - presign: - default: true - description: Presign URLs for download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - recursive_scan: - description: Scan recursively - type: boolean - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - region_name: - description: AWS Region - type: string - s3_endpoint: - description: S3 Endpoint - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/S3ImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/S3ImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/S3ImportStorageWriteRequest' + required: true responses: '201': content: @@ -23910,64 +21750,14 @@ paths: content: application/json: schema: - properties: - aws_access_key_id: - description: AWS_ACCESS_KEY_ID - type: string - aws_secret_access_key: - description: AWS_SECRET_ACCESS_KEY - type: string - aws_session_token: - description: AWS_SESSION_TOKEN - type: string - aws_sse_kms_key_id: - description: AWS SSE KMS Key ID - type: string - bucket: - description: S3 bucket name - type: string - description: - description: Storage description - type: string - id: - description: Storage ID. If set, storage with specified ID will be updated - type: integer - prefix: - description: S3 bucket prefix - type: string - presign: - default: true - description: Presign URLs for download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - recursive_scan: - description: Scan recursively - type: boolean - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - region_name: - description: AWS Region - type: string - s3_endpoint: - description: S3 Endpoint - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/S3ImportStorageValidateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/S3ImportStorageValidateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/S3ImportStorageValidateRequest' + required: true responses: '200': description: Validation successful @@ -24046,61 +21836,13 @@ paths: content: application/json: schema: - properties: - aws_access_key_id: - description: AWS_ACCESS_KEY_ID - type: string - aws_secret_access_key: - description: AWS_SECRET_ACCESS_KEY - type: string - aws_session_token: - description: AWS_SESSION_TOKEN - type: string - aws_sse_kms_key_id: - description: AWS SSE KMS Key ID - type: string - bucket: - description: S3 bucket name - type: string - description: - description: Storage description - type: string - prefix: - description: S3 bucket prefix - type: string - presign: - default: true - description: Presign URLs for download - type: boolean - presign_ttl: - default: 1 - description: Presign TTL in minutes - type: integer - project: - description: Project ID - type: integer - recursive_scan: - description: Scan recursively - type: boolean - regex_filter: - description: Cloud storage regex for filtering objects. You must specify it otherwise no objects will be imported. - type: string - region_name: - description: AWS Region - type: string - s3_endpoint: - description: S3 Endpoint - type: string - title: - description: Storage title - maxLength: 2048 - type: string - use_blob_urls: - default: false - description: Interpret objects as BLOBs and generate URLs. For example, if your bucket contains images, you can use this option to generate URLs for these images. If set to False, it will read the content of the file and load it into Label Studio. - type: boolean - required: [] - type: object + $ref: '#/components/schemas/PatchedS3ImportStorageWriteRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedS3ImportStorageWriteRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedS3ImportStorageWriteRequest' responses: '200': content: @@ -24772,71 +22514,13 @@ paths: content: application/json: schema: - example: - ground_truth: true - result: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - was_cancelled: false - properties: - completed_by: - description: User ID of the person who created this annotation - type: integer - ground_truth: - description: This annotation is a Ground Truth - type: boolean - lead_time: - description: How much time it took to annotate the task (in seconds) - example: 100.5 - type: number - project: - description: Project ID for this annotation - type: integer - result: - description: Labeling result in JSON format. Read more about the format in [the Label Studio documentation.](https://labelstud.io/guide/task_format) - example: - - from_name: bboxes - image_rotation: 0 - original_height: 1080 - original_width: 1920 - to_name: image - type: rectanglelabels - value: - height: 60 - rotation: 0 - values: - rectanglelabels: - - Person - width: 50 - x: 20 - y: 30 - items: - type: object - type: array - task: - description: Corresponding task for this annotation - type: integer - updated_by: - description: Last user who updated this annotation - type: integer - was_cancelled: - description: User skipped the task - type: boolean - required: [] - type: object + $ref: '#/components/schemas/AnnotationRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/AnnotationRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/AnnotationRequest' responses: '201': content: @@ -25117,35 +22801,14 @@ paths: content: application/json: schema: - properties: - allow_newsletters: - description: Whether the user allows newsletters - type: boolean - avatar: - description: Avatar URL of the user - type: string - email: - description: Email of the user - type: string - first_name: - description: First name of the user - type: string - id: - description: User ID - type: integer - initials: - description: Initials of the user - type: string - last_name: - description: Last name of the user - type: string - phone: - description: Phone number of the user - type: string - username: - description: Username of the user - type: string - type: object + $ref: '#/components/schemas/LseUserRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/LseUserRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/LseUserRequest' + required: true responses: '201': content: @@ -25253,36 +22916,13 @@ paths: content: application/json: schema: - properties: - allow_newsletters: - description: Whether the user allows newsletters - type: boolean - avatar: - description: Avatar URL of the user - type: string - email: - description: Email of the user - type: string - first_name: - description: First name of the user - type: string - id: - description: User ID - type: integer - x-fern-property-name: request_user_id - initials: - description: Initials of the user - type: string - last_name: - description: Last name of the user - type: string - phone: - description: Phone number of the user - type: string - username: - description: Username of the user - type: string - type: object + $ref: '#/components/schemas/PatchedLseUserSerializerUpdateRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedLseUserSerializerUpdateRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedLseUserSerializerUpdateRequest' responses: '200': content: @@ -27388,9 +25028,42 @@ components: title: Annotation result list type: array selected_items: - allOf: - - $ref: '#/components/schemas/SelectedItemsRequest' + description: 'Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.
    Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}`' nullable: true + oneOf: + - properties: + all: + description: No tasks are selected + enum: + - false + type: boolean + included: + description: List of included task IDs + items: + type: integer + type: array + required: + - all + title: 'all: false' + type: object + - properties: + all: + description: All tasks are selected + enum: + - true + type: boolean + excluded: + description: List of excluded task IDs + items: + type: integer + type: array + required: + - all + title: 'all: true' + type: object + required: + - all + type: object task: description: Corresponding task for this annotation nullable: true @@ -27786,6 +25459,14 @@ components: nullable: true type: integer type: object + AssignmentTypeEnum: + description: |- + * `AN` - Annotate + * `RE` - Review + enum: + - AN + - RE + type: string AssociatedProject: description: |- A ModelSerializer that takes additional arguments for @@ -27910,7 +25591,199 @@ components: - project - type type: object - AzureBlobImportStorage: + AzureBlobExportStorageValidateRequest: + properties: + account_key: + description: Azure Blob account key + nullable: true + type: string + account_name: + description: Azure Blob account name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + container: + description: Azure blob container + nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + id: + description: Storage ID. If set, storage with specified ID will be updated + type: integer + prefix: + description: Azure blob prefix name + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + AzureBlobExportStorageWriteRequest: + properties: + account_key: + description: Azure Blob account key + nullable: true + type: string + account_name: + description: Azure Blob account name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + container: + description: Azure blob container + nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + prefix: + description: Azure blob prefix name + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + AzureBlobImportStorage: + properties: + account_key: + description: Azure Blob account key + nullable: true + type: string + account_name: + description: Azure Blob account name + nullable: true + type: string + container: + description: Azure blob container + nullable: true + type: string + created_at: + description: Creation time + format: date-time + readOnly: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + id: + readOnly: true + type: integer + last_sync: + description: Last sync finished time + format: date-time + nullable: true + type: string + last_sync_count: + description: Count of tasks synced last time + maximum: 2147483647 + minimum: 0 + nullable: true + type: integer + last_sync_job: + description: Last sync job ID + maxLength: 256 + nullable: true + type: string + meta: + description: Meta and debug information about storage processes + nullable: true + prefix: + description: Azure blob prefix name + nullable: true + type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the container content + nullable: true + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + status: + $ref: '#/components/schemas/StorageStatusEnum' + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + traceback: + description: Traceback report for the last failed sync + nullable: true + type: string + type: + default: azure + readOnly: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - created_at + - id + - project + - type + type: object + AzureBlobImportStorageValidateRequest: properties: account_key: description: Azure Blob account key @@ -27924,37 +25797,68 @@ components: description: Azure blob container nullable: true type: string - created_at: - description: Creation time - format: date-time - readOnly: true - type: string description: description: Cloud storage description nullable: true type: string id: - readOnly: true + description: Storage ID. If set, storage with specified ID will be updated type: integer - last_sync: - description: Last sync finished time - format: date-time + prefix: + description: Azure blob prefix name nullable: true type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 minimum: 0 - nullable: true type: integer - last_sync_job: - description: Last sync job ID + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the container content + nullable: true + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title maxLength: 256 nullable: true type: string - meta: - description: Meta and debug information about storage processes + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + AzureBlobImportStorageWriteRequest: + properties: + account_key: + description: Azure Blob account key nullable: true + type: string + account_name: + description: Azure Blob account name + nullable: true + type: string + container: + description: Azure blob container + nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string prefix: description: Azure blob prefix name nullable: true @@ -27978,8 +25882,6 @@ components: description: Cloud storage regex for filtering objects nullable: true type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' synchronizable: default: true type: boolean @@ -27988,22 +25890,11 @@ components: maxLength: 256 nullable: true type: string - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string - type: - default: azure - readOnly: true - type: string use_blob_urls: description: Interpret objects as BLOBs and generate URLs type: boolean required: - - created_at - - id - project - - type type: object AzureDatasetStorage: properties: @@ -29025,6 +26916,59 @@ components: required: - user_ids type: object + BulkTaskAssigneesRequestRequest: + properties: + filters: + allOf: + - $ref: '#/components/schemas/PrepareParamsFiltersRequest' + nullable: true + selectedItems: + description: 'Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.
    Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}`' + oneOf: + - properties: + all: + description: No tasks are selected + enum: + - false + type: boolean + included: + description: List of included task IDs + items: + type: integer + type: array + required: + - all + title: 'all: false' + type: object + - properties: + all: + description: All tasks are selected + enum: + - true + type: boolean + excluded: + description: List of excluded task IDs + items: + type: integer + type: array + required: + - all + title: 'all: true' + type: object + required: + - all + type: object + type: + $ref: '#/components/schemas/AssignmentTypeEnum' + users: + items: + type: integer + type: array + required: + - selectedItems + - type + - users + type: object CancelModelRunResponse: properties: detail: @@ -29073,6 +27017,81 @@ components: - revoked_at - serial_number type: object + ChatCompletionRequestRequest: + description: |- + Validates and sanitizes chat completion request payload. + + Ensures: + - messages is a list of valid message dictionaries + - Each message conforms to role-specific requirements + - Only allowed fields are included in the sanitized output + properties: + messages: + description: Array of message objects forming the conversation + items: + $ref: '#/components/schemas/ChatMessageRequest' + type: array + model: + description: Model identifier in format "provider/model-name" (e.g., "openai/gpt-4") + minLength: 1 + type: string + required: + - messages + - model + type: object + ChatMessageRequest: + description: |- + Validates and sanitizes individual chat messages for LLM chat completion requests. + + Supports the following message roles: + - user, developer, system: Must have 'content' field (string or dict) + - assistant: Must have either 'content' (non-empty) or 'tool_calls' (non-empty array) + - tool: Must have 'content' (non-empty) and 'tool_call_id' fields + + All fields not explicitly defined are removed during validation to ensure + only valid fields are passed to LLM providers. + properties: + content: + description: The content of the message (can be a string or structured dict) + nullable: true + role: + allOf: + - $ref: '#/components/schemas/ChatMessageRoleEnum' + description: |- + The role of the message author (user, developer, system, assistant, or tool) + + * `user` - user + * `developer` - developer + * `system` - system + * `assistant` - assistant + * `tool` - tool + tool_call_id: + description: The ID of the tool call this message is responding to + minLength: 1 + nullable: true + type: string + tool_calls: + description: Tool calls made by the assistant + items: {} + nullable: true + type: array + required: + - role + type: object + ChatMessageRoleEnum: + description: |- + * `user` - user + * `developer` - developer + * `system` - system + * `assistant` - assistant + * `tool` - tool + enum: + - user + - developer + - system + - assistant + - tool + type: string CheckMatchingFunctionRequestRequest: properties: code: @@ -29352,6 +27371,11 @@ components: - options - permission type: object + ConjunctionEnum: + enum: + - or + - and + type: string ControlTagWeight: description: |- Weights configuration for a single control tag. @@ -29689,6 +27713,22 @@ components: - outline - structure_version type: object + CreateProjectFromTemplateRequestRequest: + properties: + description: + description: A description for the project. + nullable: true + type: string + title: + description: The title of the project to be created from the template. + minLength: 1 + type: string + workspace_id: + description: A unique integer value identifying the workspace in which to create the project. + type: integer + required: + - title + type: object CustomFunctionCodeRequestRequest: properties: code: @@ -29925,7 +27965,7 @@ components: - type - volume type: object - DatabricksExportStorageRequest: + DatabricksExportStorageValidateRequest: description: Serializer for Databricks export storage with multi-auth support. properties: auth_type: @@ -29961,25 +28001,100 @@ components: description: Databricks workspace base URL (https://...) minLength: 1 type: string - last_sync: - description: Last sync finished time - format: date-time + id: + description: Storage ID. If set, storage with specified ID will be updated + type: integer + prefix: + description: Export path prefix under the volume nullable: true type: string - last_sync_count: - description: Count of tasks synced last time + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + request_timeout_s: maximum: 2147483647 minimum: 0 - nullable: true type: integer - last_sync_job: - description: Last sync job ID + schema: + description: UC schema name + minLength: 1 + type: string + stream_chunk_bytes: + maximum: 2147483647 + minimum: 0 + type: integer + synchronizable: + default: true + type: boolean + tenant_id: + description: Azure AD tenant ID (required for Azure AD SP mode) + type: string + title: + description: Cloud storage title maxLength: 256 nullable: true type: string - meta: - description: Meta and debug information about storage processes + token: + description: Databricks personal access token (required for PAT mode) + type: string + writeOnly: true + use_blob_urls: + description: Generate blob URLs in tasks + type: boolean + verify_tls: + description: Verify TLS certificates + type: boolean + volume: + description: UC volume name + minLength: 1 + type: string + required: + - catalog + - host + - project + - schema + - volume + type: object + DatabricksExportStorageWriteRequest: + description: Serializer for Databricks export storage with multi-auth support. + properties: + auth_type: + allOf: + - $ref: '#/components/schemas/AuthTypeEnum' + default: pat + description: |- + Authentication method: PAT, Databricks SP, or Azure AD SP + + * `pat` - Personal Access Token + * `dbx_sp` - Databricks Service Principal + * `azure_ad_sp` - Azure AD Service Principal + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + catalog: + description: UC catalog name + minLength: 1 + type: string + client_id: + description: Service principal client/application ID (required for SP modes) + type: string + client_secret: + description: Service principal client secret (required for SP modes) + type: string + writeOnly: true + description: + description: Cloud storage description nullable: true + type: string + host: + description: Databricks workspace base URL (https://...) + minLength: 1 + type: string prefix: description: Export path prefix under the volume nullable: true @@ -29999,8 +28114,6 @@ components: description: UC schema name minLength: 1 type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' stream_chunk_bytes: maximum: 2147483647 minimum: 0 @@ -30020,10 +28133,6 @@ components: description: Databricks personal access token (required for PAT mode) type: string writeOnly: true - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string use_blob_urls: description: Generate blob URLs in tasks type: boolean @@ -30167,7 +28276,7 @@ components: - type - volume type: object - DatabricksImportStorageRequest: + DatabricksImportStorageValidateRequest: description: Serializer for Databricks import storage with multi-auth support. properties: auth_type: @@ -30199,25 +28308,9 @@ components: description: Databricks workspace base URL (https://...) minLength: 1 type: string - last_sync: - description: Last sync finished time - format: date-time - nullable: true - type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 - minimum: 0 - nullable: true + id: + description: Storage ID. If set, storage with specified ID will be updated type: integer - last_sync_job: - description: Last sync job ID - maxLength: 256 - nullable: true - type: string - meta: - description: Meta and debug information about storage processes - nullable: true prefix: description: Path under the volume nullable: true @@ -30248,8 +28341,6 @@ components: description: UC schema name minLength: 1 type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' stream_chunk_bytes: maximum: 2147483647 minimum: 0 @@ -30269,10 +28360,104 @@ components: description: Databricks personal access token (required for PAT mode) type: string writeOnly: true - traceback: - description: Traceback report for the last failed sync + use_blob_urls: + description: Generate blob URLs in tasks + type: boolean + verify_tls: + description: Verify TLS certificates + type: boolean + volume: + description: UC volume name + minLength: 1 + type: string + required: + - catalog + - host + - project + - schema + - volume + type: object + DatabricksImportStorageWriteRequest: + description: Serializer for Databricks import storage with multi-auth support. + properties: + auth_type: + allOf: + - $ref: '#/components/schemas/AuthTypeEnum' + default: pat + description: |- + Authentication method: PAT, Databricks SP, or Azure AD SP + + * `pat` - Personal Access Token + * `dbx_sp` - Databricks Service Principal + * `azure_ad_sp` - Azure AD Service Principal + catalog: + description: UC catalog name + minLength: 1 + type: string + client_id: + description: Service principal client/application ID (required for SP modes) + type: string + client_secret: + description: Service principal client secret (required for SP modes) + type: string + writeOnly: true + description: + description: Cloud storage description + nullable: true + type: string + host: + description: Databricks workspace base URL (https://...) + minLength: 1 + type: string + prefix: + description: Path under the volume nullable: true type: string + presign: + description: Presign not supported; always proxied + type: boolean + presign_ttl: + description: Unused for Databricks; kept for compatibility + maximum: 32767 + minimum: 0 + type: integer + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan + type: boolean + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + request_timeout_s: + maximum: 2147483647 + minimum: 0 + type: integer + schema: + description: UC schema name + minLength: 1 + type: string + stream_chunk_bytes: + maximum: 2147483647 + minimum: 0 + type: integer + synchronizable: + default: true + type: boolean + tenant_id: + description: Azure AD tenant ID (required for Azure AD SP mode) + type: string + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + token: + description: Databricks personal access token (required for PAT mode) + type: string + writeOnly: true use_blob_urls: description: Generate blob URLs in tasks type: boolean @@ -31373,28 +29558,199 @@ components: type: boolean required: - created_at - - dataset + - dataset + - id + - job_id + - type + type: object + GCSDatasetStorageRequest: + properties: + bucket: + description: GCS bucket name + nullable: true + type: string + dataset: + description: A unique integer value identifying this dataset. + type: integer + description: + description: Cloud storage description + nullable: true + type: string + glob_pattern: + description: Glob pattern for syncing from bucket + nullable: true + type: string + google_application_credentials: + description: The content of GOOGLE_APPLICATION_CREDENTIALS json file + nullable: true + type: string + google_project_id: + description: Google project ID + nullable: true + type: string + last_sync: + description: Last sync finished time + format: date-time + nullable: true + type: string + last_sync_count: + description: Count of tasks synced last time + maximum: 2147483647 + minimum: 0 + nullable: true + type: integer + last_sync_job: + description: Last sync job ID + maxLength: 256 + nullable: true + type: string + meta: + description: Meta and debug information about storage processes + nullable: true + prefix: + description: GCS bucket prefix + nullable: true + type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + nullable: true + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + status: + $ref: '#/components/schemas/StorageStatusEnum' + synced: + description: Flag if dataset has been previously synced or not + type: boolean + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + traceback: + description: Traceback report for the last failed sync + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - dataset + type: object + GCSExportStorage: + properties: + bucket: + description: GCS bucket name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + created_at: + description: Creation time + format: date-time + readOnly: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + google_application_credentials: + description: The content of GOOGLE_APPLICATION_CREDENTIALS json file + nullable: true + type: string + google_project_id: + description: Google project ID + nullable: true + type: string + id: + readOnly: true + type: integer + last_sync: + description: Last sync finished time + format: date-time + nullable: true + type: string + last_sync_count: + description: Count of tasks synced last time + maximum: 2147483647 + minimum: 0 + nullable: true + type: integer + last_sync_job: + description: Last sync job ID + maxLength: 256 + nullable: true + type: string + meta: + description: Meta and debug information about storage processes + nullable: true + prefix: + description: GCS bucket prefix + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + status: + $ref: '#/components/schemas/StorageStatusEnum' + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + traceback: + description: Traceback report for the last failed sync + nullable: true + type: string + type: + default: gcs + readOnly: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - created_at - id - - job_id + - project - type type: object - GCSDatasetStorageRequest: + GCSExportStorageValidateRequest: properties: bucket: description: GCS bucket name nullable: true type: string - dataset: - description: A unique integer value identifying this dataset. - type: integer + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean description: description: Cloud storage description nullable: true type: string - glob_pattern: - description: Glob pattern for syncing from bucket - nullable: true - type: string google_application_credentials: description: The content of GOOGLE_APPLICATION_CREDENTIALS json file nullable: true @@ -31403,50 +29759,67 @@ components: description: Google project ID nullable: true type: string - last_sync: - description: Last sync finished time - format: date-time + id: + description: Storage ID. If set, storage with specified ID will be updated + type: integer + prefix: + description: GCS bucket prefix nullable: true type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 - minimum: 0 - nullable: true + project: + description: A unique integer value identifying this project. type: integer - last_sync_job: - description: Last sync job ID + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title maxLength: 256 nullable: true type: string - meta: - description: Meta and debug information about storage processes + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + GCSExportStorageWriteRequest: + properties: + bucket: + description: GCS bucket name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + description: + description: Cloud storage description + nullable: true + type: string + google_application_credentials: + description: The content of GOOGLE_APPLICATION_CREDENTIALS json file nullable: true + type: string + google_project_id: + description: Google project ID + nullable: true + type: string prefix: description: GCS bucket prefix nullable: true type: string - presign: - default: true - type: boolean - presign_ttl: - description: Presigned URLs TTL (in minutes) - maximum: 32767 - minimum: 0 + project: + description: A unique integer value identifying this project. type: integer - recursive_scan: - description: Perform recursive scan over the bucket content - nullable: true - type: boolean regex_filter: description: Cloud storage regex for filtering objects nullable: true type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' - synced: - description: Flag if dataset has been previously synced or not - type: boolean synchronizable: default: true type: boolean @@ -31455,26 +29828,18 @@ components: maxLength: 256 nullable: true type: string - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string use_blob_urls: description: Interpret objects as BLOBs and generate URLs type: boolean required: - - dataset + - project type: object - GCSExportStorage: + GCSImportStorage: properties: bucket: description: GCS bucket name nullable: true type: string - can_delete_objects: - description: Deletion from storage enabled - nullable: true - type: boolean created_at: description: Creation time format: date-time @@ -31518,9 +29883,21 @@ components: description: GCS bucket prefix nullable: true type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer project: description: A unique integer value identifying this project. type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + nullable: true + type: boolean regex_filter: description: Cloud storage regex for filtering objects nullable: true @@ -31552,17 +29929,12 @@ components: - project - type type: object - GCSImportStorage: + GCSImportStorageValidateRequest: properties: bucket: description: GCS bucket name nullable: true type: string - created_at: - description: Creation time - format: date-time - readOnly: true - type: string description: description: Cloud storage description nullable: true @@ -31576,27 +29948,63 @@ components: nullable: true type: string id: - readOnly: true + description: Storage ID. If set, storage with specified ID will be updated type: integer - last_sync: - description: Last sync finished time - format: date-time + prefix: + description: GCS bucket prefix nullable: true type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 minimum: 0 - nullable: true type: integer - last_sync_job: - description: Last sync job ID + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + nullable: true + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title maxLength: 256 nullable: true type: string - meta: - description: Meta and debug information about storage processes + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + GCSImportStorageWriteRequest: + properties: + bucket: + description: GCS bucket name nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + google_application_credentials: + description: The content of GOOGLE_APPLICATION_CREDENTIALS json file + nullable: true + type: string + google_project_id: + description: Google project ID + nullable: true + type: string prefix: description: GCS bucket prefix nullable: true @@ -31620,8 +30028,6 @@ components: description: Cloud storage regex for filtering objects nullable: true type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' synchronizable: default: true type: boolean @@ -31630,22 +30036,11 @@ components: maxLength: 256 nullable: true type: string - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string - type: - default: gcs - readOnly: true - type: string use_blob_urls: description: Interpret objects as BLOBs and generate URLs type: boolean required: - - created_at - - id - project - - type type: object GCSSAExportStorage: properties: @@ -33861,6 +32256,79 @@ components: - project - type type: object + LocalFilesExportStorageValidateRequest: + properties: + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + description: + description: Cloud storage description + nullable: true + type: string + id: + description: Storage ID. If set, storage with specified ID will be updated + type: integer + path: + description: Local path + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + LocalFilesExportStorageWriteRequest: + properties: + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + description: + description: Cloud storage description + nullable: true + type: string + path: + description: Local path + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object LocalFilesImportStorage: properties: created_at: @@ -33936,6 +32404,79 @@ components: - project - type type: object + LocalFilesImportStorageValidateRequest: + properties: + description: + description: Cloud storage description + nullable: true + type: string + id: + description: Storage ID. If set, storage with specified ID will be updated + type: integer + path: + description: Local path + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the directory content + nullable: true + type: boolean + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + LocalFilesImportStorageWriteRequest: + properties: + description: + description: Cloud storage description + nullable: true + type: string + path: + description: Local path + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the directory content + nullable: true + type: boolean + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object LseAnnotationFilterOptions: properties: ground_truth: @@ -37273,16 +35814,196 @@ components: allOf: - $ref: '#/components/schemas/LseFields' readOnly: true - org_membership: - deprecated: true - items: - $ref: '#/components/schemas/OrganizationMembership' - readOnly: true - type: array - organization_membership: - allOf: - - $ref: '#/components/schemas/OrganizationMembership' - readOnly: true + org_membership: + deprecated: true + items: + $ref: '#/components/schemas/OrganizationMembership' + readOnly: true + type: array + organization_membership: + allOf: + - $ref: '#/components/schemas/OrganizationMembership' + readOnly: true + pause: + additionalProperties: {} + nullable: true + readOnly: true + type: object + phone: + maxLength: 256 + type: string + username: + maxLength: 256 + type: string + required: + - active_organization_meta + - avatar + - id + - initials + - last_activity + - lse_fields + - org_membership + - organization_membership + - pause + - username + type: object + LseUserAPI: + description: |- + A ModelSerializer that takes additional arguments for + "fields", "omit" and "expand" in order to + control which fields are displayed, and whether to replace simple + values with complex, nested serializations + properties: + active_organization: + nullable: true + type: integer + active_organization_meta: + additionalProperties: + type: string + readOnly: true + type: object + allow_newsletters: + description: Allow sending newsletters to user + nullable: true + type: boolean + avatar: + nullable: true + readOnly: true + type: string + custom_hotkeys: + description: Custom keyboard shortcuts configuration for the user interface + nullable: true + date_joined: + format: date-time + type: string + email: + format: email + maxLength: 254 + title: Email address + type: string + first_name: + maxLength: 256 + type: string + id: + readOnly: true + type: integer + initials: + default: '?' + readOnly: true + type: string + last_activity: + format: date-time + readOnly: true + type: string + last_name: + maxLength: 256 + type: string + org_membership: + deprecated: true + items: + $ref: '#/components/schemas/OrganizationMembership' + readOnly: true + type: array + organization_membership: + allOf: + - $ref: '#/components/schemas/OrganizationMembership' + readOnly: true + phone: + maxLength: 256 + type: string + username: + maxLength: 256 + type: string + required: + - active_organization_meta + - avatar + - id + - initials + - last_activity + - org_membership + - organization_membership + - username + type: object + LseUserOrganizationMemberList: + description: |- + A ModelSerializer that takes additional arguments for + "fields", "omit" and "expand" in order to + control which fields are displayed, and whether to replace simple + values with complex, nested serializations + properties: + active_organization: + nullable: true + type: integer + allow_newsletters: + description: Allow sending newsletters to user + nullable: true + type: boolean + avatar: + nullable: true + readOnly: true + type: string + contributed_to_projects: + deprecated: true + items: + properties: + id: + type: integer + title: + type: string + required: + - id + - title + type: object + nullable: true + readOnly: true + type: array + created_projects: + deprecated: true + items: + properties: + id: + type: integer + title: + type: string + required: + - id + - title + type: object + nullable: true + readOnly: true + type: array + custom_hotkeys: + description: Custom keyboard shortcuts configuration for the user interface + nullable: true + date_joined: + format: date-time + type: string + email: + format: email + maxLength: 254 + title: Email address + type: string + first_name: + maxLength: 256 + type: string + id: + readOnly: true + type: integer + initials: + default: '?' + readOnly: true + type: string + last_activity: + format: date-time + readOnly: true + type: string + last_name: + maxLength: 256 + type: string + lse_fields: + allOf: + - $ref: '#/components/schemas/LseFields' + readOnly: true pause: additionalProperties: {} nullable: true @@ -37295,18 +36016,17 @@ components: maxLength: 256 type: string required: - - active_organization_meta - avatar + - contributed_to_projects + - created_projects - id - initials - last_activity - lse_fields - - org_membership - - organization_membership - pause - username type: object - LseUserAPI: + LseUserRequest: description: |- A ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to @@ -37316,19 +36036,10 @@ components: active_organization: nullable: true type: integer - active_organization_meta: - additionalProperties: - type: string - readOnly: true - type: object allow_newsletters: description: Allow sending newsletters to user nullable: true type: boolean - avatar: - nullable: true - readOnly: true - type: string custom_hotkeys: description: Custom keyboard shortcuts configuration for the user interface nullable: true @@ -37343,146 +36054,21 @@ components: first_name: maxLength: 256 type: string - id: - readOnly: true - type: integer - initials: - default: '?' - readOnly: true - type: string - last_activity: - format: date-time - readOnly: true - type: string last_name: maxLength: 256 type: string - org_membership: - deprecated: true - items: - $ref: '#/components/schemas/OrganizationMembership' - readOnly: true - type: array - organization_membership: - allOf: - - $ref: '#/components/schemas/OrganizationMembership' - readOnly: true - phone: - maxLength: 256 - type: string - username: - maxLength: 256 - type: string - required: - - active_organization_meta - - avatar - - id - - initials - - last_activity - - org_membership - - organization_membership - - username - type: object - LseUserOrganizationMemberList: - description: |- - A ModelSerializer that takes additional arguments for - "fields", "omit" and "expand" in order to - control which fields are displayed, and whether to replace simple - values with complex, nested serializations - properties: - active_organization: - nullable: true - type: integer - allow_newsletters: - description: Allow sending newsletters to user - nullable: true - type: boolean - avatar: - nullable: true - readOnly: true - type: string - contributed_to_projects: - deprecated: true - items: - properties: - id: - type: integer - title: - type: string - required: - - id - - title - type: object - nullable: true - readOnly: true - type: array - created_projects: - deprecated: true - items: - properties: - id: - type: integer - title: - type: string - required: - - id - - title - type: object - nullable: true - readOnly: true - type: array - custom_hotkeys: - description: Custom keyboard shortcuts configuration for the user interface - nullable: true - date_joined: - format: date-time - type: string - email: - format: email - maxLength: 254 - title: Email address - type: string - first_name: - maxLength: 256 - type: string - id: - readOnly: true - type: integer - initials: - default: '?' - readOnly: true - type: string - last_activity: - format: date-time - readOnly: true - type: string - last_name: - maxLength: 256 + password: + minLength: 1 type: string - lse_fields: - allOf: - - $ref: '#/components/schemas/LseFields' - readOnly: true - pause: - additionalProperties: {} - nullable: true - readOnly: true - type: object + writeOnly: true phone: maxLength: 256 type: string username: maxLength: 256 + minLength: 1 type: string required: - - avatar - - contributed_to_projects - - created_projects - - id - - initials - - last_activity - - lse_fields - - pause - username type: object MLBackend: @@ -37610,6 +36196,61 @@ components: - project - url type: object + MLBackendRequestRequest: + description: OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer. + properties: + auth_method: + $ref: '#/components/schemas/AuthMethodEnum' + auto_update: + description: If false, model version is set by the user, if true - getting latest version from backend. + type: boolean + basic_auth_pass: + nullable: true + type: string + writeOnly: true + basic_auth_user: + description: HTTP Basic Auth user + nullable: true + type: string + description: + description: Description for the machine learning backend + nullable: true + type: string + extra_params: + description: Any extra parameters passed to the ML Backend during the setup + nullable: true + is_interactive: + description: Used to interactively annotate tasks. If true, model returns one list with results + type: boolean + model_version: + description: Current model version associated with this machine learning backend + nullable: true + type: string + project: + type: integer + timeout: + description: Response model timeout + format: double + type: number + title: + description: Name of the machine learning backend + nullable: true + type: string + url: + description: URL for the machine learning model server + minLength: 1 + type: string + required: + - project + - url + type: object + MLBackendTrainRequestRequest: + properties: + use_ground_truth: + default: false + description: Whether to include ground truth annotations in training + type: boolean + type: object MLInteractiveAnnotatingRequestRequest: description: Serializer for ML interactive annotating request. properties: @@ -38007,6 +36648,8 @@ components: maxLength: 255 nullable: true type: string + model_version: + type: integer organization: nullable: true type: integer @@ -38064,6 +36707,7 @@ components: - created_at - created_by - id + - model_version - parent_model - project - source_model_run @@ -38071,7 +36715,8 @@ components: - task_ids - triggered_at type: object - ModelRunRequest: + ModelRunRequestRequest: + description: OpenAPI-only request shape; ``model_version`` comes from the URL path. properties: filters_json: description: DM filter group for Filtered subset. Stored for display/re-run purposes. @@ -39181,6 +37826,96 @@ components: minLength: 1 type: string type: object + PatchedAnnotationRequest: + description: |- + Annotation Serializer with FSM state support. + + Note: The 'state' field will be populated from the queryset annotation + if present, preventing N+1 queries. Use .with_state() on your queryset. + properties: + bulk_created: + description: Annotation was created in bulk mode + nullable: true + type: boolean + completed_by: + type: integer + draft_created_at: + description: Draft creation time + format: date-time + nullable: true + type: string + ground_truth: + description: This annotation is a Ground Truth (ground_truth) + type: boolean + import_id: + description: Original annotation ID that was at the import step or NULL if this annotation wasn't imported + format: int64 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + nullable: true + type: integer + last_action: + allOf: + - $ref: '#/components/schemas/AnnotationHistoryActionEnum' + description: |- + Action which was performed in the last annotation history item + + * `prediction` - Created from prediction + * `propagated_annotation` - Created from another annotation + * `imported` - Imported + * `submitted` - Submitted + * `updated` - Updated + * `skipped` - Skipped + * `accepted` - Accepted + * `rejected` - Rejected + * `fixed_and_accepted` - Fixed and accepted + * `deleted_review` - Deleted review + nullable: true + last_created_by: + description: User who created the last annotation history item + nullable: true + type: integer + lead_time: + description: How much time it took to annotate the task + format: double + nullable: true + type: number + parent_annotation: + description: Points to the parent annotation from which this annotation was created + nullable: true + type: integer + parent_prediction: + description: Points to the prediction from which this annotation was created + nullable: true + type: integer + project: + description: Project ID for this annotation + nullable: true + type: integer + result: + description: List of annotation results for the task + items: + description: List of annotated regions for the task + title: Annotation result items (regions) + type: object + title: Annotation result list + type: array + task: + description: Corresponding task for this annotation + nullable: true + type: integer + unique_id: + minLength: 1 + type: string + writeOnly: true + updated_by: + description: Last user who updated this annotation + nullable: true + type: integer + was_cancelled: + description: User skipped the task + type: boolean + type: object PatchedAnnotationReviewRequest: description: |- AnnotationReview Serializer with FSM state support. @@ -39216,6 +37951,104 @@ components: nullable: true type: string type: object + PatchedAzureBlobExportStorageWriteRequest: + properties: + account_key: + description: Azure Blob account key + nullable: true + type: string + account_name: + description: Azure Blob account name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + container: + description: Azure blob container + nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + prefix: + description: Azure blob prefix name + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object + PatchedAzureBlobImportStorageWriteRequest: + properties: + account_key: + description: Azure Blob account key + nullable: true + type: string + account_name: + description: Azure Blob account name + nullable: true + type: string + container: + description: Azure blob container + nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + prefix: + description: Azure blob prefix name + nullable: true + type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the container content + nullable: true + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object PatchedAzureDatasetStorageRequest: properties: account_key: @@ -39538,7 +38371,7 @@ components: maxLength: 255 type: string type: object - PatchedDatabricksExportStorageRequest: + PatchedDatabricksExportStorageWriteRequest: description: Serializer for Databricks export storage with multi-auth support. properties: auth_type: @@ -39574,25 +38407,6 @@ components: description: Databricks workspace base URL (https://...) minLength: 1 type: string - last_sync: - description: Last sync finished time - format: date-time - nullable: true - type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 - minimum: 0 - nullable: true - type: integer - last_sync_job: - description: Last sync job ID - maxLength: 256 - nullable: true - type: string - meta: - description: Meta and debug information about storage processes - nullable: true prefix: description: Export path prefix under the volume nullable: true @@ -39612,8 +38426,6 @@ components: description: UC schema name minLength: 1 type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' stream_chunk_bytes: maximum: 2147483647 minimum: 0 @@ -39633,10 +38445,6 @@ components: description: Databricks personal access token (required for PAT mode) type: string writeOnly: true - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string use_blob_urls: description: Generate blob URLs in tasks type: boolean @@ -39648,7 +38456,7 @@ components: minLength: 1 type: string type: object - PatchedDatabricksImportStorageRequest: + PatchedDatabricksImportStorageWriteRequest: description: Serializer for Databricks import storage with multi-auth support. properties: auth_type: @@ -39680,25 +38488,6 @@ components: description: Databricks workspace base URL (https://...) minLength: 1 type: string - last_sync: - description: Last sync finished time - format: date-time - nullable: true - type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 - minimum: 0 - nullable: true - type: integer - last_sync_job: - description: Last sync job ID - maxLength: 256 - nullable: true - type: string - meta: - description: Meta and debug information about storage processes - nullable: true prefix: description: Path under the volume nullable: true @@ -39729,8 +38518,6 @@ components: description: UC schema name minLength: 1 type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' stream_chunk_bytes: maximum: 2147483647 minimum: 0 @@ -39750,10 +38537,6 @@ components: description: Databricks personal access token (required for PAT mode) type: string writeOnly: true - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string use_blob_urls: description: Generate blob URLs in tasks type: boolean @@ -39765,6 +38548,15 @@ components: minLength: 1 type: string type: object + PatchedDatasetImportCandidatesPatchRequest: + properties: + job_id: + type: integer + signal: + description: Operation type. + minLength: 1 + type: string + type: object PatchedDatasetRequest: properties: columns: @@ -40049,6 +38841,104 @@ components: description: Interpret objects as BLOBs and generate URLs type: boolean type: object + PatchedGCSExportStorageWriteRequest: + properties: + bucket: + description: GCS bucket name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + description: + description: Cloud storage description + nullable: true + type: string + google_application_credentials: + description: The content of GOOGLE_APPLICATION_CREDENTIALS json file + nullable: true + type: string + google_project_id: + description: Google project ID + nullable: true + type: string + prefix: + description: GCS bucket prefix + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object + PatchedGCSImportStorageWriteRequest: + properties: + bucket: + description: GCS bucket name + nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + google_application_credentials: + description: The content of GOOGLE_APPLICATION_CREDENTIALS json file + nullable: true + type: string + google_project_id: + description: Google project ID + nullable: true + type: string + prefix: + description: GCS bucket prefix + nullable: true + type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + nullable: true + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object PatchedGCSSAExportStorageRequest: properties: bucket: @@ -40532,6 +39422,72 @@ components: nullable: true type: integer type: object + PatchedLocalFilesExportStorageWriteRequest: + properties: + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + description: + description: Cloud storage description + nullable: true + type: string + path: + description: Local path + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object + PatchedLocalFilesImportStorageWriteRequest: + properties: + description: + description: Cloud storage description + nullable: true + type: string + path: + description: Local path + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the directory content + nullable: true + type: boolean + regex_filter: + description: Regex for filtering objects + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object PatchedLseInterfaceRequest: properties: artifacts: @@ -41203,6 +40159,51 @@ components: minLength: 1 type: string type: object + PatchedMLBackendRequestRequest: + description: OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer. + properties: + auth_method: + $ref: '#/components/schemas/AuthMethodEnum' + auto_update: + description: If false, model version is set by the user, if true - getting latest version from backend. + type: boolean + basic_auth_pass: + nullable: true + type: string + writeOnly: true + basic_auth_user: + description: HTTP Basic Auth user + nullable: true + type: string + description: + description: Description for the machine learning backend + nullable: true + type: string + extra_params: + description: Any extra parameters passed to the ML Backend during the setup + nullable: true + is_interactive: + description: Used to interactively annotate tasks. If true, model returns one list with results + type: boolean + model_version: + description: Current model version associated with this machine learning backend + nullable: true + type: string + project: + type: integer + timeout: + description: Response model timeout + format: double + type: number + title: + description: Name of the machine learning backend + nullable: true + type: string + url: + description: URL for the machine learning model server + minLength: 1 + type: string + type: object PatchedModelInterfaceRequest: properties: associated_projects: @@ -41357,6 +40358,51 @@ components: nullable: true type: string type: object + PatchedPredictionRequest: + properties: + cluster: + description: Cluster for the current prediction + maximum: 2147483647 + minimum: -2147483648 + nullable: true + type: integer + mislabeling: + description: Related task mislabeling score + format: double + type: number + model: + description: An ML Backend instance that created the prediction. + nullable: true + type: integer + model_run: + description: A run of a ModelVersion that created the prediction. + nullable: true + type: integer + model_version: + description: Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface + type: string + neighbors: + description: Array of task IDs of the closest neighbors + nullable: true + project: + nullable: true + type: integer + result: + description: List of prediction results for the task + items: + description: List of predicted regions for the task + title: Prediction result items (regions) + type: object + title: Prediction result list + type: array + score: + description: Prediction score + format: double + nullable: true + type: number + task: + type: integer + type: object PatchedProjectLearningAssignmentRequest: properties: allow_manual_access: @@ -41422,6 +40468,104 @@ components: type: boolean tags: {} type: object + PatchedRedisExportStorageWriteRequest: + properties: + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + db: + description: Server Database + maximum: 32767 + minimum: 0 + type: integer + description: + description: Cloud storage description + nullable: true + type: string + host: + description: Server Host IP (optional) + nullable: true + type: string + password: + description: Server Password (optional) + nullable: true + type: string + path: + description: Storage prefix (optional) + nullable: true + type: string + port: + description: Server Port (optional) + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + title: Port + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object + PatchedRedisImportStorageWriteRequest: + properties: + db: + description: Server Database + maximum: 32767 + minimum: 0 + type: integer + description: + description: Cloud storage description + nullable: true + type: string + host: + description: Server Host IP (optional) + nullable: true + type: string + password: + description: Server Password (optional) + nullable: true + type: string + path: + description: Storage prefix (optional) + nullable: true + type: string + port: + description: Server Port (optional) + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + title: Port + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object PatchedS3DatasetStorageRequest: properties: aws_access_key_id: @@ -41522,6 +40666,135 @@ components: description: Interpret objects as BLOBs and generate URLs type: boolean type: object + PatchedS3ExportStorageWriteRequest: + properties: + aws_access_key_id: + description: AWS_ACCESS_KEY_ID + nullable: true + type: string + aws_secret_access_key: + description: AWS_SECRET_ACCESS_KEY + nullable: true + type: string + aws_session_token: + description: AWS_SESSION_TOKEN + nullable: true + type: string + aws_sse_kms_key_id: + description: AWS SSE KMS Key ID + nullable: true + type: string + bucket: + description: S3 bucket name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + description: + description: Cloud storage description + nullable: true + type: string + prefix: + description: S3 bucket prefix + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + region_name: + description: AWS Region + nullable: true + type: string + s3_endpoint: + description: S3 Endpoint + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object + PatchedS3ImportStorageWriteRequest: + properties: + aws_access_key_id: + description: AWS_ACCESS_KEY_ID + nullable: true + type: string + aws_secret_access_key: + description: AWS_SECRET_ACCESS_KEY + nullable: true + type: string + aws_session_token: + description: AWS_SESSION_TOKEN + nullable: true + type: string + aws_sse_kms_key_id: + description: AWS SSE KMS Key ID + nullable: true + type: string + bucket: + description: S3 bucket name + nullable: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + prefix: + description: S3 bucket prefix + nullable: true + type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + region_name: + description: AWS Region + nullable: true + type: string + s3_endpoint: + description: S3 Endpoint + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + type: object PatchedSessionTimeoutPolicyRequest: properties: max_session_age: @@ -41537,6 +40810,15 @@ components: title: Max time (minutes) between activity type: integer type: object + PatchedTaskAssigneesMutationRequest: + properties: + type: + $ref: '#/components/schemas/AssignmentTypeEnum' + users: + items: + type: integer + type: array + type: object PatchedThirdPartyModelVersionRequest: properties: max_few_shot_examples: @@ -41582,6 +40864,15 @@ components: minLength: 1 type: string type: object + PatchedViewRequestRequest: + description: Public view write contract; runtime conversion remains in ``ViewSerializer``. + properties: + data: + $ref: '#/components/schemas/ViewDataRequestRequest' + project: + description: Project ID + type: integer + type: object PatchedWebhookSerializerForUpdateRequest: description: |- Serializer class for updating webhooks @@ -41871,6 +41162,264 @@ components: - result - task type: object + PrepareParamsFiltersRequest: + description: 'Filters to apply on tasks. You can use [the helper class `Filters` from this page](https://labelstud.io/sdk/data_manager.html) to create Data Manager Filters.
    Example: `{"conjunction": "or", "items": [{"filter": "filter:tasks:completed_at", "operator": "greater", "type": "Datetime", "value": "2021-01-01T00:00:00.000Z"}]}`' + properties: + conjunction: + allOf: + - $ref: '#/components/schemas/ConjunctionEnum' + description: Logical conjunction for the filters. This conjunction (either "or" or "and") will be applied to all items in the filters list. It is not possible to combine "or" and "and" within one list of filters. All filters will be either combined with "or" or with "and", but not a mix of both. + items: + description: List of filter items + items: + example: + filter: filter:tasks:id + operator: greater + type: Number + value: 123 + properties: + child_filters: + description: Ordered child filters AND-merged with their parent. Child filters cannot be nested. + items: + properties: + filter: + description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' + enum: + - filter:tasks:agreement + - filter:tasks:annotations_results + - filter:tasks:annotators + - filter:tasks:cancelled_annotations + - filter:tasks:comments + - filter:tasks:completed_at + - filter:tasks:created_at + - filter:tasks:file_upload + - filter:tasks:ground_truth + - filter:tasks:id + - filter:tasks:inner_id + - filter:tasks:predictions_model_versions + - filter:tasks:predictions_results + - filter:tasks:predictions_score + - filter:tasks:reviewed + - filter:tasks:reviewers + - filter:tasks:reviews_accepted + - filter:tasks:reviews_rejected + - filter:tasks:total_annotations + - filter:tasks:total_predictions + - filter:tasks:unresolved_comment_count + - filter:tasks:updated_at + type: string + operator: + description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' + enum: + - contains + - ends_with + - equal + - exists + - greater + - greater_or_equal + - in + - in_list + - less + - less_or_equal + - not_contains + - not_equal + - not_exists + - not_in + - not_in_list + - starts_with + type: string + type: + description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • + type: string + value: + description: Value to filter by + oneOf: + - description: String + title: String + type: string + - description: Integer + title: Integer + type: integer + - description: Float + format: float + title: Float + type: number + - description: Boolean + title: Boolean + type: boolean + - description: Dictionary is used for some operator types, e.g. `in` and `not_in` + title: Dictionary + type: object + - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. + title: List + type: object + type: object + required: + - filter + - operator + - type + - value + type: object + type: array + filter: + description: 'Filter identifier, it should start with `filter:tasks:` prefix, e.g. `filter:tasks:agreement`. For `task.data` fields it may look like `filter:tasks:data.field_name`. If you need more info about columns, check the [Get data manager columns](api:GET/api/dm/columns/) API endpoint. Possible values:
  • `filter:tasks:agreement`
    (Number) Agreement for annotation results for a specific task (Enterprise only)

  • `filter:tasks:annotations_results`
    (String) Annotation results for the tasks

  • `filter:tasks:annotators`
    (List) Annotators that completed the task (Community). Can include assigned annotators (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:cancelled_annotations`
    (Number) Number of cancelled or skipped annotations for the task

  • `filter:tasks:comments`
    (Number) Number of comments in a task

  • `filter:tasks:completed_at`
    (Datetime) Time when a task was fully annotated

  • `filter:tasks:created_at`
    (Datetime) Time the task was created at

  • `filter:tasks:file_upload`
    (String) Name of the file uploaded to create the tasks

  • `filter:tasks:ground_truth`
    (Boolean) Ground truth status of the tasks

  • `filter:tasks:id`
    (Number) Task ID

  • `filter:tasks:inner_id`
    (Number) Task Inner ID, it starts from 1 for all projects

  • `filter:tasks:predictions_model_versions`
    (String) Model version used for the predictions

  • `filter:tasks:predictions_results`
    (String) Prediction results for the tasks

  • `filter:tasks:predictions_score`
    (Number) Prediction score for the task

  • `filter:tasks:reviewed`
    (Boolean) Whether the tasks have been reviewed (Enterprise only)

  • `filter:tasks:reviewers`
    (String) Reviewers that reviewed the task, or assigned reviewers (Enterprise only). Important note: the filter `type` should be List, but the filter `value` is integer

  • `filter:tasks:reviews_accepted`
    (Number) Number of annotations accepted for a task in review (Enterprise only)

  • `filter:tasks:reviews_rejected`
    (Number) Number of annotations rejected for a task in review (Enterprise only)

  • `filter:tasks:total_annotations`
    (Number) Total number of annotations on a task

  • `filter:tasks:total_predictions`
    (Number) Total number of predictions for the task

  • `filter:tasks:unresolved_comment_count`
    (Number) Number of unresolved comments in a task

  • `filter:tasks:updated_at`
    (Datetime) Time the task was updated at (e.g. new annotation was created, review added, etc)
  • ' + enum: + - filter:tasks:agreement + - filter:tasks:annotations_results + - filter:tasks:annotators + - filter:tasks:cancelled_annotations + - filter:tasks:comments + - filter:tasks:completed_at + - filter:tasks:created_at + - filter:tasks:file_upload + - filter:tasks:ground_truth + - filter:tasks:id + - filter:tasks:inner_id + - filter:tasks:predictions_model_versions + - filter:tasks:predictions_results + - filter:tasks:predictions_score + - filter:tasks:reviewed + - filter:tasks:reviewers + - filter:tasks:reviews_accepted + - filter:tasks:reviews_rejected + - filter:tasks:total_annotations + - filter:tasks:total_predictions + - filter:tasks:unresolved_comment_count + - filter:tasks:updated_at + type: string + operator: + description: 'Filter operator. Possible values:
  • `contains`
    Contains

  • `ends_with`
    Ends with

  • `equal`
    Equal to

  • `exists`
    Exists

  • `greater`
    Greater than

  • `greater_or_equal`
    Greater than or equal to

  • `in`
    Is between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `in_list`
    Field value is one of the items in the supplied list. Value must be a JSON array of strings or numbers, e.g. `[1, 2, 3]` or `["a", "b"]`. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `less`
    Less than

  • `less_or_equal`
    Less than or equal to

  • `not_contains`
    Does not contain

  • `not_equal`
    Not equal to

  • `not_exists`
    Does not exist

  • `not_in`
    Is not between min and max values, so the filter `value` should be e.g. `{"min": 1, "max": 7}`

  • `not_in_list`
    Field value is NOT in the supplied list. Value must be a JSON array of strings or numbers. Supported only for Task ID, Inner ID, and `task.data.*` fields.

  • `starts_with`
    Starts with
  • ' + enum: + - contains + - ends_with + - equal + - exists + - greater + - greater_or_equal + - in + - in_list + - less + - less_or_equal + - not_contains + - not_equal + - not_exists + - not_in + - not_in_list + - starts_with + type: string + type: + description: Type of the filter value. Possible values:
  • `Boolean`
    Boolean

  • `Datetime`
    Datetime string in `strftime('%Y-%m-%dT%H:%M:%S.%fZ')` format

  • `List`
    List of items

  • `Number`
    Float or Integer

  • `String`
    String

  • `Unknown`
    Unknown is explicitly converted to string format
  • + type: string + value: + description: Value to filter by + oneOf: + - description: String + title: String + type: string + - description: Integer + title: Integer + type: integer + - description: Float + format: float + title: Float + type: number + - description: Boolean + title: Boolean + type: boolean + - description: Dictionary is used for some operator types, e.g. `in` and `not_in` + title: Dictionary + type: object + - description: List of strings or integers. Used by the `in_list` and `not_in_list` operators, e.g. `[1, 2, 3]` or `["a", "b"]`. + title: List + type: object + type: object + required: + - filter + - operator + - type + - value + type: object + type: array + required: + - conjunction + - items + type: object + PrepareParamsOrderingRequest: + description: List of fields to order by. Fields are similar to filters but without the `filter:` prefix. To reverse the order, add a minus sign before the field name, e.g. `-tasks:created_at`. + items: + enum: + - tasks:agreement + - tasks:annotations_results + - tasks:annotators + - tasks:cancelled_annotations + - tasks:comments + - tasks:completed_at + - tasks:created_at + - tasks:file_upload + - tasks:ground_truth + - tasks:id + - tasks:inner_id + - tasks:predictions_model_versions + - tasks:predictions_results + - tasks:predictions_score + - tasks:reviewed + - tasks:reviewers + - tasks:reviews_accepted + - tasks:reviews_rejected + - tasks:total_annotations + - tasks:total_predictions + - tasks:unresolved_comment_count + - tasks:updated_at + type: string + type: array + PrepareParamsRequestRequest: + properties: + filters: + allOf: + - $ref: '#/components/schemas/PrepareParamsFiltersRequest' + nullable: true + ordering: + allOf: + - $ref: '#/components/schemas/PrepareParamsOrderingRequest' + nullable: true + selectedItems: + description: 'Task selection by IDs. If filters are applied, the selection will be applied to the filtered tasks.If "all" is `false`, `"included"` must be used. If "all" is `true`, `"excluded"` must be used.
    Examples: `{"all": false, "included": [1, 2, 3]}` or `{"all": true, "excluded": [4, 5]}`' + nullable: true + oneOf: + - properties: + all: + description: No tasks are selected + enum: + - false + type: boolean + included: + description: List of included task IDs + items: + type: integer + type: array + required: + - all + title: 'all: false' + type: object + - properties: + all: + description: All tasks are selected + enum: + - true + type: boolean + excluded: + description: List of excluded task IDs + items: + type: integer + type: array + required: + - all + title: 'all: true' + type: object + required: + - all + type: object + type: object Project: description: |- Serializer get numbers from project queryset annotation, @@ -42965,13 +42514,206 @@ components: - project - type type: object - RedisImportStorage: + RedisExportStorageValidateRequest: + properties: + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + db: + description: Server Database + maximum: 32767 + minimum: 0 + type: integer + description: + description: Cloud storage description + nullable: true + type: string + host: + description: Server Host IP (optional) + nullable: true + type: string + id: + description: Storage ID. If set, storage with specified ID will be updated + type: integer + password: + description: Server Password (optional) + nullable: true + type: string + path: + description: Storage prefix (optional) + nullable: true + type: string + port: + description: Server Port (optional) + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + title: Port + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + RedisExportStorageWriteRequest: + properties: + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + db: + description: Server Database + maximum: 32767 + minimum: 0 + type: integer + description: + description: Cloud storage description + nullable: true + type: string + host: + description: Server Host IP (optional) + nullable: true + type: string + password: + description: Server Password (optional) + nullable: true + type: string + path: + description: Storage prefix (optional) + nullable: true + type: string + port: + description: Server Port (optional) + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + title: Port + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + RedisImportStorage: + properties: + created_at: + description: Creation time + format: date-time + readOnly: true + type: string + db: + description: Server Database + maximum: 32767 + minimum: 0 + type: integer + description: + description: Cloud storage description + nullable: true + type: string + host: + description: Server Host IP (optional) + nullable: true + type: string + id: + readOnly: true + type: integer + last_sync: + description: Last sync finished time + format: date-time + nullable: true + type: string + last_sync_count: + description: Count of tasks synced last time + maximum: 2147483647 + minimum: 0 + nullable: true + type: integer + last_sync_job: + description: Last sync job ID + maxLength: 256 + nullable: true + type: string + meta: + description: Meta and debug information about storage processes + nullable: true + password: + description: Server Password (optional) + nullable: true + type: string + path: + description: Storage prefix (optional) + nullable: true + type: string + port: + description: Server Port (optional) + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + title: Port + type: string + status: + $ref: '#/components/schemas/StorageStatusEnum' + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + traceback: + description: Traceback report for the last failed sync + nullable: true + type: string + type: + default: redis + readOnly: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - created_at + - id + - project + - type + type: object + RedisImportStorageValidateRequest: properties: - created_at: - description: Creation time - format: date-time - readOnly: true - type: string db: description: Server Database maximum: 32767 @@ -42986,27 +42728,57 @@ components: nullable: true type: string id: - readOnly: true + description: Storage ID. If set, storage with specified ID will be updated type: integer - last_sync: - description: Last sync finished time - format: date-time + password: + description: Server Password (optional) nullable: true type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 - minimum: 0 + path: + description: Storage prefix (optional) nullable: true + type: string + port: + description: Server Port (optional) + nullable: true + type: string + project: + description: A unique integer value identifying this project. type: integer - last_sync_job: - description: Last sync job ID + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + title: Port + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title maxLength: 256 nullable: true type: string - meta: - description: Meta and debug information about storage processes + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + RedisImportStorageWriteRequest: + properties: + db: + description: Server Database + maximum: 32767 + minimum: 0 + type: integer + description: + description: Cloud storage description nullable: true + type: string + host: + description: Server Host IP (optional) + nullable: true + type: string password: description: Server Password (optional) nullable: true @@ -43027,8 +42799,6 @@ components: nullable: true title: Port type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' synchronizable: default: true type: boolean @@ -43037,22 +42807,11 @@ components: maxLength: 256 nullable: true type: string - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string - type: - default: redis - readOnly: true - type: string use_blob_urls: description: Interpret objects as BLOBs and generate URLs type: boolean required: - - created_at - - id - project - - type type: object RefinePromptRequestRequest: properties: @@ -43575,12 +43334,217 @@ components: type: boolean required: - created_at - - dataset + - dataset + - id + - job_id + - type + type: object + S3DatasetStorageRequest: + properties: + aws_access_key_id: + description: AWS_ACCESS_KEY_ID + nullable: true + type: string + aws_secret_access_key: + description: AWS_SECRET_ACCESS_KEY + nullable: true + type: string + aws_session_token: + description: AWS_SESSION_TOKEN + nullable: true + type: string + aws_sse_kms_key_id: + description: AWS SSE KMS Key ID + nullable: true + type: string + bucket: + description: S3 bucket name + nullable: true + type: string + dataset: + description: A unique integer value identifying this dataset. + type: integer + description: + description: Cloud storage description + nullable: true + type: string + glob_pattern: + description: Glob pattern for syncing from bucket + nullable: true + type: string + last_sync: + description: Last sync finished time + format: date-time + nullable: true + type: string + last_sync_count: + description: Count of tasks synced last time + maximum: 2147483647 + minimum: 0 + nullable: true + type: integer + last_sync_job: + description: Last sync job ID + maxLength: 256 + nullable: true + type: string + meta: + description: Meta and debug information about storage processes + nullable: true + prefix: + description: S3 bucket prefix + nullable: true + type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + region_name: + description: AWS Region + nullable: true + type: string + s3_endpoint: + description: S3 Endpoint + nullable: true + type: string + status: + $ref: '#/components/schemas/StorageStatusEnum' + synced: + description: Flag if dataset has been previously synced or not + type: boolean + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + traceback: + description: Traceback report for the last failed sync + nullable: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - dataset + type: object + S3ExportStorage: + properties: + aws_access_key_id: + description: AWS_ACCESS_KEY_ID + nullable: true + type: string + aws_secret_access_key: + description: AWS_SECRET_ACCESS_KEY + nullable: true + type: string + aws_session_token: + description: AWS_SESSION_TOKEN + nullable: true + type: string + aws_sse_kms_key_id: + description: AWS SSE KMS Key ID + nullable: true + type: string + bucket: + description: S3 bucket name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + created_at: + description: Creation time + format: date-time + readOnly: true + type: string + description: + description: Cloud storage description + nullable: true + type: string + id: + readOnly: true + type: integer + last_sync: + description: Last sync finished time + format: date-time + nullable: true + type: string + last_sync_count: + description: Count of tasks synced last time + maximum: 2147483647 + minimum: 0 + nullable: true + type: integer + last_sync_job: + description: Last sync job ID + maxLength: 256 + nullable: true + type: string + meta: + description: Meta and debug information about storage processes + nullable: true + prefix: + description: S3 bucket prefix + nullable: true + type: string + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + region_name: + description: AWS Region + nullable: true + type: string + s3_endpoint: + description: S3 Endpoint + nullable: true + type: string + status: + $ref: '#/components/schemas/StorageStatusEnum' + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title + maxLength: 256 + nullable: true + type: string + traceback: + description: Traceback report for the last failed sync + nullable: true + type: string + type: + default: s3 + readOnly: true + type: string + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - created_at - id - - job_id + - project - type type: object - S3DatasetStorageRequest: + S3ExportStorageValidateRequest: properties: aws_access_key_id: description: AWS_ACCESS_KEY_ID @@ -43602,51 +43566,87 @@ components: description: S3 bucket name nullable: true type: string - dataset: - description: A unique integer value identifying this dataset. - type: integer + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean description: description: Cloud storage description nullable: true type: string - glob_pattern: - description: Glob pattern for syncing from bucket + id: + description: Storage ID. If set, storage with specified ID will be updated + type: integer + prefix: + description: S3 bucket prefix nullable: true type: string - last_sync: - description: Last sync finished time - format: date-time + project: + description: A unique integer value identifying this project. + type: integer + regex_filter: + description: Cloud storage regex for filtering objects nullable: true type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 - minimum: 0 + region_name: + description: AWS Region nullable: true - type: integer - last_sync_job: - description: Last sync job ID + type: string + s3_endpoint: + description: S3 Endpoint + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title maxLength: 256 nullable: true type: string - meta: - description: Meta and debug information about storage processes + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + S3ExportStorageWriteRequest: + properties: + aws_access_key_id: + description: AWS_ACCESS_KEY_ID + nullable: true + type: string + aws_secret_access_key: + description: AWS_SECRET_ACCESS_KEY + nullable: true + type: string + aws_session_token: + description: AWS_SESSION_TOKEN nullable: true + type: string + aws_sse_kms_key_id: + description: AWS SSE KMS Key ID + nullable: true + type: string + bucket: + description: S3 bucket name + nullable: true + type: string + can_delete_objects: + description: Deletion from storage enabled + nullable: true + type: boolean + description: + description: Cloud storage description + nullable: true + type: string prefix: description: S3 bucket prefix nullable: true type: string - presign: - default: true - type: boolean - presign_ttl: - description: Presigned URLs TTL (in minutes) - maximum: 32767 - minimum: 0 + project: + description: A unique integer value identifying this project. type: integer - recursive_scan: - description: Perform recursive scan over the bucket content - type: boolean regex_filter: description: Cloud storage regex for filtering objects nullable: true @@ -43659,11 +43659,6 @@ components: description: S3 Endpoint nullable: true type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' - synced: - description: Flag if dataset has been previously synced or not - type: boolean synchronizable: default: true type: boolean @@ -43672,17 +43667,13 @@ components: maxLength: 256 nullable: true type: string - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string use_blob_urls: description: Interpret objects as BLOBs and generate URLs type: boolean required: - - dataset + - project type: object - S3ExportStorage: + S3ImportStorage: properties: aws_access_key_id: description: AWS_ACCESS_KEY_ID @@ -43704,10 +43695,6 @@ components: description: S3 bucket name nullable: true type: string - can_delete_objects: - description: Deletion from storage enabled - nullable: true - type: boolean created_at: description: Creation time format: date-time @@ -43743,9 +43730,20 @@ components: description: S3 bucket prefix nullable: true type: string + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 + minimum: 0 + type: integer project: description: A unique integer value identifying this project. type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + type: boolean regex_filter: description: Cloud storage regex for filtering objects nullable: true @@ -43785,7 +43783,7 @@ components: - project - type type: object - S3ImportStorage: + S3ImportStorageValidateRequest: properties: aws_access_key_id: description: AWS_ACCESS_KEY_ID @@ -43807,37 +43805,83 @@ components: description: S3 bucket name nullable: true type: string - created_at: - description: Creation time - format: date-time - readOnly: true - type: string description: description: Cloud storage description nullable: true type: string id: - readOnly: true + description: Storage ID. If set, storage with specified ID will be updated type: integer - last_sync: - description: Last sync finished time - format: date-time + prefix: + description: S3 bucket prefix nullable: true type: string - last_sync_count: - description: Count of tasks synced last time - maximum: 2147483647 + presign: + default: true + type: boolean + presign_ttl: + description: Presigned URLs TTL (in minutes) + maximum: 32767 minimum: 0 - nullable: true type: integer - last_sync_job: - description: Last sync job ID + project: + description: A unique integer value identifying this project. + type: integer + recursive_scan: + description: Perform recursive scan over the bucket content + type: boolean + regex_filter: + description: Cloud storage regex for filtering objects + nullable: true + type: string + region_name: + description: AWS Region + nullable: true + type: string + s3_endpoint: + description: S3 Endpoint + nullable: true + type: string + synchronizable: + default: true + type: boolean + title: + description: Cloud storage title maxLength: 256 nullable: true type: string - meta: - description: Meta and debug information about storage processes + use_blob_urls: + description: Interpret objects as BLOBs and generate URLs + type: boolean + required: + - project + type: object + S3ImportStorageWriteRequest: + properties: + aws_access_key_id: + description: AWS_ACCESS_KEY_ID + nullable: true + type: string + aws_secret_access_key: + description: AWS_SECRET_ACCESS_KEY + nullable: true + type: string + aws_session_token: + description: AWS_SESSION_TOKEN + nullable: true + type: string + aws_sse_kms_key_id: + description: AWS SSE KMS Key ID + nullable: true + type: string + bucket: + description: S3 bucket name + nullable: true + type: string + description: + description: Cloud storage description nullable: true + type: string prefix: description: S3 bucket prefix nullable: true @@ -43868,8 +43912,6 @@ components: description: S3 Endpoint nullable: true type: string - status: - $ref: '#/components/schemas/StorageStatusEnum' synchronizable: default: true type: boolean @@ -43878,22 +43920,11 @@ components: maxLength: 256 nullable: true type: string - traceback: - description: Traceback report for the last failed sync - nullable: true - type: string - type: - default: s3 - readOnly: true - type: string use_blob_urls: description: Interpret objects as BLOBs and generate URLs type: boolean required: - - created_at - - id - project - - type type: object SamlSettings: description: |- @@ -44330,21 +44361,6 @@ components: - matrix - project_matrix type: string - SelectedItemsRequest: - properties: - all: - type: boolean - excluded: - items: - type: integer - type: array - included: - items: - type: integer - type: array - required: - - all - type: object SendInviteRequest: properties: emails: @@ -44806,6 +44822,18 @@ components: - matrix - users type: object + TaskAssigneesMutationRequest: + properties: + type: + $ref: '#/components/schemas/AssignmentTypeEnum' + users: + items: + type: integer + type: array + required: + - type + - users + type: object TaskAssignment: description: |- TaskAssignment Serializer with FSM state support. @@ -44836,7 +44864,7 @@ components: type: integer type: allOf: - - $ref: '#/components/schemas/TypeEnum' + - $ref: '#/components/schemas/AssignmentTypeEnum' description: |- Type of assignment: Annotate|Review @@ -45274,14 +45302,6 @@ components: - task_id - usage type: object - TypeEnum: - description: |- - * `AN` - Annotate - * `RE` - Review - enum: - - AN - - RE - type: string UserLearningProgressList: properties: completed_at: @@ -45605,6 +45625,18 @@ components: - locked_by - project type: object + ViewDataRequestRequest: + description: Established public view payload nested under ``data``. + properties: + filters: + allOf: + - $ref: '#/components/schemas/PrepareParamsFiltersRequest' + nullable: true + ordering: + allOf: + - $ref: '#/components/schemas/PrepareParamsOrderingRequest' + nullable: true + type: object ViewOrderRequest: properties: ids: @@ -45618,6 +45650,15 @@ components: - ids - project type: object + ViewRequestRequest: + description: Public view write contract; runtime conversion remains in ``ViewSerializer``. + properties: + data: + $ref: '#/components/schemas/ViewDataRequestRequest' + project: + description: Project ID + type: integer + type: object Webhook: properties: actions: