From 6780413ce90706af416dfb7cf8d9cd96819acae9 Mon Sep 17 00:00:00 2001 From: Dmitry Ermakovich Date: Tue, 24 Feb 2026 11:15:42 +0300 Subject: [PATCH] feat: update cloud --- .swagger/cloud-swagger.json | 1010 ++++++++--------- README.md | 13 +- docs/ApiV2TestResultsSearchPostRequest.md | 2 + docs/ApiV2WorkItemsCommentsPostRequest.md | 4 +- docs/ApiV2WorkItemsCommentsPutRequest.md | 2 +- docs/AutoTestFilterApiModel.md | 1 + docs/AutoTestFilterModel.md | 1 + docs/AutoTestSearchApiModelFilter.md | 1 + docs/AutoTestSelectModelFilter.md | 1 + ...el.md => CreateWorkItemCommentApiModel.md} | 7 +- ...ualRerunSelectTestResultsApiModelFilter.md | 2 + docs/{RerunsModel.md => RerunsApiResult.md} | 4 +- docs/SearchWorkItemsRequest.md | 4 +- docs/TestResultShortResponse.md | 1 + docs/TestResultsApi.md | 6 +- docs/TestResultsFilterApiModel.md | 2 + docs/TestResultsSelectApiModelFilter.md | 2 + docs/TestSuiteWorkItemsSearchModel.md | 4 +- ...el.md => UpdateWorkItemCommentApiModel.md} | 4 +- docs/UserRankModel.md | 19 - docs/UserWithRankModel.md | 24 - docs/UserWithRankModelUserRank.md | 20 - docs/WorkItemChangeModel.md | 4 +- docs/WorkItemCommentApiResult.md | 16 + docs/WorkItemCommentModel.md | 17 - docs/WorkItemCommentModelUser.md | 25 - docs/WorkItemCommentPostModel.md | 12 - docs/WorkItemFilterModel.md | 4 +- docs/WorkItemLocalFilterModel.md | 2 + docs/WorkItemLocalSelectModelFilter.md | 2 + docs/WorkItemSearchQueryModel.md | 3 +- docs/WorkItemSelectModelFilter.md | 4 +- docs/WorkItemsCommentsApi.md | 12 +- docs/WorkflowsApi.md | 20 +- genConfig.yml | 2 +- run.sh | 2 +- setup.py | 2 +- src/testit_api_client/__init__.py | 2 +- src/testit_api_client/api/test_results_api.py | 6 +- .../api/work_items_comments_api.py | 10 +- src/testit_api_client/api/workflows_api.py | 45 +- src/testit_api_client/api_client.py | 2 +- src/testit_api_client/configuration.py | 2 +- .../api_v2_test_results_id_put_request.py | 4 +- ...api_v2_test_results_search_post_request.py | 8 + ...api_v2_work_items_comments_post_request.py | 18 +- .../api_v2_work_items_comments_put_request.py | 14 +- .../model/auto_test_filter_api_model.py | 6 + .../model/auto_test_filter_model.py | 4 + .../auto_test_search_api_model_filter.py | 6 + .../model/auto_test_select_model_filter.py | 4 + ... => create_work_item_comment_api_model.py} | 26 +- ...un_select_test_results_api_model_filter.py | 8 + .../model/rerun_test_result_model.py | 273 ----- .../{reruns_model.py => reruns_api_result.py} | 16 +- .../model/search_work_items_request.py | 16 +- .../model/test_result_short_response.py | 10 +- .../model/test_result_update_v2_request.py | 4 +- .../model/test_results_filter_api_model.py | 8 + .../test_results_select_api_model_filter.py | 8 + .../test_suite_work_items_search_model.py | 16 +- ... => update_work_item_comment_api_model.py} | 22 +- .../model/user_rank_model.py | 311 ----- .../model/user_with_rank_model.py | 344 ------ .../model/user_with_rank_model_user_rank.py | 351 ------ .../model/work_item_change_model.py | 20 +- ...del.py => work_item_comment_api_result.py} | 55 +- .../model/work_item_comment_model_user.py | 373 ------ .../model/work_item_filter_model.py | 16 +- .../model/work_item_local_filter_model.py | 12 + .../work_item_local_select_model_filter.py | 12 + .../model/work_item_search_query_model.py | 14 +- .../model/work_item_select_model_filter.py | 16 +- src/testit_api_client/models/__init__.py | 13 +- 74 files changed, 766 insertions(+), 2570 deletions(-) rename docs/{RerunTestResultModel.md => CreateWorkItemCommentApiModel.md} (67%) rename docs/{RerunsModel.md => RerunsApiResult.md} (73%) rename docs/{WorkItemCommentPutModel.md => UpdateWorkItemCommentApiModel.md} (81%) delete mode 100644 docs/UserRankModel.md delete mode 100644 docs/UserWithRankModel.md delete mode 100644 docs/UserWithRankModelUserRank.md create mode 100644 docs/WorkItemCommentApiResult.md delete mode 100644 docs/WorkItemCommentModel.md delete mode 100644 docs/WorkItemCommentModelUser.md delete mode 100644 docs/WorkItemCommentPostModel.md rename src/testit_api_client/model/{work_item_comment_post_model.py => create_work_item_comment_api_model.py} (95%) delete mode 100644 src/testit_api_client/model/rerun_test_result_model.py rename src/testit_api_client/model/{reruns_model.py => reruns_api_result.py} (95%) rename src/testit_api_client/model/{work_item_comment_put_model.py => update_work_item_comment_api_model.py} (96%) delete mode 100644 src/testit_api_client/model/user_rank_model.py delete mode 100644 src/testit_api_client/model/user_with_rank_model.py delete mode 100644 src/testit_api_client/model/user_with_rank_model_user_rank.py rename src/testit_api_client/model/{work_item_comment_model.py => work_item_comment_api_result.py} (88%) delete mode 100644 src/testit_api_client/model/work_item_comment_model_user.py diff --git a/.swagger/cloud-swagger.json b/.swagger/cloud-swagger.json index dda80ce9..2fd3fbf7 100644 --- a/.swagger/cloud-swagger.json +++ b/.swagger/cloud-swagger.json @@ -22467,7 +22467,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RerunsModel" + "$ref": "#/components/schemas/RerunsApiResult" } } } @@ -28352,15 +28352,6 @@ ], "requestBody": { "content": { - "application/json-patch+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SearchWorkflowsApiModel" - } - ] - } - }, "application/json": { "schema": { "allOf": [ @@ -28369,24 +28360,6 @@ } ] } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SearchWorkflowsApiModel" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SearchWorkflowsApiModel" - } - ] - } } } }, @@ -28394,20 +28367,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/WorkflowShortApiResultReply" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowShortApiResultReply" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/WorkflowShortApiResultReply" - } } } }, @@ -28494,20 +28457,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/WorkflowApiResult" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowApiResult" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/WorkflowApiResult" - } } } }, @@ -28590,15 +28543,6 @@ ], "requestBody": { "content": { - "application/json-patch+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateWorkflowApiModel" - } - ] - } - }, "application/json": { "schema": { "allOf": [ @@ -28607,24 +28551,6 @@ } ] } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateWorkflowApiModel" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateWorkflowApiModel" - } - ] - } } } }, @@ -28712,14 +28638,6 @@ ], "requestBody": { "content": { - "application/json-patch+json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation" - } - } - }, "application/json": { "schema": { "type": "array", @@ -28727,22 +28645,6 @@ "$ref": "#/components/schemas/Operation" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation" - } - } - }, - "application/*+json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation" - } - } } } }, @@ -28912,15 +28814,6 @@ ], "requestBody": { "content": { - "application/json-patch+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SearchWorkflowProjectsApiModel" - } - ] - } - }, "application/json": { "schema": { "allOf": [ @@ -28929,24 +28822,6 @@ } ] } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SearchWorkflowProjectsApiModel" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SearchWorkflowProjectsApiModel" - } - ] - } } } }, @@ -28954,20 +28829,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/WorkflowProjectApiResultReply" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowProjectApiResultReply" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/WorkflowProjectApiResultReply" - } } } }, @@ -29053,20 +28918,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/WorkflowExistsByNameApiResult" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowExistsByNameApiResult" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/WorkflowExistsByNameApiResult" - } } } }, @@ -29140,15 +28995,6 @@ ], "requestBody": { "content": { - "application/json-patch+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateWorkflowApiModel" - } - ] - } - }, "application/json": { "schema": { "allOf": [ @@ -29157,24 +29003,6 @@ } ] } - }, - "text/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateWorkflowApiModel" - } - ] - } - }, - "application/*+json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateWorkflowApiModel" - } - ] - } } } }, @@ -29182,20 +29010,10 @@ "200": { "description": "OK", "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/WorkflowApiResult" - } - }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkflowApiResult" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/WorkflowApiResult" - } } } }, @@ -32312,7 +32130,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/WorkItemCommentModel" + "$ref": "#/components/schemas/WorkItemCommentApiResult" } } } @@ -32487,7 +32305,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/WorkItemCommentPostModel" + "$ref": "#/components/schemas/CreateWorkItemCommentApiModel" } ] } @@ -32500,7 +32318,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/WorkItemCommentModel" + "$ref": "#/components/schemas/WorkItemCommentApiResult" } } } @@ -32578,7 +32396,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/WorkItemCommentPutModel" + "$ref": "#/components/schemas/UpdateWorkItemCommentApiModel" } ] } @@ -33891,6 +33709,15 @@ }, "description": "Specifies an autotest tags to search for", "nullable": true + }, + "excludeTags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies an autotest tags to exclude", + "nullable": true } }, "additionalProperties": false @@ -34026,6 +33853,13 @@ "type": "string" }, "nullable": true + }, + "excludeTags": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true } }, "additionalProperties": false @@ -34284,7 +34118,7 @@ "type": "string", "description": "This property is used to link autotest with project", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "name": { "title": "Autotest name", @@ -34338,27 +34172,27 @@ "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last autotest modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created autotest", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last autotest modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "labels": { "title": "Label of autotest", @@ -35074,7 +34908,8 @@ "$ref": "#/components/schemas/AutoTestStep" }, "description": "Includes a nested step inside another step. The maximum nesting level is 15.", - "nullable": true + "nullable": true, + "example": "\n [{ \"title\": \"string\", \"description\": \"string\", \"steps\": [{ \"title\": \"string\", \"description\": \"string\", }], }]\n " } }, "additionalProperties": false @@ -35101,7 +34936,8 @@ "$ref": "#/components/schemas/AutoTestStepApiModel" }, "description": "Includes a nested step inside another step. The maximum nesting level is 15.", - "nullable": true + "nullable": true, + "example": "\n [{ \"title\": \"string\", \"description\": \"string\", \"steps\": [{ \"title\": \"string\", \"description\": \"string\", }], }]\n " } }, "additionalProperties": false @@ -35127,7 +34963,8 @@ "$ref": "#/components/schemas/AutoTestStepApiResult" }, "description": "Includes a nested step inside another step. The maximum nesting level is 15.", - "nullable": true + "nullable": true, + "example": "\n [{ \"title\": \"string\", \"description\": \"string\", \"steps\": [{ \"title\": \"string\", \"description\": \"string\", }], }]\n " } }, "additionalProperties": false @@ -35154,7 +34991,8 @@ "$ref": "#/components/schemas/AutoTestStepModel" }, "description": "Includes a nested step inside another step. The maximum nesting level is 15.", - "nullable": true + "nullable": true, + "example": "\n [{ \"title\": \"string\", \"description\": \"string\", \"steps\": [{ \"title\": \"string\", \"description\": \"string\", }], }]\n " } }, "additionalProperties": false @@ -35931,7 +35769,7 @@ "type": "string", "description": "This property is used to link configuration with project", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "parameterIds": { "title": "Parameters unique identifiers", @@ -36098,7 +35936,7 @@ "type": "string", "description": "This property is used to link configuration with project", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "isDefault": { "title": "Boolean flag defines if the configuration must be used as default", @@ -36115,27 +35953,27 @@ "title": "Date and time of configuration creation", "type": "string", "format": "date-time", - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last configuration modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created configuration", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last configuration modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "globalId": { "title": "Configuration Global unique identifier", @@ -36211,7 +36049,7 @@ "title": "Configuration internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "description": { "title": "Configuration description", @@ -37101,6 +36939,27 @@ }, "additionalProperties": false }, + "CreateWorkItemCommentApiModel": { + "required": [ + "text", + "workItemId" + ], + "type": "object", + "properties": { + "workItemId": { + "type": "string", + "description": "ID of work item to comment", + "format": "uuid" + }, + "text": { + "maxLength": 1024, + "minLength": 1, + "type": "string", + "description": "Text of the comment" + } + }, + "additionalProperties": false + }, "CreateWorkItemPreviewsApiModel": { "required": [ "previews", @@ -37681,7 +37540,7 @@ "title": "Custom attribute template internal unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "isDeleted": { "title": "Flag that defines if custom attribute template is deleted", @@ -39786,7 +39645,7 @@ "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "title": { "type": "string", @@ -39869,7 +39728,7 @@ "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "title": { "type": "string", @@ -40423,7 +40282,7 @@ "title": "Parameter internal unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" } }, "additionalProperties": false @@ -41770,29 +41629,7 @@ }, "additionalProperties": false }, - "RerunTestResultModel": { - "required": [ - "id", - "runNumber" - ], - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "outcome": { - "type": "string", - "nullable": true - }, - "runNumber": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "RerunsModel": { + "RerunsApiResult": { "required": [ "rerunCount", "rerunTestResults" @@ -41806,7 +41643,7 @@ "rerunTestResults": { "type": "array", "items": { - "$ref": "#/components/schemas/RerunTestResultModel" + "$ref": "#/components/schemas/RerunTestResultApiResult" } } }, @@ -42042,14 +41879,14 @@ "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "parentId": { "title": "Parent section identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "isDeleted": { "title": "Flag that defines if section is deleted", @@ -42060,33 +41897,33 @@ "title": "Section unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "createdDate": { "title": "Date and time of section creation", "type": "string", "format": "date-time", - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last section modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created section", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last section modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "name": { "title": "Section name", @@ -42142,20 +41979,20 @@ "maxLength": 255, "minLength": 0, "type": "string", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "projectId": { "title": "Project unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "parentId": { "title": "Parent section identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "preconditionSteps": { "title": "Section precondition steps collection", @@ -42201,20 +42038,20 @@ "maxLength": 255, "minLength": 0, "type": "string", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "projectId": { "title": "Project unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "parentId": { "title": "Parent section identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "preconditionSteps": { "title": "Section precondition steps collection", @@ -42253,7 +42090,7 @@ "title": "Section unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "name": { "title": "Section name", @@ -42301,14 +42138,14 @@ "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "parentId": { "title": "Parent section identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "isDeleted": { "title": "Flag that defines if section is deleted", @@ -42319,33 +42156,33 @@ "title": "Section unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "createdDate": { "title": "Date and time of section creation", "type": "string", "format": "date-time", - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last section modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created section", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last section modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "name": { "title": "Section name", @@ -42423,7 +42260,7 @@ "title": "Shared step version identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "globalId": { "title": "Shared step global identifier", @@ -42476,7 +42313,7 @@ "title": "Workitem internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "globalId": { "title": "Workitem global identifier", @@ -42513,28 +42350,28 @@ "title": "Unique identifier of user who created workitem", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last workitem modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "createdDate": { "title": "Date and time of workitem creation", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last workitem modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "state": { "title": "WorkItem state", @@ -42565,7 +42402,7 @@ "type": "string", "description": "used for versioning changes in workitem", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "isAutomated": { "title": "Flag that workitem is automated", @@ -42576,7 +42413,7 @@ "title": "Workitems section identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "tags": { "title": "Collection of workitem tags", @@ -42604,7 +42441,7 @@ "title": "Section internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "name": { "title": "Workitem name", @@ -42625,28 +42462,28 @@ "title": "Unique identifier of user who created section", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last section modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "createdDate": { "title": "Date and time of section creation", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last section modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "isDeleted": { "title": "Flag that defines if section is archived", @@ -42928,7 +42765,7 @@ "title": "Step unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "action": { "title": "Action applied by user", @@ -42959,7 +42796,7 @@ "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" } }, "additionalProperties": false @@ -42996,7 +42833,7 @@ "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" } }, "additionalProperties": false @@ -43011,7 +42848,7 @@ "title": "Step unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "action": { "title": "Action applied by user", @@ -43042,7 +42879,7 @@ "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" } }, "additionalProperties": false @@ -43754,7 +43591,7 @@ "description": "Set when test plan is starter (status changed to: In Progress)", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "completedOn": { "title": "Date and time of test plan end", @@ -43762,34 +43599,34 @@ "description": "set when test plan status is completed (status changed to: Completed)", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdDate": { "title": "Date and time of test plan creation", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last test plan modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created test plan ", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last test plan modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "globalId": { "title": "Test plan unique global identifier", @@ -43808,13 +43645,13 @@ "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "id": { "title": "Test plan unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "lockedById": { "title": "User who locked test plan modification internal identifier", @@ -43843,7 +43680,7 @@ "description": "Used for analytics", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "endDate": { "title": "Date and time of test plan end", @@ -43851,7 +43688,7 @@ "description": "Used for analytics", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "description": { "title": "Test plan description", @@ -43873,7 +43710,7 @@ "title": "Project unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "productName": { "title": "Name of the testing product", @@ -45004,7 +44841,7 @@ "description": "Set when test plan is starter (status changed to: In Progress)", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "completedOn": { "title": "Date and time of test plan end", @@ -45012,34 +44849,34 @@ "description": "set when test plan status is completed (status changed to: Completed)", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdDate": { "title": "Date and time of test plan creation", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last test plan modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created test plan ", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last test plan modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "globalId": { "title": "Test plan unique global identifier", @@ -45058,13 +44895,13 @@ "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "id": { "title": "Test plan unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "lockedById": { "title": "User who locked test plan modification internal identifier", @@ -45093,7 +44930,7 @@ "description": "Used for analytics", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "endDate": { "title": "Date and time of test plan end", @@ -45101,7 +44938,7 @@ "description": "Used for analytics", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "description": { "title": "Test plan description", @@ -45123,7 +44960,7 @@ "title": "Project unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "productName": { "title": "Name of the testing product", @@ -45183,7 +45020,7 @@ "description": "Set when test plan is starter (status changed to: In Progress)", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "completedOn": { "title": "Date and time of test plan end", @@ -45191,34 +45028,34 @@ "description": "set when test plan status is completed (status changed to: Completed)", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdDate": { "title": "Date and time of test plan creation", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last test plan modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created test plan ", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last test plan modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "globalId": { "title": "Test plan unique global identifier", @@ -45237,13 +45074,13 @@ "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "id": { "title": "Test plan unique internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "lockedById": { "title": "User who locked test plan modification internal identifier", @@ -45272,7 +45109,7 @@ "description": "Used for analytics", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "endDate": { "title": "Date and time of test plan end", @@ -45280,7 +45117,7 @@ "description": "Used for analytics", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "description": { "title": "Test plan description", @@ -45302,7 +45139,7 @@ "title": "Project unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "productName": { "title": "Name of the testing product", @@ -46173,7 +46010,7 @@ "title": "Test suite to which test point relates unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "id": { "type": "string", @@ -47369,6 +47206,7 @@ "required": [ "attachments", "autotestGlobalId", + "autoTestTags", "configurationId", "configurationName", "createdDate", @@ -47402,6 +47240,13 @@ "description": "External ID of autotest represented by the test result", "nullable": true }, + "autoTestTags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Tags of the autotest represented by the test result" + }, "testRunId": { "type": "string", "description": "Unique ID of test run where the test result is located", @@ -47583,7 +47428,7 @@ "nullable": true }, "durationInMs": { - "maximum": 9223372036854776000, + "maximum": 86400000, "minimum": 0, "type": "integer", "format": "int64", @@ -47591,7 +47436,7 @@ "deprecated": true }, "duration": { - "maximum": 9223372036854776000, + "maximum": 86400000, "minimum": 0, "type": "integer", "format": "int64", @@ -47661,32 +47506,32 @@ "title": "Test result unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "configurationId": { "title": "Configuration related to test result unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "workItemVersionId": { "title": "Workitem version related to test result unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "autoTestId": { "title": "Auto test related to test result unique identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "message": { "title": "Auto test message", "type": "string", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "traces": { "title": "Test result trace", @@ -47699,35 +47544,35 @@ "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "completedOn": { "title": "End date time from test result or from test run (if test run new state is In progress, Stopped or Completed)", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "runByUserId": { "title": "Unique identifier of user which run test result", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "stoppedByUserId": { "title": "Unique identifier of user which stopped test result", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "testPointId": { "title": "Test point related to test result unique identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "testPoint": { "title": "Test point related to test result", @@ -47742,7 +47587,7 @@ "title": "Test run to which test result relates unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "outcome": { "title": "Test result outcome", @@ -47805,32 +47650,32 @@ "title": "Test result unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "configurationId": { "title": "Configuration related to test result unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "workItemVersionId": { "title": "Workitem version related to test result unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "autoTestId": { "title": "Auto test related to test result unique identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "message": { "title": "Auto test message", "type": "string", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "traces": { "title": "Test result trace", @@ -47843,35 +47688,35 @@ "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "completedOn": { "title": "End date time from test result or from test run (if test run new state is In progress, Stopped or Completed)", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "runByUserId": { "title": "Unique identifier of user which run test result", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "stoppedByUserId": { "title": "Unique identifier of user which stopped test result", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "testPointId": { "title": "Test point related to test result unique identifier", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "testPoint": { "title": "Test point related to test result", @@ -47886,7 +47731,7 @@ "title": "Test run to which test result relates unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "outcome": { "title": "Test result outcome", @@ -48010,10 +47855,26 @@ "description": "Specifies an autotest global IDs to search results for", "nullable": true }, - "name": { - "type": "string", - "description": "Specifies an autotest name to search results for", - "nullable": true + "autoTestTags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies autotest tags to include in the search.", + "nullable": true + }, + "excludeAutoTestTags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies autotest tags to exclude from the search.", + "nullable": true + }, + "name": { + "type": "string", + "description": "Specifies an autotest name to search results for", + "nullable": true }, "createdDate": { "allOf": [ @@ -49747,15 +49608,6 @@ "description": "Collection of identifiers of work items which need to be excluded from result regardless of filtering", "nullable": true }, - "externalMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/WorkItemExternalMetadataFilterModel" - } - ], - "description": "Specifies work item filter by its external metadata", - "nullable": true - }, "projectIds": { "uniqueItems": true, "type": "array", @@ -49766,15 +49618,6 @@ "description": "Collection of project identifiers", "nullable": true }, - "links": { - "allOf": [ - { - "$ref": "#/components/schemas/WorkItemLinkFilterModel" - } - ], - "description": "Specifies a work item filter by its links", - "nullable": true - }, "name": { "maxLength": 255, "minLength": 0, @@ -49963,6 +49806,24 @@ }, "description": "Collection of identifiers work items versions.", "nullable": true + }, + "links": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemLinkFilterModel" + } + ], + "description": "Specifies a work item filter by its links", + "nullable": true + }, + "externalMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemExternalMetadataFilterModel" + } + ], + "description": "Specifies work item filter by its external metadata", + "nullable": true } }, "additionalProperties": false @@ -50616,6 +50477,27 @@ }, "additionalProperties": false }, + "UpdateWorkItemCommentApiModel": { + "required": [ + "id", + "text" + ], + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the comment", + "format": "uuid" + }, + "text": { + "maxLength": 1024, + "minLength": 1, + "type": "string", + "description": "Text of the comment" + } + }, + "additionalProperties": false + }, "UpdateWorkflowApiModel": { "required": [ "isDefault", @@ -50677,131 +50559,6 @@ }, "additionalProperties": false }, - "UserRankModel": { - "required": [ - "blockedTestPoints", - "failedTestPoints", - "incompleteTestPoints", - "levelAvatarEnabled", - "passedTestPoints", - "score", - "skippedTestPoints", - "succeededTestPoints", - "workItemsCreated" - ], - "type": "object", - "properties": { - "score": { - "type": "integer", - "format": "int32" - }, - "workItemsCreated": { - "type": "integer", - "format": "int32" - }, - "passedTestPoints": { - "type": "integer", - "format": "int32", - "deprecated": true - }, - "failedTestPoints": { - "type": "integer", - "format": "int32" - }, - "skippedTestPoints": { - "type": "integer", - "format": "int32", - "deprecated": true - }, - "blockedTestPoints": { - "type": "integer", - "format": "int32", - "deprecated": true - }, - "levelAvatarEnabled": { - "type": "boolean" - }, - "succeededTestPoints": { - "type": "integer", - "format": "int32" - }, - "incompleteTestPoints": { - "type": "integer", - "format": "int32" - } - }, - "additionalProperties": false - }, - "UserWithRankModel": { - "required": [ - "avatarMetadata", - "avatarUrl", - "displayName", - "firstName", - "id", - "isActiveStatusByEntity", - "isDeleted", - "isDisabled", - "lastName", - "middleName", - "userName", - "userRank", - "userType" - ], - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "middleName": { - "type": "string" - }, - "userName": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "userType": { - "type": "string" - }, - "avatarUrl": { - "type": "string" - }, - "avatarMetadata": { - "type": "string" - }, - "isDeleted": { - "type": "boolean" - }, - "isDisabled": { - "type": "boolean" - }, - "providerId": { - "type": "string", - "format": "uuid", - "nullable": true - }, - "isActiveStatusByEntity": { - "type": "boolean" - }, - "userRank": { - "allOf": [ - { - "$ref": "#/components/schemas/UserRankModel" - } - ] - } - }, - "additionalProperties": false - }, "ValidationProblemDetails": { "required": [ "errors" @@ -51706,6 +51463,7 @@ "WorkItemChangeModel": { "required": [ "createdById", + "createdDate", "id", "newVersionId", "oldVersionId", @@ -51742,6 +51500,15 @@ "format": "uuid" }, "createdDate": { + "type": "string", + "format": "date-time" + }, + "modifiedById": { + "type": "string", + "format": "uuid", + "nullable": true + }, + "modifiedDate": { "type": "string", "format": "date-time", "nullable": true @@ -51940,87 +51707,45 @@ }, "additionalProperties": false }, - "WorkItemCommentModel": { + "WorkItemCommentApiResult": { "required": [ "createdById", "createdDate", "id", - "text", - "user" + "modifiedById", + "modifiedDate", + "text" ], "type": "object", "properties": { "id": { "type": "string", + "description": "ID of the comment", "format": "uuid" }, "text": { - "type": "string" - }, - "user": { - "allOf": [ - { - "$ref": "#/components/schemas/UserWithRankModel" - } - ] + "type": "string", + "description": "Text of the comment" }, "createdById": { "type": "string", + "description": "ID of user created comment", "format": "uuid" }, "modifiedById": { "type": "string", - "format": "uuid", - "nullable": true + "description": "ID of user modified comment", + "format": "uuid" }, "createdDate": { "type": "string", + "description": "Comment created date", "format": "date-time" }, "modifiedDate": { "type": "string", - "format": "date-time", - "nullable": true - } - }, - "additionalProperties": false - }, - "WorkItemCommentPostModel": { - "required": [ - "text", - "workItemId" - ], - "type": "object", - "properties": { - "text": { - "maxLength": 1024, - "minLength": 1, - "type": "string" - }, - "workItemId": { - "type": "string", - "format": "uuid" - } - }, - "additionalProperties": false - }, - "WorkItemCommentPutModel": { - "required": [ - "id", - "text" - ], - "type": "object", - "properties": { - "text": { - "maxLength": 1024, - "minLength": 1, - "type": "string", - "description": "Text of the comment" - }, - "id": { - "type": "string", - "description": "Unique ID of the comment", - "format": "uuid" + "description": "Comment modified date", + "format": "date-time" } }, "additionalProperties": false @@ -52514,15 +52239,6 @@ "description": "Collection of identifiers of work items which need to be excluded from result regardless of filtering", "nullable": true }, - "externalMetadata": { - "allOf": [ - { - "$ref": "#/components/schemas/WorkItemExternalMetadataFilterModel" - } - ], - "description": "Specifies work item filter by its external metadata", - "nullable": true - }, "projectIds": { "uniqueItems": true, "type": "array", @@ -52533,15 +52249,6 @@ "description": "Collection of project identifiers", "nullable": true }, - "links": { - "allOf": [ - { - "$ref": "#/components/schemas/WorkItemLinkFilterModel" - } - ], - "description": "Specifies a work item filter by its links", - "nullable": true - }, "name": { "maxLength": 255, "minLength": 0, @@ -52730,6 +52437,24 @@ }, "description": "Collection of identifiers work items versions.", "nullable": true + }, + "links": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemLinkFilterModel" + } + ], + "description": "Specifies a work item filter by its links", + "nullable": true + }, + "externalMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemExternalMetadataFilterModel" + } + ], + "description": "Specifies work item filter by its external metadata", + "nullable": true } }, "additionalProperties": false, @@ -53264,6 +52989,24 @@ }, "description": "Collection of identifiers work items versions.", "nullable": true + }, + "links": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemLinkFilterModel" + } + ], + "description": "Specifies a work item filter by its links", + "nullable": true + }, + "externalMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemExternalMetadataFilterModel" + } + ], + "description": "Specifies work item filter by its external metadata", + "nullable": true } }, "additionalProperties": false, @@ -53328,7 +53071,7 @@ "type": "string", "description": "used for versioning changes in workitem", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "medianDuration": { "title": "Workitem median duration", @@ -53346,7 +53089,7 @@ "title": "Project where workitem is located unique identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "entityTypeName": { "allOf": [ @@ -53410,27 +53153,27 @@ "title": "Date and time of workitem creation", "type": "string", "format": "date-time", - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedDate": { "title": "Date and time of last workitem modification", "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "createdById": { "title": "Unique identifier of user who created workitem", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "modifiedById": { "title": "Unique identifier of user who applied last workitem modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "globalId": { "title": "Shared step global identifier", @@ -53448,13 +53191,13 @@ "title": "Workitem internal identifier", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "sectionId": { "title": "Internal identifier of section where workitem is located ", "type": "string", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "description": { "title": "Workitem description", @@ -53659,15 +53402,6 @@ "description": "Collection of project identifiers", "nullable": true }, - "links": { - "allOf": [ - { - "$ref": "#/components/schemas/WorkItemLinkFilterModel" - } - ], - "description": "Specifies a work item filter by its links", - "nullable": true - }, "name": { "maxLength": 255, "minLength": 0, @@ -53856,6 +53590,24 @@ }, "description": "Collection of identifiers work items versions.", "nullable": true + }, + "links": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemLinkFilterModel" + } + ], + "description": "Specifies a work item filter by its links", + "nullable": true + }, + "externalMetadata": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemExternalMetadataFilterModel" + } + ], + "description": "Specifies work item filter by its external metadata", + "nullable": true } }, "additionalProperties": false @@ -54449,7 +54201,7 @@ "type": "string", "description": "used for versioning changes in workitem", "format": "uuid", - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" }, "versionNumber": { "title": "Workitem version number", @@ -54463,14 +54215,14 @@ "type": "string", "format": "date-time", "nullable": true, - "example": "2026-02-05T15:13:18.6574769+00:00" + "example": "2026-01-27T05:43:09.5774479+00:00" }, "modifiedById": { "title": "Unique identifier of user who applied workitem version modification", "type": "string", "format": "uuid", "nullable": true, - "example": "a58827bc-4fbb-4b8d-8ddc-bfaa97dbd0d5" + "example": "39d127a1-a511-473f-8b21-f75b747a9420" } }, "additionalProperties": false @@ -54750,5 +54502,127 @@ { "Bearer or PrivateToken": [ ] } + ], + "tags": [ + { + "name": "AI services API" + }, + { + "name": "Attachments" + }, + { + "name": "AutoTests" + }, + { + "name": "BackgroundJobs" + }, + { + "name": "Configurations" + }, + { + "name": "CustomAttributes" + }, + { + "name": "CustomAttributeTemplates" + }, + { + "name": "ExternalIssues" + }, + { + "name": "ExternalServices" + }, + { + "name": "FailureCategories" + }, + { + "name": "Notifications" + }, + { + "name": "Parameters" + }, + { + "name": "Project attribute templates" + }, + { + "name": "Project attributes" + }, + { + "name": "Project configurations" + }, + { + "name": "Project external services" + }, + { + "name": "Project failure categories" + }, + { + "name": "Project sections" + }, + { + "name": "Project settings" + }, + { + "name": "Project test plan attributes" + }, + { + "name": "Project test plan test points" + }, + { + "name": "Project test plans" + }, + { + "name": "Project work items" + }, + { + "name": "Projects" + }, + { + "name": "Search" + }, + { + "name": "Sections" + }, + { + "name": "Tags" + }, + { + "name": "TestPlans" + }, + { + "name": "TestPoints" + }, + { + "name": "TestResults" + }, + { + "name": "TestRuns" + }, + { + "name": "TestStatuses" + }, + { + "name": "TestSuites" + }, + { + "name": "Users" + }, + { + "name": "UserStorages" + }, + { + "name": "Webhooks" + }, + { + "name": "WebhooksLogs" + }, + { + "name": "Workflows" + }, + { + "name": "WorkItems" + }, + { + "name": "WorkItemsComments" + } ] } \ No newline at end of file diff --git a/README.md b/README.md index cd231596..1c481999 100644 --- a/README.md +++ b/README.md @@ -591,6 +591,7 @@ Class | Method | HTTP request | Description - [CreateTestRunAndFillByWorkItemsApiModel](docs/CreateTestRunAndFillByWorkItemsApiModel.md) - [CreateTestStatusApiModel](docs/CreateTestStatusApiModel.md) - [CreateWorkItemApiModel](docs/CreateWorkItemApiModel.md) + - [CreateWorkItemCommentApiModel](docs/CreateWorkItemCommentApiModel.md) - [CreateWorkItemPreviewsApiModel](docs/CreateWorkItemPreviewsApiModel.md) - [CreateWorkflowApiModel](docs/CreateWorkflowApiModel.md) - [CustomAttributeApiResult](docs/CustomAttributeApiResult.md) @@ -765,8 +766,7 @@ Class | Method | HTTP request | Description - [RequestTypeApiModel](docs/RequestTypeApiModel.md) - [RequestTypeModel](docs/RequestTypeModel.md) - [RerunTestResultApiResult](docs/RerunTestResultApiResult.md) - - [RerunTestResultModel](docs/RerunTestResultModel.md) - - [RerunsModel](docs/RerunsModel.md) + - [RerunsApiResult](docs/RerunsApiResult.md) - [SearchAttributesInProjectRequest](docs/SearchAttributesInProjectRequest.md) - [SearchCustomAttributeTemplateGetModel](docs/SearchCustomAttributeTemplateGetModel.md) - [SearchExternalIssuesApiModel](docs/SearchExternalIssuesApiModel.md) @@ -1005,13 +1005,11 @@ Class | Method | HTTP request | Description - [UpdateTestPlanRequest](docs/UpdateTestPlanRequest.md) - [UpdateTestStatusApiModel](docs/UpdateTestStatusApiModel.md) - [UpdateWorkItemApiModel](docs/UpdateWorkItemApiModel.md) + - [UpdateWorkItemCommentApiModel](docs/UpdateWorkItemCommentApiModel.md) - [UpdateWorkItemRequest](docs/UpdateWorkItemRequest.md) - [UpdateWorkflowApiModel](docs/UpdateWorkflowApiModel.md) - [UserCustomNameValidationResponse](docs/UserCustomNameValidationResponse.md) - [UserNameApiResult](docs/UserNameApiResult.md) - - [UserRankModel](docs/UserRankModel.md) - - [UserWithRankModel](docs/UserWithRankModel.md) - - [UserWithRankModelUserRank](docs/UserWithRankModelUserRank.md) - [ValidationProblemDetails](docs/ValidationProblemDetails.md) - [WebHookEventType](docs/WebHookEventType.md) - [WebHookEventTypeModel](docs/WebHookEventTypeModel.md) @@ -1048,10 +1046,7 @@ Class | Method | HTTP request | Description - [WorkItemChangedFieldsViewModelState](docs/WorkItemChangedFieldsViewModelState.md) - [WorkItemChangedFieldsViewModelSteps](docs/WorkItemChangedFieldsViewModelSteps.md) - [WorkItemChangedFieldsViewModelTags](docs/WorkItemChangedFieldsViewModelTags.md) - - [WorkItemCommentModel](docs/WorkItemCommentModel.md) - - [WorkItemCommentModelUser](docs/WorkItemCommentModelUser.md) - - [WorkItemCommentPostModel](docs/WorkItemCommentPostModel.md) - - [WorkItemCommentPutModel](docs/WorkItemCommentPutModel.md) + - [WorkItemCommentApiResult](docs/WorkItemCommentApiResult.md) - [WorkItemEntityTypeApiModel](docs/WorkItemEntityTypeApiModel.md) - [WorkItemEntityTypes](docs/WorkItemEntityTypes.md) - [WorkItemExternalMetadataFieldFilterApiModel](docs/WorkItemExternalMetadataFieldFilterApiModel.md) diff --git a/docs/ApiV2TestResultsSearchPostRequest.md b/docs/ApiV2TestResultsSearchPostRequest.md index e0baade3..892b6dde 100644 --- a/docs/ApiV2TestResultsSearchPostRequest.md +++ b/docs/ApiV2TestResultsSearchPostRequest.md @@ -11,6 +11,8 @@ Name | Type | Description | Notes **namespace** | **str, none_type** | Specifies a test result namespace to search for | [optional] **class_name** | **str, none_type** | Specifies a test result class name to search for | [optional] **auto_test_global_ids** | **[int], none_type** | Specifies an autotest global IDs to search results for | [optional] +**auto_test_tags** | **[str], none_type** | Specifies autotest tags to include in the search. | [optional] +**exclude_auto_test_tags** | **[str], none_type** | Specifies autotest tags to exclude from the search. | [optional] **name** | **str, none_type** | Specifies an autotest name to search results for | [optional] **created_date** | [**TestResultsFilterApiModelCreatedDate**](TestResultsFilterApiModelCreatedDate.md) | | [optional] **modified_date** | [**TestResultsFilterApiModelModifiedDate**](TestResultsFilterApiModelModifiedDate.md) | | [optional] diff --git a/docs/ApiV2WorkItemsCommentsPostRequest.md b/docs/ApiV2WorkItemsCommentsPostRequest.md index ac0c1ed1..cbeb28fd 100644 --- a/docs/ApiV2WorkItemsCommentsPostRequest.md +++ b/docs/ApiV2WorkItemsCommentsPostRequest.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**text** | **str** | | -**work_item_id** | **str** | | +**work_item_id** | **str** | ID of work item to comment | +**text** | **str** | Text of the comment | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ApiV2WorkItemsCommentsPutRequest.md b/docs/ApiV2WorkItemsCommentsPutRequest.md index 7061e2e8..b0bd26a2 100644 --- a/docs/ApiV2WorkItemsCommentsPutRequest.md +++ b/docs/ApiV2WorkItemsCommentsPutRequest.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **str** | ID of the comment | **text** | **str** | Text of the comment | -**id** | **str** | Unique ID of the comment | **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AutoTestFilterApiModel.md b/docs/AutoTestFilterApiModel.md index 6a4e9bc2..6ceb82fa 100644 --- a/docs/AutoTestFilterApiModel.md +++ b/docs/AutoTestFilterApiModel.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **external_key** | **str, none_type** | Specifies an autotest external key to search for | [optional] **last_test_result_configuration_ids** | **[str], none_type** | Specifies an autotest configuration IDs of the last test result to search for | [optional] **tags** | **[str], none_type** | Specifies an autotest tags to search for | [optional] +**exclude_tags** | **[str], none_type** | Specifies an autotest tags to exclude | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AutoTestFilterModel.md b/docs/AutoTestFilterModel.md index 6568f8e3..32a3de32 100644 --- a/docs/AutoTestFilterModel.md +++ b/docs/AutoTestFilterModel.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **external_key** | **str, none_type** | | [optional] **last_test_result_configuration_ids** | **[str], none_type** | | [optional] **tags** | **[str], none_type** | | [optional] +**exclude_tags** | **[str], none_type** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AutoTestSearchApiModelFilter.md b/docs/AutoTestSearchApiModelFilter.md index 748f50e9..3a81f331 100644 --- a/docs/AutoTestSearchApiModelFilter.md +++ b/docs/AutoTestSearchApiModelFilter.md @@ -26,6 +26,7 @@ Name | Type | Description | Notes **external_key** | **str, none_type** | Specifies an autotest external key to search for | [optional] **last_test_result_configuration_ids** | **[str], none_type** | Specifies an autotest configuration IDs of the last test result to search for | [optional] **tags** | **[str], none_type** | Specifies an autotest tags to search for | [optional] +**exclude_tags** | **[str], none_type** | Specifies an autotest tags to exclude | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AutoTestSelectModelFilter.md b/docs/AutoTestSelectModelFilter.md index 57eb83b0..14920165 100644 --- a/docs/AutoTestSelectModelFilter.md +++ b/docs/AutoTestSelectModelFilter.md @@ -25,6 +25,7 @@ Name | Type | Description | Notes **external_key** | **str, none_type** | | [optional] **last_test_result_configuration_ids** | **[str], none_type** | | [optional] **tags** | **[str], none_type** | | [optional] +**exclude_tags** | **[str], none_type** | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RerunTestResultModel.md b/docs/CreateWorkItemCommentApiModel.md similarity index 67% rename from docs/RerunTestResultModel.md rename to docs/CreateWorkItemCommentApiModel.md index c0f8f4c8..7fc15957 100644 --- a/docs/RerunTestResultModel.md +++ b/docs/CreateWorkItemCommentApiModel.md @@ -1,12 +1,11 @@ -# RerunTestResultModel +# CreateWorkItemCommentApiModel ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | -**run_number** | **int** | | -**outcome** | **str, none_type** | | [optional] +**work_item_id** | **str** | ID of work item to comment | +**text** | **str** | Text of the comment | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ManualRerunSelectTestResultsApiModelFilter.md b/docs/ManualRerunSelectTestResultsApiModelFilter.md index 0101a130..b8d6e735 100644 --- a/docs/ManualRerunSelectTestResultsApiModelFilter.md +++ b/docs/ManualRerunSelectTestResultsApiModelFilter.md @@ -12,6 +12,8 @@ Name | Type | Description | Notes **namespace** | **str, none_type** | Specifies a test result namespace to search for | [optional] **class_name** | **str, none_type** | Specifies a test result class name to search for | [optional] **auto_test_global_ids** | **[int], none_type** | Specifies an autotest global IDs to search results for | [optional] +**auto_test_tags** | **[str], none_type** | Specifies autotest tags to include in the search. | [optional] +**exclude_auto_test_tags** | **[str], none_type** | Specifies autotest tags to exclude from the search. | [optional] **name** | **str, none_type** | Specifies an autotest name to search results for | [optional] **created_date** | [**TestResultsFilterApiModelCreatedDate**](TestResultsFilterApiModelCreatedDate.md) | | [optional] **modified_date** | [**TestResultsFilterApiModelModifiedDate**](TestResultsFilterApiModelModifiedDate.md) | | [optional] diff --git a/docs/RerunsModel.md b/docs/RerunsApiResult.md similarity index 73% rename from docs/RerunsModel.md rename to docs/RerunsApiResult.md index 62c6158e..0fab53df 100644 --- a/docs/RerunsModel.md +++ b/docs/RerunsApiResult.md @@ -1,11 +1,11 @@ -# RerunsModel +# RerunsApiResult ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **rerun_count** | **int** | | -**rerun_test_results** | [**[RerunTestResultModel]**](RerunTestResultModel.md) | | +**rerun_test_results** | [**[RerunTestResultApiResult]**](RerunTestResultApiResult.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SearchWorkItemsRequest.md b/docs/SearchWorkItemsRequest.md index 086b38bd..5569ab56 100644 --- a/docs/SearchWorkItemsRequest.md +++ b/docs/SearchWorkItemsRequest.md @@ -9,9 +9,7 @@ Name | Type | Description | Notes **name_or_id** | **str, none_type** | Name or identifier (UUID) of work item | [optional] **include_ids** | **[str], none_type** | Collection of identifiers of work items which need to be included in result regardless of filtering | [optional] **exclude_ids** | **[str], none_type** | Collection of identifiers of work items which need to be excluded from result regardless of filtering | [optional] -**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] **project_ids** | **[str], none_type** | Collection of project identifiers | [optional] -**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] **name** | **str, none_type** | Name of work item | [optional] **ids** | **[str], none_type** | Specifies a work item unique IDs to search for | [optional] **global_ids** | **[int], none_type** | Collection of global (integer) identifiers | [optional] @@ -33,6 +31,8 @@ Name | Type | Description | Notes **exclude_tags** | **[str], none_type** | Collection of tags to exclude | [optional] **auto_test_ids** | **[str], none_type** | Collection of identifiers of linked autotests | [optional] **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] +**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] +**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TestResultShortResponse.md b/docs/TestResultShortResponse.md index 25d5dcea..df7c1e68 100644 --- a/docs/TestResultShortResponse.md +++ b/docs/TestResultShortResponse.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **id** | **str** | Unique ID of the test result | **name** | **str** | Name of autotest represented by the test result | **autotest_global_id** | **int** | Global ID of autotest represented by the test result | +**auto_test_tags** | **[str]** | Tags of the autotest represented by the test result | **test_run_id** | **str** | Unique ID of test run where the test result is located | **configuration_id** | **str** | Unique ID of configuration which the test result uses | **configuration_name** | **str** | Name of configuration which the test result uses | diff --git a/docs/TestResultsApi.md b/docs/TestResultsApi.md index 5afc866c..d089861a 100644 --- a/docs/TestResultsApi.md +++ b/docs/TestResultsApi.md @@ -639,7 +639,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **api_v2_test_results_id_reruns_get** -> RerunsModel api_v2_test_results_id_reruns_get(id) +> RerunsApiResult api_v2_test_results_id_reruns_get(id) Get reruns @@ -652,7 +652,7 @@ import time import testit_api_client from testit_api_client.api import test_results_api from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.reruns_model import RerunsModel +from testit_api_client.model.reruns_api_result import RerunsApiResult from testit_api_client.model.validation_problem_details import ValidationProblemDetails from pprint import pprint # Defining the host is optional and defaults to http://localhost @@ -696,7 +696,7 @@ Name | Type | Description | Notes ### Return type -[**RerunsModel**](RerunsModel.md) +[**RerunsApiResult**](RerunsApiResult.md) ### Authorization diff --git a/docs/TestResultsFilterApiModel.md b/docs/TestResultsFilterApiModel.md index b28b08de..88590c57 100644 --- a/docs/TestResultsFilterApiModel.md +++ b/docs/TestResultsFilterApiModel.md @@ -11,6 +11,8 @@ Name | Type | Description | Notes **namespace** | **str, none_type** | Specifies a test result namespace to search for | [optional] **class_name** | **str, none_type** | Specifies a test result class name to search for | [optional] **auto_test_global_ids** | **[int], none_type** | Specifies an autotest global IDs to search results for | [optional] +**auto_test_tags** | **[str], none_type** | Specifies autotest tags to include in the search. | [optional] +**exclude_auto_test_tags** | **[str], none_type** | Specifies autotest tags to exclude from the search. | [optional] **name** | **str, none_type** | Specifies an autotest name to search results for | [optional] **created_date** | [**TestResultsFilterApiModelCreatedDate**](TestResultsFilterApiModelCreatedDate.md) | | [optional] **modified_date** | [**TestResultsFilterApiModelModifiedDate**](TestResultsFilterApiModelModifiedDate.md) | | [optional] diff --git a/docs/TestResultsSelectApiModelFilter.md b/docs/TestResultsSelectApiModelFilter.md index 904bd40d..7cf250b0 100644 --- a/docs/TestResultsSelectApiModelFilter.md +++ b/docs/TestResultsSelectApiModelFilter.md @@ -12,6 +12,8 @@ Name | Type | Description | Notes **namespace** | **str, none_type** | Specifies a test result namespace to search for | [optional] **class_name** | **str, none_type** | Specifies a test result class name to search for | [optional] **auto_test_global_ids** | **[int], none_type** | Specifies an autotest global IDs to search results for | [optional] +**auto_test_tags** | **[str], none_type** | Specifies autotest tags to include in the search. | [optional] +**exclude_auto_test_tags** | **[str], none_type** | Specifies autotest tags to exclude from the search. | [optional] **name** | **str, none_type** | Specifies an autotest name to search results for | [optional] **created_date** | [**TestResultsFilterApiModelCreatedDate**](TestResultsFilterApiModelCreatedDate.md) | | [optional] **modified_date** | [**TestResultsFilterApiModelModifiedDate**](TestResultsFilterApiModelModifiedDate.md) | | [optional] diff --git a/docs/TestSuiteWorkItemsSearchModel.md b/docs/TestSuiteWorkItemsSearchModel.md index 8207842b..de00adf1 100644 --- a/docs/TestSuiteWorkItemsSearchModel.md +++ b/docs/TestSuiteWorkItemsSearchModel.md @@ -9,9 +9,7 @@ Name | Type | Description | Notes **name_or_id** | **str, none_type** | Name or identifier (UUID) of work item | [optional] **include_ids** | **[str], none_type** | Collection of identifiers of work items which need to be included in result regardless of filtering | [optional] **exclude_ids** | **[str], none_type** | Collection of identifiers of work items which need to be excluded from result regardless of filtering | [optional] -**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] **project_ids** | **[str], none_type** | Collection of project identifiers | [optional] -**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] **name** | **str, none_type** | Name of work item | [optional] **ids** | **[str], none_type** | Specifies a work item unique IDs to search for | [optional] **global_ids** | **[int], none_type** | Collection of global (integer) identifiers | [optional] @@ -33,6 +31,8 @@ Name | Type | Description | Notes **exclude_tags** | **[str], none_type** | Collection of tags to exclude | [optional] **auto_test_ids** | **[str], none_type** | Collection of identifiers of linked autotests | [optional] **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] +**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] +**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorkItemCommentPutModel.md b/docs/UpdateWorkItemCommentApiModel.md similarity index 81% rename from docs/WorkItemCommentPutModel.md rename to docs/UpdateWorkItemCommentApiModel.md index e477cd0e..25c33011 100644 --- a/docs/WorkItemCommentPutModel.md +++ b/docs/UpdateWorkItemCommentApiModel.md @@ -1,11 +1,11 @@ -# WorkItemCommentPutModel +# UpdateWorkItemCommentApiModel ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **str** | ID of the comment | **text** | **str** | Text of the comment | -**id** | **str** | Unique ID of the comment | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UserRankModel.md b/docs/UserRankModel.md deleted file mode 100644 index e55cb113..00000000 --- a/docs/UserRankModel.md +++ /dev/null @@ -1,19 +0,0 @@ -# UserRankModel - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**score** | **int** | | -**work_items_created** | **int** | | -**passed_test_points** | **int** | | -**failed_test_points** | **int** | | -**skipped_test_points** | **int** | | -**blocked_test_points** | **int** | | -**level_avatar_enabled** | **bool** | | -**succeeded_test_points** | **int** | | -**incomplete_test_points** | **int** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/UserWithRankModel.md b/docs/UserWithRankModel.md deleted file mode 100644 index ac70d818..00000000 --- a/docs/UserWithRankModel.md +++ /dev/null @@ -1,24 +0,0 @@ -# UserWithRankModel - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**first_name** | **str** | | -**last_name** | **str** | | -**middle_name** | **str** | | -**user_name** | **str** | | -**display_name** | **str** | | -**user_type** | **str** | | -**avatar_url** | **str** | | -**avatar_metadata** | **str** | | -**is_deleted** | **bool** | | -**is_disabled** | **bool** | | -**is_active_status_by_entity** | **bool** | | -**user_rank** | [**UserWithRankModelUserRank**](UserWithRankModelUserRank.md) | | -**provider_id** | **str, none_type** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/UserWithRankModelUserRank.md b/docs/UserWithRankModelUserRank.md deleted file mode 100644 index b77bd787..00000000 --- a/docs/UserWithRankModelUserRank.md +++ /dev/null @@ -1,20 +0,0 @@ -# UserWithRankModelUserRank - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**score** | **int** | | -**work_items_created** | **int** | | -**passed_test_points** | **int** | | -**failed_test_points** | **int** | | -**skipped_test_points** | **int** | | -**blocked_test_points** | **int** | | -**level_avatar_enabled** | **bool** | | -**succeeded_test_points** | **int** | | -**incomplete_test_points** | **int** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/WorkItemChangeModel.md b/docs/WorkItemChangeModel.md index 3f7a4c60..5e15ca58 100644 --- a/docs/WorkItemChangeModel.md +++ b/docs/WorkItemChangeModel.md @@ -10,7 +10,9 @@ Name | Type | Description | Notes **new_version_id** | **str** | | **work_item_changed_fields** | [**WorkItemChangeModelWorkItemChangedFields**](WorkItemChangeModelWorkItemChangedFields.md) | | **created_by_id** | **str** | | -**created_date** | **datetime, none_type** | | [optional] +**created_date** | **datetime** | | +**modified_by_id** | **str, none_type** | | [optional] +**modified_date** | **datetime, none_type** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorkItemCommentApiResult.md b/docs/WorkItemCommentApiResult.md new file mode 100644 index 00000000..7251238c --- /dev/null +++ b/docs/WorkItemCommentApiResult.md @@ -0,0 +1,16 @@ +# WorkItemCommentApiResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | ID of the comment | +**text** | **str** | Text of the comment | +**created_by_id** | **str** | ID of user created comment | +**modified_by_id** | **str** | ID of user modified comment | +**created_date** | **datetime** | Comment created date | +**modified_date** | **datetime** | Comment modified date | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/WorkItemCommentModel.md b/docs/WorkItemCommentModel.md deleted file mode 100644 index 8bf521c3..00000000 --- a/docs/WorkItemCommentModel.md +++ /dev/null @@ -1,17 +0,0 @@ -# WorkItemCommentModel - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**text** | **str** | | -**user** | [**WorkItemCommentModelUser**](WorkItemCommentModelUser.md) | | -**created_by_id** | **str** | | -**created_date** | **datetime** | | -**modified_by_id** | **str, none_type** | | [optional] -**modified_date** | **datetime, none_type** | | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/WorkItemCommentModelUser.md b/docs/WorkItemCommentModelUser.md deleted file mode 100644 index b2424354..00000000 --- a/docs/WorkItemCommentModelUser.md +++ /dev/null @@ -1,25 +0,0 @@ -# WorkItemCommentModelUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**first_name** | **str** | | -**last_name** | **str** | | -**middle_name** | **str** | | -**user_name** | **str** | | -**display_name** | **str** | | -**user_type** | **str** | | -**avatar_url** | **str** | | -**avatar_metadata** | **str** | | -**is_deleted** | **bool** | | -**is_disabled** | **bool** | | -**is_active_status_by_entity** | **bool** | | -**user_rank** | [**UserWithRankModelUserRank**](UserWithRankModelUserRank.md) | | -**provider_id** | **str, none_type** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/WorkItemCommentPostModel.md b/docs/WorkItemCommentPostModel.md deleted file mode 100644 index 20e1edd0..00000000 --- a/docs/WorkItemCommentPostModel.md +++ /dev/null @@ -1,12 +0,0 @@ -# WorkItemCommentPostModel - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**text** | **str** | | -**work_item_id** | **str** | | - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/WorkItemFilterModel.md b/docs/WorkItemFilterModel.md index 1e560971..37008b6e 100644 --- a/docs/WorkItemFilterModel.md +++ b/docs/WorkItemFilterModel.md @@ -8,9 +8,7 @@ Name | Type | Description | Notes **name_or_id** | **str, none_type** | Name or identifier (UUID) of work item | [optional] **include_ids** | **[str], none_type** | Collection of identifiers of work items which need to be included in result regardless of filtering | [optional] **exclude_ids** | **[str], none_type** | Collection of identifiers of work items which need to be excluded from result regardless of filtering | [optional] -**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] **project_ids** | **[str], none_type** | Collection of project identifiers | [optional] -**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] **name** | **str, none_type** | Name of work item | [optional] **ids** | **[str], none_type** | Specifies a work item unique IDs to search for | [optional] **global_ids** | **[int], none_type** | Collection of global (integer) identifiers | [optional] @@ -32,6 +30,8 @@ Name | Type | Description | Notes **exclude_tags** | **[str], none_type** | Collection of tags to exclude | [optional] **auto_test_ids** | **[str], none_type** | Collection of identifiers of linked autotests | [optional] **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] +**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] +**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorkItemLocalFilterModel.md b/docs/WorkItemLocalFilterModel.md index c9b8dbe7..4e33f41f 100644 --- a/docs/WorkItemLocalFilterModel.md +++ b/docs/WorkItemLocalFilterModel.md @@ -26,6 +26,8 @@ Name | Type | Description | Notes **exclude_tags** | **[str], none_type** | Collection of tags to exclude | [optional] **auto_test_ids** | **[str], none_type** | Collection of identifiers of linked autotests | [optional] **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] +**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] +**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorkItemLocalSelectModelFilter.md b/docs/WorkItemLocalSelectModelFilter.md index 1b8ddb9d..097c2cdc 100644 --- a/docs/WorkItemLocalSelectModelFilter.md +++ b/docs/WorkItemLocalSelectModelFilter.md @@ -26,6 +26,8 @@ Name | Type | Description | Notes **exclude_tags** | **[str], none_type** | Collection of tags to exclude | [optional] **auto_test_ids** | **[str], none_type** | Collection of identifiers of linked autotests | [optional] **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] +**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] +**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorkItemSearchQueryModel.md b/docs/WorkItemSearchQueryModel.md index 23113dc7..cf38fc2b 100644 --- a/docs/WorkItemSearchQueryModel.md +++ b/docs/WorkItemSearchQueryModel.md @@ -5,7 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **project_ids** | **[str], none_type** | Collection of project identifiers | [optional] -**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] **name** | **str, none_type** | Name of work item | [optional] **ids** | **[str], none_type** | Specifies a work item unique IDs to search for | [optional] **global_ids** | **[int], none_type** | Collection of global (integer) identifiers | [optional] @@ -27,6 +26,8 @@ Name | Type | Description | Notes **exclude_tags** | **[str], none_type** | Collection of tags to exclude | [optional] **auto_test_ids** | **[str], none_type** | Collection of identifiers of linked autotests | [optional] **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] +**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] +**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorkItemSelectModelFilter.md b/docs/WorkItemSelectModelFilter.md index 36a0d23a..d4c04601 100644 --- a/docs/WorkItemSelectModelFilter.md +++ b/docs/WorkItemSelectModelFilter.md @@ -8,9 +8,7 @@ Name | Type | Description | Notes **name_or_id** | **str, none_type** | Name or identifier (UUID) of work item | [optional] **include_ids** | **[str], none_type** | Collection of identifiers of work items which need to be included in result regardless of filtering | [optional] **exclude_ids** | **[str], none_type** | Collection of identifiers of work items which need to be excluded from result regardless of filtering | [optional] -**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] **project_ids** | **[str], none_type** | Collection of project identifiers | [optional] -**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] **name** | **str, none_type** | Name of work item | [optional] **ids** | **[str], none_type** | Specifies a work item unique IDs to search for | [optional] **global_ids** | **[int], none_type** | Collection of global (integer) identifiers | [optional] @@ -32,6 +30,8 @@ Name | Type | Description | Notes **exclude_tags** | **[str], none_type** | Collection of tags to exclude | [optional] **auto_test_ids** | **[str], none_type** | Collection of identifiers of linked autotests | [optional] **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] +**links** | [**TestSuiteWorkItemsSearchModelLinks**](TestSuiteWorkItemsSearchModelLinks.md) | | [optional] +**external_metadata** | [**TestSuiteWorkItemsSearchModelExternalMetadata**](TestSuiteWorkItemsSearchModelExternalMetadata.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/WorkItemsCommentsApi.md b/docs/WorkItemsCommentsApi.md index 1d4c0568..acb781ec 100644 --- a/docs/WorkItemsCommentsApi.md +++ b/docs/WorkItemsCommentsApi.md @@ -96,7 +96,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **api_v2_work_items_comments_post** -> WorkItemCommentModel api_v2_work_items_comments_post() +> WorkItemCommentApiResult api_v2_work_items_comments_post() Create WorkItem comment @@ -111,8 +111,8 @@ import time import testit_api_client from testit_api_client.api import work_items_comments_api from testit_api_client.model.api_v2_work_items_comments_post_request import ApiV2WorkItemsCommentsPostRequest +from testit_api_client.model.work_item_comment_api_result import WorkItemCommentApiResult from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.work_item_comment_model import WorkItemCommentModel from testit_api_client.model.validation_problem_details import ValidationProblemDetails from pprint import pprint # Defining the host is optional and defaults to http://localhost @@ -157,7 +157,7 @@ Name | Type | Description | Notes ### Return type -[**WorkItemCommentModel**](WorkItemCommentModel.md) +[**WorkItemCommentApiResult**](WorkItemCommentApiResult.md) ### Authorization @@ -351,7 +351,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **api_v2_work_items_id_comments_get** -> [WorkItemCommentModel] api_v2_work_items_id_comments_get(id) +> [WorkItemCommentApiResult] api_v2_work_items_id_comments_get(id) Get work item comments @@ -363,8 +363,8 @@ Get work item comments import time import testit_api_client from testit_api_client.api import work_items_comments_api +from testit_api_client.model.work_item_comment_api_result import WorkItemCommentApiResult from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.work_item_comment_model import WorkItemCommentModel from testit_api_client.model.validation_problem_details import ValidationProblemDetails from pprint import pprint # Defining the host is optional and defaults to http://localhost @@ -408,7 +408,7 @@ Name | Type | Description | Notes ### Return type -[**[WorkItemCommentModel]**](WorkItemCommentModel.md) +[**[WorkItemCommentApiResult]**](WorkItemCommentApiResult.md) ### Authorization diff --git a/docs/WorkflowsApi.md b/docs/WorkflowsApi.md index 05239db3..bdb45c6c 100644 --- a/docs/WorkflowsApi.md +++ b/docs/WorkflowsApi.md @@ -161,7 +161,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, text/json + - **Accept**: application/json ### HTTP response details @@ -260,7 +260,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Content-Type**: application/json - **Accept**: application/json @@ -354,8 +354,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details @@ -445,7 +445,7 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json + - **Content-Type**: application/json - **Accept**: application/json @@ -529,7 +529,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: text/plain, application/json, text/json + - **Accept**: application/json ### HTTP response details @@ -613,8 +613,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details @@ -698,8 +698,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/json, text/json, application/*+json - - **Accept**: text/plain, application/json, text/json + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details diff --git a/genConfig.yml b/genConfig.yml index eba0ff0a..173a7a0b 100644 --- a/genConfig.yml +++ b/genConfig.yml @@ -1,4 +1,4 @@ packageName: "testit_api_client" packageUrl: "https://pypi.org/project/testit-api-client/" -packageVersion: 7.5.1 +packageVersion: 7.5.2 projectName: "testit-api-client" diff --git a/run.sh b/run.sh index 1c65b0e7..859adfd7 100644 --- a/run.sh +++ b/run.sh @@ -2,7 +2,7 @@ # Настройка переменных FILE_NAME="cloud-swagger.json" -NEW_VERSION="7.5.1" +NEW_VERSION="7.5.2" GENERATOR="openapi-generator-cli-6.6.0.jar" if [ ! -f ".swagger/$FILE_NAME" ]; then diff --git a/setup.py b/setup.py index 548431d1..111324ae 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ NAME = "testit-api-client" -VERSION = "7.5.1" +VERSION = "7.5.2" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ diff --git a/src/testit_api_client/__init__.py b/src/testit_api_client/__init__.py index 9ceeca25..541d300b 100644 --- a/src/testit_api_client/__init__.py +++ b/src/testit_api_client/__init__.py @@ -10,7 +10,7 @@ """ -__version__ = "7.5.1" +__version__ = "7.5.2" # import ApiClient from testit_api_client.api_client import ApiClient diff --git a/src/testit_api_client/api/test_results_api.py b/src/testit_api_client/api/test_results_api.py index 6c73042b..64b4b847 100644 --- a/src/testit_api_client/api/test_results_api.py +++ b/src/testit_api_client/api/test_results_api.py @@ -30,7 +30,7 @@ from testit_api_client.model.get_external_form_api_result import GetExternalFormApiResult from testit_api_client.model.image_resize_type import ImageResizeType from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.reruns_model import RerunsModel +from testit_api_client.model.reruns_api_result import RerunsApiResult from testit_api_client.model.test_result_response import TestResultResponse from testit_api_client.model.test_result_short_response import TestResultShortResponse from testit_api_client.model.test_results_statistics_api_result import TestResultsStatisticsApiResult @@ -431,7 +431,7 @@ def __init__(self, api_client=None): ) self.api_v2_test_results_id_reruns_get_endpoint = _Endpoint( settings={ - 'response_type': (RerunsModel,), + 'response_type': (RerunsApiResult,), 'auth': [ 'Bearer or PrivateToken' ], @@ -1561,7 +1561,7 @@ def api_v2_test_results_id_reruns_get( async_req (bool): execute request asynchronously Returns: - RerunsModel + RerunsApiResult If the method is called asynchronously, returns the request thread. """ diff --git a/src/testit_api_client/api/work_items_comments_api.py b/src/testit_api_client/api/work_items_comments_api.py index d191c09a..c010d01b 100644 --- a/src/testit_api_client/api/work_items_comments_api.py +++ b/src/testit_api_client/api/work_items_comments_api.py @@ -25,7 +25,7 @@ from testit_api_client.model.api_v2_work_items_comments_put_request import ApiV2WorkItemsCommentsPutRequest from testit_api_client.model.problem_details import ProblemDetails from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from testit_api_client.model.work_item_comment_model import WorkItemCommentModel +from testit_api_client.model.work_item_comment_api_result import WorkItemCommentApiResult class WorkItemsCommentsApi(object): @@ -92,7 +92,7 @@ def __init__(self, api_client=None): ) self.api_v2_work_items_comments_post_endpoint = _Endpoint( settings={ - 'response_type': (WorkItemCommentModel,), + 'response_type': (WorkItemCommentApiResult,), 'auth': [ 'Bearer or PrivateToken' ], @@ -243,7 +243,7 @@ def __init__(self, api_client=None): ) self.api_v2_work_items_id_comments_get_endpoint = _Endpoint( settings={ - 'response_type': ([WorkItemCommentModel],), + 'response_type': ([WorkItemCommentApiResult],), 'auth': [ 'Bearer or PrivateToken' ], @@ -424,7 +424,7 @@ def api_v2_work_items_comments_post( async_req (bool): execute request asynchronously Returns: - WorkItemCommentModel + WorkItemCommentApiResult If the method is called asynchronously, returns the request thread. """ @@ -664,7 +664,7 @@ def api_v2_work_items_id_comments_get( async_req (bool): execute request asynchronously Returns: - [WorkItemCommentModel] + [WorkItemCommentApiResult] If the method is called asynchronously, returns the request thread. """ diff --git a/src/testit_api_client/api/workflows_api.py b/src/testit_api_client/api/workflows_api.py index 7fa2af25..54f53bbd 100644 --- a/src/testit_api_client/api/workflows_api.py +++ b/src/testit_api_client/api/workflows_api.py @@ -141,9 +141,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [], }, @@ -201,10 +199,7 @@ def __init__(self, api_client=None): 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client @@ -258,15 +253,10 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client @@ -323,10 +313,7 @@ def __init__(self, api_client=None): 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client @@ -376,9 +363,7 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [], }, @@ -426,15 +411,10 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client @@ -481,15 +461,10 @@ def __init__(self, api_client=None): }, headers_map={ 'accept': [ - 'text/plain', - 'application/json', - 'text/json' + 'application/json' ], 'content_type': [ - 'application/json-patch+json', - 'application/json', - 'text/json', - 'application/*+json' + 'application/json' ] }, api_client=api_client diff --git a/src/testit_api_client/api_client.py b/src/testit_api_client/api_client.py index 4254e3b1..bee3a91e 100644 --- a/src/testit_api_client/api_client.py +++ b/src/testit_api_client/api_client.py @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/7.5.1/python' + self.user_agent = 'OpenAPI-Generator/7.5.2/python' def __enter__(self): return self diff --git a/src/testit_api_client/configuration.py b/src/testit_api_client/configuration.py index e0bd685b..74c39884 100644 --- a/src/testit_api_client/configuration.py +++ b/src/testit_api_client/configuration.py @@ -413,7 +413,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v2.0\n"\ - "SDK Package Version: 7.5.1".\ + "SDK Package Version: 7.5.2".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/src/testit_api_client/model/api_v2_test_results_id_put_request.py b/src/testit_api_client/model/api_v2_test_results_id_put_request.py index 671f5b8d..0625a019 100644 --- a/src/testit_api_client/model/api_v2_test_results_id_put_request.py +++ b/src/testit_api_client/model/api_v2_test_results_id_put_request.py @@ -75,11 +75,11 @@ class ApiV2TestResultsIdPutRequest(ModelComposed): validations = { ('duration_in_ms',): { - 'inclusive_maximum': 9223372036854775807, + 'inclusive_maximum': 86400000, 'inclusive_minimum': 0, }, ('duration',): { - 'inclusive_maximum': 9223372036854775807, + 'inclusive_maximum': 86400000, 'inclusive_minimum': 0, }, } diff --git a/src/testit_api_client/model/api_v2_test_results_search_post_request.py b/src/testit_api_client/model/api_v2_test_results_search_post_request.py index e5d12835..ada7e7c9 100644 --- a/src/testit_api_client/model/api_v2_test_results_search_post_request.py +++ b/src/testit_api_client/model/api_v2_test_results_search_post_request.py @@ -116,6 +116,8 @@ def openapi_types(): 'namespace': (str, none_type,), # noqa: E501 'class_name': (str, none_type,), # noqa: E501 'auto_test_global_ids': ([int], none_type,), # noqa: E501 + 'auto_test_tags': ([str], none_type,), # noqa: E501 + 'exclude_auto_test_tags': ([str], none_type,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'created_date': (TestResultsFilterApiModelCreatedDate,), # noqa: E501 'modified_date': (TestResultsFilterApiModelModifiedDate,), # noqa: E501 @@ -139,6 +141,8 @@ def discriminator(): 'namespace': 'namespace', # noqa: E501 'class_name': 'className', # noqa: E501 'auto_test_global_ids': 'autoTestGlobalIds', # noqa: E501 + 'auto_test_tags': 'autoTestTags', # noqa: E501 + 'exclude_auto_test_tags': 'excludeAutoTestTags', # noqa: E501 'name': 'name', # noqa: E501 'created_date': 'createdDate', # noqa: E501 'modified_date': 'modifiedDate', # noqa: E501 @@ -195,6 +199,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 @@ -313,6 +319,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 diff --git a/src/testit_api_client/model/api_v2_work_items_comments_post_request.py b/src/testit_api_client/model/api_v2_work_items_comments_post_request.py index f59ceef3..f21e1895 100644 --- a/src/testit_api_client/model/api_v2_work_items_comments_post_request.py +++ b/src/testit_api_client/model/api_v2_work_items_comments_post_request.py @@ -30,8 +30,8 @@ def lazy_import(): - from testit_api_client.model.work_item_comment_post_model import WorkItemCommentPostModel - globals()['WorkItemCommentPostModel'] = WorkItemCommentPostModel + from testit_api_client.model.create_work_item_comment_api_model import CreateWorkItemCommentApiModel + globals()['CreateWorkItemCommentApiModel'] = CreateWorkItemCommentApiModel class ApiV2WorkItemsCommentsPostRequest(ModelComposed): @@ -91,8 +91,8 @@ def openapi_types(): """ lazy_import() return { - 'text': (str,), # noqa: E501 'work_item_id': (str,), # noqa: E501 + 'text': (str,), # noqa: E501 } @cached_property @@ -101,8 +101,8 @@ def discriminator(): attribute_map = { - 'text': 'text', # noqa: E501 'work_item_id': 'workItemId', # noqa: E501 + 'text': 'text', # noqa: E501 } read_only_vars = { @@ -114,8 +114,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """ApiV2WorkItemsCommentsPostRequest - a model defined in OpenAPI Keyword Args: - text (str): - work_item_id (str): + work_item_id (str): ID of work item to comment + text (str): Text of the comment _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -219,8 +219,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 """ApiV2WorkItemsCommentsPostRequest - a model defined in OpenAPI Keyword Args: - text (str): - work_item_id (str): + work_item_id (str): ID of work item to comment + text (str): Text of the comment _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -320,7 +320,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - WorkItemCommentPostModel, + CreateWorkItemCommentApiModel, ], 'oneOf': [ ], diff --git a/src/testit_api_client/model/api_v2_work_items_comments_put_request.py b/src/testit_api_client/model/api_v2_work_items_comments_put_request.py index 8f8ece9c..49252aac 100644 --- a/src/testit_api_client/model/api_v2_work_items_comments_put_request.py +++ b/src/testit_api_client/model/api_v2_work_items_comments_put_request.py @@ -30,8 +30,8 @@ def lazy_import(): - from testit_api_client.model.work_item_comment_put_model import WorkItemCommentPutModel - globals()['WorkItemCommentPutModel'] = WorkItemCommentPutModel + from testit_api_client.model.update_work_item_comment_api_model import UpdateWorkItemCommentApiModel + globals()['UpdateWorkItemCommentApiModel'] = UpdateWorkItemCommentApiModel class ApiV2WorkItemsCommentsPutRequest(ModelComposed): @@ -91,8 +91,8 @@ def openapi_types(): """ lazy_import() return { - 'text': (str,), # noqa: E501 'id': (str,), # noqa: E501 + 'text': (str,), # noqa: E501 } @cached_property @@ -101,8 +101,8 @@ def discriminator(): attribute_map = { - 'text': 'text', # noqa: E501 'id': 'id', # noqa: E501 + 'text': 'text', # noqa: E501 } read_only_vars = { @@ -114,8 +114,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """ApiV2WorkItemsCommentsPutRequest - a model defined in OpenAPI Keyword Args: + id (str): ID of the comment text (str): Text of the comment - id (str): Unique ID of the comment _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -219,8 +219,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 """ApiV2WorkItemsCommentsPutRequest - a model defined in OpenAPI Keyword Args: + id (str): ID of the comment text (str): Text of the comment - id (str): Unique ID of the comment _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -320,7 +320,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - WorkItemCommentPutModel, + UpdateWorkItemCommentApiModel, ], 'oneOf': [ ], diff --git a/src/testit_api_client/model/auto_test_filter_api_model.py b/src/testit_api_client/model/auto_test_filter_api_model.py index 7183efce..fcc864d9 100644 --- a/src/testit_api_client/model/auto_test_filter_api_model.py +++ b/src/testit_api_client/model/auto_test_filter_api_model.py @@ -88,6 +88,8 @@ class AutoTestFilterApiModel(ModelNormal): }, ('tags',): { }, + ('exclude_tags',): { + }, } additional_properties_type = None @@ -127,6 +129,7 @@ def openapi_types(): 'external_key': (str, none_type,), # noqa: E501 'last_test_result_configuration_ids': ([str], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'exclude_tags': ([str], none_type,), # noqa: E501 } @cached_property @@ -156,6 +159,7 @@ def discriminator(): 'external_key': 'externalKey', # noqa: E501 'last_test_result_configuration_ids': 'lastTestResultConfigurationIds', # noqa: E501 'tags': 'tags', # noqa: E501 + 'exclude_tags': 'excludeTags', # noqa: E501 } read_only_vars = { @@ -220,6 +224,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 external_key (str, none_type): Specifies an autotest external key to search for. [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): Specifies an autotest configuration IDs of the last test result to search for. [optional] # noqa: E501 tags ([str], none_type): Specifies an autotest tags to search for. [optional] # noqa: E501 + exclude_tags ([str], none_type): Specifies an autotest tags to exclude. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -326,6 +331,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 external_key (str, none_type): Specifies an autotest external key to search for. [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): Specifies an autotest configuration IDs of the last test result to search for. [optional] # noqa: E501 tags ([str], none_type): Specifies an autotest tags to search for. [optional] # noqa: E501 + exclude_tags ([str], none_type): Specifies an autotest tags to exclude. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/auto_test_filter_model.py b/src/testit_api_client/model/auto_test_filter_model.py index c9d70222..501c0274 100644 --- a/src/testit_api_client/model/auto_test_filter_model.py +++ b/src/testit_api_client/model/auto_test_filter_model.py @@ -105,6 +105,7 @@ def openapi_types(): 'external_key': (str, none_type,), # noqa: E501 'last_test_result_configuration_ids': ([str], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'exclude_tags': ([str], none_type,), # noqa: E501 } @cached_property @@ -134,6 +135,7 @@ def discriminator(): 'external_key': 'externalKey', # noqa: E501 'last_test_result_configuration_ids': 'lastTestResultConfigurationIds', # noqa: E501 'tags': 'tags', # noqa: E501 + 'exclude_tags': 'excludeTags', # noqa: E501 } read_only_vars = { @@ -198,6 +200,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 external_key (str, none_type): [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): [optional] # noqa: E501 tags ([str], none_type): [optional] # noqa: E501 + exclude_tags ([str], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -304,6 +307,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 external_key (str, none_type): [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): [optional] # noqa: E501 tags ([str], none_type): [optional] # noqa: E501 + exclude_tags ([str], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/auto_test_search_api_model_filter.py b/src/testit_api_client/model/auto_test_search_api_model_filter.py index 00116c60..72834e2f 100644 --- a/src/testit_api_client/model/auto_test_search_api_model_filter.py +++ b/src/testit_api_client/model/auto_test_search_api_model_filter.py @@ -90,6 +90,8 @@ class AutoTestSearchApiModelFilter(ModelComposed): }, ('tags',): { }, + ('exclude_tags',): { + }, } @cached_property @@ -136,6 +138,7 @@ def openapi_types(): 'external_key': (str, none_type,), # noqa: E501 'last_test_result_configuration_ids': ([str], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'exclude_tags': ([str], none_type,), # noqa: E501 } @cached_property @@ -165,6 +168,7 @@ def discriminator(): 'external_key': 'externalKey', # noqa: E501 'last_test_result_configuration_ids': 'lastTestResultConfigurationIds', # noqa: E501 'tags': 'tags', # noqa: E501 + 'exclude_tags': 'excludeTags', # noqa: E501 } read_only_vars = { @@ -227,6 +231,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 external_key (str, none_type): Specifies an autotest external key to search for. [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): Specifies an autotest configuration IDs of the last test result to search for. [optional] # noqa: E501 tags ([str], none_type): Specifies an autotest tags to search for. [optional] # noqa: E501 + exclude_tags ([str], none_type): Specifies an autotest tags to exclude. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -351,6 +356,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 external_key (str, none_type): Specifies an autotest external key to search for. [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): Specifies an autotest configuration IDs of the last test result to search for. [optional] # noqa: E501 tags ([str], none_type): Specifies an autotest tags to search for. [optional] # noqa: E501 + exclude_tags ([str], none_type): Specifies an autotest tags to exclude. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/auto_test_select_model_filter.py b/src/testit_api_client/model/auto_test_select_model_filter.py index c1d2c500..7f644b5e 100644 --- a/src/testit_api_client/model/auto_test_select_model_filter.py +++ b/src/testit_api_client/model/auto_test_select_model_filter.py @@ -114,6 +114,7 @@ def openapi_types(): 'external_key': (str, none_type,), # noqa: E501 'last_test_result_configuration_ids': ([str], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'exclude_tags': ([str], none_type,), # noqa: E501 } @cached_property @@ -143,6 +144,7 @@ def discriminator(): 'external_key': 'externalKey', # noqa: E501 'last_test_result_configuration_ids': 'lastTestResultConfigurationIds', # noqa: E501 'tags': 'tags', # noqa: E501 + 'exclude_tags': 'excludeTags', # noqa: E501 } read_only_vars = { @@ -205,6 +207,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 external_key (str, none_type): [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): [optional] # noqa: E501 tags ([str], none_type): [optional] # noqa: E501 + exclude_tags ([str], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -329,6 +332,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 external_key (str, none_type): [optional] # noqa: E501 last_test_result_configuration_ids ([str], none_type): [optional] # noqa: E501 tags ([str], none_type): [optional] # noqa: E501 + exclude_tags ([str], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/work_item_comment_post_model.py b/src/testit_api_client/model/create_work_item_comment_api_model.py similarity index 95% rename from src/testit_api_client/model/work_item_comment_post_model.py rename to src/testit_api_client/model/create_work_item_comment_api_model.py index 178cf9e4..a8b69331 100644 --- a/src/testit_api_client/model/work_item_comment_post_model.py +++ b/src/testit_api_client/model/create_work_item_comment_api_model.py @@ -30,7 +30,7 @@ -class WorkItemCommentPostModel(ModelNormal): +class CreateWorkItemCommentApiModel(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -79,8 +79,8 @@ def openapi_types(): and the value is attribute type. """ return { - 'text': (str,), # noqa: E501 'work_item_id': (str,), # noqa: E501 + 'text': (str,), # noqa: E501 } @cached_property @@ -89,8 +89,8 @@ def discriminator(): attribute_map = { - 'text': 'text', # noqa: E501 'work_item_id': 'workItemId', # noqa: E501 + 'text': 'text', # noqa: E501 } read_only_vars = { @@ -100,12 +100,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, text, work_item_id, *args, **kwargs): # noqa: E501 - """WorkItemCommentPostModel - a model defined in OpenAPI + def _from_openapi_data(cls, work_item_id, text, *args, **kwargs): # noqa: E501 + """CreateWorkItemCommentApiModel - a model defined in OpenAPI Args: - text (str): - work_item_id (str): + work_item_id (str): ID of work item to comment + text (str): Text of the comment Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -169,8 +169,8 @@ def _from_openapi_data(cls, text, work_item_id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.text = text self.work_item_id = work_item_id + self.text = text for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -191,12 +191,12 @@ def _from_openapi_data(cls, text, work_item_id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, text, work_item_id, *args, **kwargs): # noqa: E501 - """WorkItemCommentPostModel - a model defined in OpenAPI + def __init__(self, work_item_id, text, *args, **kwargs): # noqa: E501 + """CreateWorkItemCommentApiModel - a model defined in OpenAPI Args: - text (str): - work_item_id (str): + work_item_id (str): ID of work item to comment + text (str): Text of the comment Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -258,8 +258,8 @@ def __init__(self, text, work_item_id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.text = text self.work_item_id = work_item_id + self.text = text for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/src/testit_api_client/model/manual_rerun_select_test_results_api_model_filter.py b/src/testit_api_client/model/manual_rerun_select_test_results_api_model_filter.py index be4533f7..75cbffee 100644 --- a/src/testit_api_client/model/manual_rerun_select_test_results_api_model_filter.py +++ b/src/testit_api_client/model/manual_rerun_select_test_results_api_model_filter.py @@ -116,6 +116,8 @@ def openapi_types(): 'namespace': (str, none_type,), # noqa: E501 'class_name': (str, none_type,), # noqa: E501 'auto_test_global_ids': ([int], none_type,), # noqa: E501 + 'auto_test_tags': ([str], none_type,), # noqa: E501 + 'exclude_auto_test_tags': ([str], none_type,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'created_date': (TestResultsFilterApiModelCreatedDate,), # noqa: E501 'modified_date': (TestResultsFilterApiModelModifiedDate,), # noqa: E501 @@ -139,6 +141,8 @@ def discriminator(): 'namespace': 'namespace', # noqa: E501 'class_name': 'className', # noqa: E501 'auto_test_global_ids': 'autoTestGlobalIds', # noqa: E501 + 'auto_test_tags': 'autoTestTags', # noqa: E501 + 'exclude_auto_test_tags': 'excludeAutoTestTags', # noqa: E501 'name': 'name', # noqa: E501 'created_date': 'createdDate', # noqa: E501 'modified_date': 'modifiedDate', # noqa: E501 @@ -195,6 +199,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 @@ -313,6 +319,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 diff --git a/src/testit_api_client/model/rerun_test_result_model.py b/src/testit_api_client/model/rerun_test_result_model.py deleted file mode 100644 index f6f5376a..00000000 --- a/src/testit_api_client/model/rerun_test_result_model.py +++ /dev/null @@ -1,273 +0,0 @@ -""" - API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v2.0 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from testit_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from testit_api_client.exceptions import ApiAttributeError - - - -class RerunTestResultModel(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'run_number': (int,), # noqa: E501 - 'outcome': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'run_number': 'runNumber', # noqa: E501 - 'outcome': 'outcome', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, run_number, *args, **kwargs): # noqa: E501 - """RerunTestResultModel - a model defined in OpenAPI - - Args: - id (str): - run_number (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - outcome (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.run_number = run_number - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, run_number, *args, **kwargs): # noqa: E501 - """RerunTestResultModel - a model defined in OpenAPI - - Args: - id (str): - run_number (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - outcome (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.run_number = run_number - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/src/testit_api_client/model/reruns_model.py b/src/testit_api_client/model/reruns_api_result.py similarity index 95% rename from src/testit_api_client/model/reruns_model.py rename to src/testit_api_client/model/reruns_api_result.py index a132baed..c5566387 100644 --- a/src/testit_api_client/model/reruns_model.py +++ b/src/testit_api_client/model/reruns_api_result.py @@ -30,11 +30,11 @@ def lazy_import(): - from testit_api_client.model.rerun_test_result_model import RerunTestResultModel - globals()['RerunTestResultModel'] = RerunTestResultModel + from testit_api_client.model.rerun_test_result_api_result import RerunTestResultApiResult + globals()['RerunTestResultApiResult'] = RerunTestResultApiResult -class RerunsModel(ModelNormal): +class RerunsApiResult(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -81,7 +81,7 @@ def openapi_types(): lazy_import() return { 'rerun_count': (int,), # noqa: E501 - 'rerun_test_results': ([RerunTestResultModel],), # noqa: E501 + 'rerun_test_results': ([RerunTestResultApiResult],), # noqa: E501 } @cached_property @@ -102,11 +102,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, rerun_count, rerun_test_results, *args, **kwargs): # noqa: E501 - """RerunsModel - a model defined in OpenAPI + """RerunsApiResult - a model defined in OpenAPI Args: rerun_count (int): - rerun_test_results ([RerunTestResultModel]): + rerun_test_results ([RerunTestResultApiResult]): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -193,11 +193,11 @@ def _from_openapi_data(cls, rerun_count, rerun_test_results, *args, **kwargs): @convert_js_args_to_python_args def __init__(self, rerun_count, rerun_test_results, *args, **kwargs): # noqa: E501 - """RerunsModel - a model defined in OpenAPI + """RerunsApiResult - a model defined in OpenAPI Args: rerun_count (int): - rerun_test_results ([RerunTestResultModel]): + rerun_test_results ([RerunTestResultApiResult]): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/src/testit_api_client/model/search_work_items_request.py b/src/testit_api_client/model/search_work_items_request.py index 6cbf5eec..41bee978 100644 --- a/src/testit_api_client/model/search_work_items_request.py +++ b/src/testit_api_client/model/search_work_items_request.py @@ -150,9 +150,7 @@ def openapi_types(): 'name_or_id': (str, none_type,), # noqa: E501 'include_ids': ([str], none_type,), # noqa: E501 'exclude_ids': ([str], none_type,), # noqa: E501 - 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 'project_ids': ([str], none_type,), # noqa: E501 - 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'ids': ([str], none_type,), # noqa: E501 'global_ids': ([int], none_type,), # noqa: E501 @@ -174,6 +172,8 @@ def openapi_types(): 'exclude_tags': ([str], none_type,), # noqa: E501 'auto_test_ids': ([str], none_type,), # noqa: E501 'work_item_version_ids': ([str], none_type,), # noqa: E501 + 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 + 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 } @cached_property @@ -187,9 +187,7 @@ def discriminator(): 'name_or_id': 'nameOrId', # noqa: E501 'include_ids': 'includeIds', # noqa: E501 'exclude_ids': 'excludeIds', # noqa: E501 - 'external_metadata': 'externalMetadata', # noqa: E501 'project_ids': 'projectIds', # noqa: E501 - 'links': 'links', # noqa: E501 'name': 'name', # noqa: E501 'ids': 'ids', # noqa: E501 'global_ids': 'globalIds', # noqa: E501 @@ -211,6 +209,8 @@ def discriminator(): 'exclude_tags': 'excludeTags', # noqa: E501 'auto_test_ids': 'autoTestIds', # noqa: E501 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 + 'links': 'links', # noqa: E501 + 'external_metadata': 'externalMetadata', # noqa: E501 } read_only_vars = { @@ -257,9 +257,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -281,6 +279,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -389,9 +389,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -413,6 +411,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/test_result_short_response.py b/src/testit_api_client/model/test_result_short_response.py index e91b4ecf..3cf9c83e 100644 --- a/src/testit_api_client/model/test_result_short_response.py +++ b/src/testit_api_client/model/test_result_short_response.py @@ -89,6 +89,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'name': (str,), # noqa: E501 'autotest_global_id': (int,), # noqa: E501 + 'auto_test_tags': ([str],), # noqa: E501 'test_run_id': (str,), # noqa: E501 'configuration_id': (str,), # noqa: E501 'configuration_name': (str,), # noqa: E501 @@ -117,6 +118,7 @@ def discriminator(): 'id': 'id', # noqa: E501 'name': 'name', # noqa: E501 'autotest_global_id': 'autotestGlobalId', # noqa: E501 + 'auto_test_tags': 'autoTestTags', # noqa: E501 'test_run_id': 'testRunId', # noqa: E501 'configuration_id': 'configurationId', # noqa: E501 'configuration_name': 'configurationName', # noqa: E501 @@ -143,13 +145,14 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, name, autotest_global_id, test_run_id, configuration_id, configuration_name, status, result_reasons, date, created_date, links, attachments, rerun_completed_count, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, name, autotest_global_id, auto_test_tags, test_run_id, configuration_id, configuration_name, status, result_reasons, date, created_date, links, attachments, rerun_completed_count, *args, **kwargs): # noqa: E501 """TestResultShortResponse - a model defined in OpenAPI Args: id (str): Unique ID of the test result name (str): Name of autotest represented by the test result autotest_global_id (int): Global ID of autotest represented by the test result + auto_test_tags ([str]): Tags of the autotest represented by the test result test_run_id (str): Unique ID of test run where the test result is located configuration_id (str): Unique ID of configuration which the test result uses configuration_name (str): Name of configuration which the test result uses @@ -233,6 +236,7 @@ def _from_openapi_data(cls, id, name, autotest_global_id, test_run_id, configura self.id = id self.name = name self.autotest_global_id = autotest_global_id + self.auto_test_tags = auto_test_tags self.test_run_id = test_run_id self.configuration_id = configuration_id self.configuration_name = configuration_name @@ -263,13 +267,14 @@ def _from_openapi_data(cls, id, name, autotest_global_id, test_run_id, configura ]) @convert_js_args_to_python_args - def __init__(self, id, name, autotest_global_id, test_run_id, configuration_id, configuration_name, status, result_reasons, date, created_date, links, attachments, rerun_completed_count, *args, **kwargs): # noqa: E501 + def __init__(self, id, name, autotest_global_id, auto_test_tags, test_run_id, configuration_id, configuration_name, status, result_reasons, date, created_date, links, attachments, rerun_completed_count, *args, **kwargs): # noqa: E501 """TestResultShortResponse - a model defined in OpenAPI Args: id (str): Unique ID of the test result name (str): Name of autotest represented by the test result autotest_global_id (int): Global ID of autotest represented by the test result + auto_test_tags ([str]): Tags of the autotest represented by the test result test_run_id (str): Unique ID of test run where the test result is located configuration_id (str): Unique ID of configuration which the test result uses configuration_name (str): Name of configuration which the test result uses @@ -351,6 +356,7 @@ def __init__(self, id, name, autotest_global_id, test_run_id, configuration_id, self.id = id self.name = name self.autotest_global_id = autotest_global_id + self.auto_test_tags = auto_test_tags self.test_run_id = test_run_id self.configuration_id = configuration_id self.configuration_name = configuration_name diff --git a/src/testit_api_client/model/test_result_update_v2_request.py b/src/testit_api_client/model/test_result_update_v2_request.py index ec8a7eef..1d0987da 100644 --- a/src/testit_api_client/model/test_result_update_v2_request.py +++ b/src/testit_api_client/model/test_result_update_v2_request.py @@ -73,11 +73,11 @@ class TestResultUpdateV2Request(ModelNormal): validations = { ('duration_in_ms',): { - 'inclusive_maximum': 9223372036854775807, + 'inclusive_maximum': 86400000, 'inclusive_minimum': 0, }, ('duration',): { - 'inclusive_maximum': 9223372036854775807, + 'inclusive_maximum': 86400000, 'inclusive_minimum': 0, }, } diff --git a/src/testit_api_client/model/test_results_filter_api_model.py b/src/testit_api_client/model/test_results_filter_api_model.py index 6ce58707..3f65cfdd 100644 --- a/src/testit_api_client/model/test_results_filter_api_model.py +++ b/src/testit_api_client/model/test_results_filter_api_model.py @@ -107,6 +107,8 @@ def openapi_types(): 'namespace': (str, none_type,), # noqa: E501 'class_name': (str, none_type,), # noqa: E501 'auto_test_global_ids': ([int], none_type,), # noqa: E501 + 'auto_test_tags': ([str], none_type,), # noqa: E501 + 'exclude_auto_test_tags': ([str], none_type,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'created_date': (TestResultsFilterApiModelCreatedDate,), # noqa: E501 'modified_date': (TestResultsFilterApiModelModifiedDate,), # noqa: E501 @@ -130,6 +132,8 @@ def discriminator(): 'namespace': 'namespace', # noqa: E501 'class_name': 'className', # noqa: E501 'auto_test_global_ids': 'autoTestGlobalIds', # noqa: E501 + 'auto_test_tags': 'autoTestTags', # noqa: E501 + 'exclude_auto_test_tags': 'excludeAutoTestTags', # noqa: E501 'name': 'name', # noqa: E501 'created_date': 'createdDate', # noqa: E501 'modified_date': 'modifiedDate', # noqa: E501 @@ -188,6 +192,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 @@ -288,6 +294,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 diff --git a/src/testit_api_client/model/test_results_select_api_model_filter.py b/src/testit_api_client/model/test_results_select_api_model_filter.py index f4bad017..764b9435 100644 --- a/src/testit_api_client/model/test_results_select_api_model_filter.py +++ b/src/testit_api_client/model/test_results_select_api_model_filter.py @@ -116,6 +116,8 @@ def openapi_types(): 'namespace': (str, none_type,), # noqa: E501 'class_name': (str, none_type,), # noqa: E501 'auto_test_global_ids': ([int], none_type,), # noqa: E501 + 'auto_test_tags': ([str], none_type,), # noqa: E501 + 'exclude_auto_test_tags': ([str], none_type,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'created_date': (TestResultsFilterApiModelCreatedDate,), # noqa: E501 'modified_date': (TestResultsFilterApiModelModifiedDate,), # noqa: E501 @@ -139,6 +141,8 @@ def discriminator(): 'namespace': 'namespace', # noqa: E501 'class_name': 'className', # noqa: E501 'auto_test_global_ids': 'autoTestGlobalIds', # noqa: E501 + 'auto_test_tags': 'autoTestTags', # noqa: E501 + 'exclude_auto_test_tags': 'excludeAutoTestTags', # noqa: E501 'name': 'name', # noqa: E501 'created_date': 'createdDate', # noqa: E501 'modified_date': 'modifiedDate', # noqa: E501 @@ -195,6 +199,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 @@ -313,6 +319,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 namespace (str, none_type): Specifies a test result namespace to search for. [optional] # noqa: E501 class_name (str, none_type): Specifies a test result class name to search for. [optional] # noqa: E501 auto_test_global_ids ([int], none_type): Specifies an autotest global IDs to search results for. [optional] # noqa: E501 + auto_test_tags ([str], none_type): Specifies autotest tags to include in the search.. [optional] # noqa: E501 + exclude_auto_test_tags ([str], none_type): Specifies autotest tags to exclude from the search.. [optional] # noqa: E501 name (str, none_type): Specifies an autotest name to search results for. [optional] # noqa: E501 created_date (TestResultsFilterApiModelCreatedDate): [optional] # noqa: E501 modified_date (TestResultsFilterApiModelModifiedDate): [optional] # noqa: E501 diff --git a/src/testit_api_client/model/test_suite_work_items_search_model.py b/src/testit_api_client/model/test_suite_work_items_search_model.py index e1cd5175..3e6420cd 100644 --- a/src/testit_api_client/model/test_suite_work_items_search_model.py +++ b/src/testit_api_client/model/test_suite_work_items_search_model.py @@ -141,9 +141,7 @@ def openapi_types(): 'name_or_id': (str, none_type,), # noqa: E501 'include_ids': ([str], none_type,), # noqa: E501 'exclude_ids': ([str], none_type,), # noqa: E501 - 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 'project_ids': ([str], none_type,), # noqa: E501 - 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'ids': ([str], none_type,), # noqa: E501 'global_ids': ([int], none_type,), # noqa: E501 @@ -165,6 +163,8 @@ def openapi_types(): 'exclude_tags': ([str], none_type,), # noqa: E501 'auto_test_ids': ([str], none_type,), # noqa: E501 'work_item_version_ids': ([str], none_type,), # noqa: E501 + 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 + 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 } @cached_property @@ -178,9 +178,7 @@ def discriminator(): 'name_or_id': 'nameOrId', # noqa: E501 'include_ids': 'includeIds', # noqa: E501 'exclude_ids': 'excludeIds', # noqa: E501 - 'external_metadata': 'externalMetadata', # noqa: E501 'project_ids': 'projectIds', # noqa: E501 - 'links': 'links', # noqa: E501 'name': 'name', # noqa: E501 'ids': 'ids', # noqa: E501 'global_ids': 'globalIds', # noqa: E501 @@ -202,6 +200,8 @@ def discriminator(): 'exclude_tags': 'excludeTags', # noqa: E501 'auto_test_ids': 'autoTestIds', # noqa: E501 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 + 'links': 'links', # noqa: E501 + 'external_metadata': 'externalMetadata', # noqa: E501 } read_only_vars = { @@ -250,9 +250,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -274,6 +272,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -364,9 +364,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -388,6 +386,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/work_item_comment_put_model.py b/src/testit_api_client/model/update_work_item_comment_api_model.py similarity index 96% rename from src/testit_api_client/model/work_item_comment_put_model.py rename to src/testit_api_client/model/update_work_item_comment_api_model.py index 9be5ff03..2842e02a 100644 --- a/src/testit_api_client/model/work_item_comment_put_model.py +++ b/src/testit_api_client/model/update_work_item_comment_api_model.py @@ -30,7 +30,7 @@ -class WorkItemCommentPutModel(ModelNormal): +class UpdateWorkItemCommentApiModel(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -79,8 +79,8 @@ def openapi_types(): and the value is attribute type. """ return { - 'text': (str,), # noqa: E501 'id': (str,), # noqa: E501 + 'text': (str,), # noqa: E501 } @cached_property @@ -89,8 +89,8 @@ def discriminator(): attribute_map = { - 'text': 'text', # noqa: E501 'id': 'id', # noqa: E501 + 'text': 'text', # noqa: E501 } read_only_vars = { @@ -100,12 +100,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, text, id, *args, **kwargs): # noqa: E501 - """WorkItemCommentPutModel - a model defined in OpenAPI + def _from_openapi_data(cls, id, text, *args, **kwargs): # noqa: E501 + """UpdateWorkItemCommentApiModel - a model defined in OpenAPI Args: + id (str): ID of the comment text (str): Text of the comment - id (str): Unique ID of the comment Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -169,8 +169,8 @@ def _from_openapi_data(cls, text, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.text = text self.id = id + self.text = text for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -191,12 +191,12 @@ def _from_openapi_data(cls, text, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, text, id, *args, **kwargs): # noqa: E501 - """WorkItemCommentPutModel - a model defined in OpenAPI + def __init__(self, id, text, *args, **kwargs): # noqa: E501 + """UpdateWorkItemCommentApiModel - a model defined in OpenAPI Args: + id (str): ID of the comment text (str): Text of the comment - id (str): Unique ID of the comment Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -258,8 +258,8 @@ def __init__(self, text, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - self.text = text self.id = id + self.text = text for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/src/testit_api_client/model/user_rank_model.py b/src/testit_api_client/model/user_rank_model.py deleted file mode 100644 index 49a6e516..00000000 --- a/src/testit_api_client/model/user_rank_model.py +++ /dev/null @@ -1,311 +0,0 @@ -""" - API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v2.0 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from testit_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from testit_api_client.exceptions import ApiAttributeError - - - -class UserRankModel(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'score': (int,), # noqa: E501 - 'work_items_created': (int,), # noqa: E501 - 'passed_test_points': (int,), # noqa: E501 - 'failed_test_points': (int,), # noqa: E501 - 'skipped_test_points': (int,), # noqa: E501 - 'blocked_test_points': (int,), # noqa: E501 - 'level_avatar_enabled': (bool,), # noqa: E501 - 'succeeded_test_points': (int,), # noqa: E501 - 'incomplete_test_points': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'score': 'score', # noqa: E501 - 'work_items_created': 'workItemsCreated', # noqa: E501 - 'passed_test_points': 'passedTestPoints', # noqa: E501 - 'failed_test_points': 'failedTestPoints', # noqa: E501 - 'skipped_test_points': 'skippedTestPoints', # noqa: E501 - 'blocked_test_points': 'blockedTestPoints', # noqa: E501 - 'level_avatar_enabled': 'levelAvatarEnabled', # noqa: E501 - 'succeeded_test_points': 'succeededTestPoints', # noqa: E501 - 'incomplete_test_points': 'incompleteTestPoints', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, score, work_items_created, passed_test_points, failed_test_points, skipped_test_points, blocked_test_points, level_avatar_enabled, succeeded_test_points, incomplete_test_points, *args, **kwargs): # noqa: E501 - """UserRankModel - a model defined in OpenAPI - - Args: - score (int): - work_items_created (int): - passed_test_points (int): - failed_test_points (int): - skipped_test_points (int): - blocked_test_points (int): - level_avatar_enabled (bool): - succeeded_test_points (int): - incomplete_test_points (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.score = score - self.work_items_created = work_items_created - self.passed_test_points = passed_test_points - self.failed_test_points = failed_test_points - self.skipped_test_points = skipped_test_points - self.blocked_test_points = blocked_test_points - self.level_avatar_enabled = level_avatar_enabled - self.succeeded_test_points = succeeded_test_points - self.incomplete_test_points = incomplete_test_points - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, score, work_items_created, passed_test_points, failed_test_points, skipped_test_points, blocked_test_points, level_avatar_enabled, succeeded_test_points, incomplete_test_points, *args, **kwargs): # noqa: E501 - """UserRankModel - a model defined in OpenAPI - - Args: - score (int): - work_items_created (int): - passed_test_points (int): - failed_test_points (int): - skipped_test_points (int): - blocked_test_points (int): - level_avatar_enabled (bool): - succeeded_test_points (int): - incomplete_test_points (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.score = score - self.work_items_created = work_items_created - self.passed_test_points = passed_test_points - self.failed_test_points = failed_test_points - self.skipped_test_points = skipped_test_points - self.blocked_test_points = blocked_test_points - self.level_avatar_enabled = level_avatar_enabled - self.succeeded_test_points = succeeded_test_points - self.incomplete_test_points = incomplete_test_points - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/src/testit_api_client/model/user_with_rank_model.py b/src/testit_api_client/model/user_with_rank_model.py deleted file mode 100644 index 077c9a10..00000000 --- a/src/testit_api_client/model/user_with_rank_model.py +++ /dev/null @@ -1,344 +0,0 @@ -""" - API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v2.0 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from testit_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from testit_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from testit_api_client.model.user_with_rank_model_user_rank import UserWithRankModelUserRank - globals()['UserWithRankModelUserRank'] = UserWithRankModelUserRank - - -class UserWithRankModel(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - additional_properties_type = None - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'first_name': (str,), # noqa: E501 - 'last_name': (str,), # noqa: E501 - 'middle_name': (str,), # noqa: E501 - 'user_name': (str,), # noqa: E501 - 'display_name': (str,), # noqa: E501 - 'user_type': (str,), # noqa: E501 - 'avatar_url': (str,), # noqa: E501 - 'avatar_metadata': (str,), # noqa: E501 - 'is_deleted': (bool,), # noqa: E501 - 'is_disabled': (bool,), # noqa: E501 - 'is_active_status_by_entity': (bool,), # noqa: E501 - 'user_rank': (UserWithRankModelUserRank,), # noqa: E501 - 'provider_id': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'first_name': 'firstName', # noqa: E501 - 'last_name': 'lastName', # noqa: E501 - 'middle_name': 'middleName', # noqa: E501 - 'user_name': 'userName', # noqa: E501 - 'display_name': 'displayName', # noqa: E501 - 'user_type': 'userType', # noqa: E501 - 'avatar_url': 'avatarUrl', # noqa: E501 - 'avatar_metadata': 'avatarMetadata', # noqa: E501 - 'is_deleted': 'isDeleted', # noqa: E501 - 'is_disabled': 'isDisabled', # noqa: E501 - 'is_active_status_by_entity': 'isActiveStatusByEntity', # noqa: E501 - 'user_rank': 'userRank', # noqa: E501 - 'provider_id': 'providerId', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, first_name, last_name, middle_name, user_name, display_name, user_type, avatar_url, avatar_metadata, is_deleted, is_disabled, is_active_status_by_entity, user_rank, *args, **kwargs): # noqa: E501 - """UserWithRankModel - a model defined in OpenAPI - - Args: - id (str): - first_name (str): - last_name (str): - middle_name (str): - user_name (str): - display_name (str): - user_type (str): - avatar_url (str): - avatar_metadata (str): - is_deleted (bool): - is_disabled (bool): - is_active_status_by_entity (bool): - user_rank (UserWithRankModelUserRank): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - provider_id (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', True) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.first_name = first_name - self.last_name = last_name - self.middle_name = middle_name - self.user_name = user_name - self.display_name = display_name - self.user_type = user_type - self.avatar_url = avatar_url - self.avatar_metadata = avatar_metadata - self.is_deleted = is_deleted - self.is_disabled = is_disabled - self.is_active_status_by_entity = is_active_status_by_entity - self.user_rank = user_rank - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, first_name, last_name, middle_name, user_name, display_name, user_type, avatar_url, avatar_metadata, is_deleted, is_disabled, is_active_status_by_entity, user_rank, *args, **kwargs): # noqa: E501 - """UserWithRankModel - a model defined in OpenAPI - - Args: - id (str): - first_name (str): - last_name (str): - middle_name (str): - user_name (str): - display_name (str): - user_type (str): - avatar_url (str): - avatar_metadata (str): - is_deleted (bool): - is_disabled (bool): - is_active_status_by_entity (bool): - user_rank (UserWithRankModelUserRank): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - provider_id (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.first_name = first_name - self.last_name = last_name - self.middle_name = middle_name - self.user_name = user_name - self.display_name = display_name - self.user_type = user_type - self.avatar_url = avatar_url - self.avatar_metadata = avatar_metadata - self.is_deleted = is_deleted - self.is_disabled = is_disabled - self.is_active_status_by_entity = is_active_status_by_entity - self.user_rank = user_rank - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/src/testit_api_client/model/user_with_rank_model_user_rank.py b/src/testit_api_client/model/user_with_rank_model_user_rank.py deleted file mode 100644 index 8125b630..00000000 --- a/src/testit_api_client/model/user_with_rank_model_user_rank.py +++ /dev/null @@ -1,351 +0,0 @@ -""" - API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v2.0 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from testit_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from testit_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from testit_api_client.model.user_rank_model import UserRankModel - globals()['UserRankModel'] = UserRankModel - - -class UserWithRankModelUserRank(ModelComposed): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'score': (int,), # noqa: E501 - 'work_items_created': (int,), # noqa: E501 - 'passed_test_points': (int,), # noqa: E501 - 'failed_test_points': (int,), # noqa: E501 - 'skipped_test_points': (int,), # noqa: E501 - 'blocked_test_points': (int,), # noqa: E501 - 'level_avatar_enabled': (bool,), # noqa: E501 - 'succeeded_test_points': (int,), # noqa: E501 - 'incomplete_test_points': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'score': 'score', # noqa: E501 - 'work_items_created': 'workItemsCreated', # noqa: E501 - 'passed_test_points': 'passedTestPoints', # noqa: E501 - 'failed_test_points': 'failedTestPoints', # noqa: E501 - 'skipped_test_points': 'skippedTestPoints', # noqa: E501 - 'blocked_test_points': 'blockedTestPoints', # noqa: E501 - 'level_avatar_enabled': 'levelAvatarEnabled', # noqa: E501 - 'succeeded_test_points': 'succeededTestPoints', # noqa: E501 - 'incomplete_test_points': 'incompleteTestPoints', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UserWithRankModelUserRank - a model defined in OpenAPI - - Keyword Args: - score (int): - work_items_created (int): - passed_test_points (int): - failed_test_points (int): - skipped_test_points (int): - blocked_test_points (int): - level_avatar_enabled (bool): - succeeded_test_points (int): - incomplete_test_points (int): - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - - for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: - # discard variable. - continue - setattr(self, var_name, var_value) - - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - '_composed_instances', - '_var_name_to_model_instances', - '_additional_properties_model_instances', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UserWithRankModelUserRank - a model defined in OpenAPI - - Keyword Args: - score (int): - work_items_created (int): - passed_test_points (int): - failed_test_points (int): - skipped_test_points (int): - blocked_test_points (int): - level_avatar_enabled (bool): - succeeded_test_points (int): - incomplete_test_points (int): - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - - for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") - - @cached_property - def _composed_schemas(): - # we need this here to make our import statements work - # we must store _composed_schemas in here so the code is only run - # when we invoke this method. If we kept this at the class - # level we would get an error because the class level - # code would be run when this module is imported, and these composed - # classes don't exist yet because their module has not finished - # loading - lazy_import() - return { - 'anyOf': [ - ], - 'allOf': [ - UserRankModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/work_item_change_model.py b/src/testit_api_client/model/work_item_change_model.py index 8971284c..03cf10da 100644 --- a/src/testit_api_client/model/work_item_change_model.py +++ b/src/testit_api_client/model/work_item_change_model.py @@ -86,7 +86,9 @@ def openapi_types(): 'new_version_id': (str,), # noqa: E501 'work_item_changed_fields': (WorkItemChangeModelWorkItemChangedFields,), # noqa: E501 'created_by_id': (str,), # noqa: E501 - 'created_date': (datetime, none_type,), # noqa: E501 + 'created_date': (datetime,), # noqa: E501 + 'modified_by_id': (str, none_type,), # noqa: E501 + 'modified_date': (datetime, none_type,), # noqa: E501 } @cached_property @@ -102,6 +104,8 @@ def discriminator(): 'work_item_changed_fields': 'workItemChangedFields', # noqa: E501 'created_by_id': 'createdById', # noqa: E501 'created_date': 'createdDate', # noqa: E501 + 'modified_by_id': 'modifiedById', # noqa: E501 + 'modified_date': 'modifiedDate', # noqa: E501 } read_only_vars = { @@ -111,7 +115,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, work_item_id, old_version_id, new_version_id, work_item_changed_fields, created_by_id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, work_item_id, old_version_id, new_version_id, work_item_changed_fields, created_by_id, created_date, *args, **kwargs): # noqa: E501 """WorkItemChangeModel - a model defined in OpenAPI Args: @@ -121,6 +125,7 @@ def _from_openapi_data(cls, id, work_item_id, old_version_id, new_version_id, wo new_version_id (str): work_item_changed_fields (WorkItemChangeModelWorkItemChangedFields): created_by_id (str): + created_date (datetime): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -153,7 +158,8 @@ def _from_openapi_data(cls, id, work_item_id, old_version_id, new_version_id, wo Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - created_date (datetime, none_type): [optional] # noqa: E501 + modified_by_id (str, none_type): [optional] # noqa: E501 + modified_date (datetime, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -191,6 +197,7 @@ def _from_openapi_data(cls, id, work_item_id, old_version_id, new_version_id, wo self.new_version_id = new_version_id self.work_item_changed_fields = work_item_changed_fields self.created_by_id = created_by_id + self.created_date = created_date for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -211,7 +218,7 @@ def _from_openapi_data(cls, id, work_item_id, old_version_id, new_version_id, wo ]) @convert_js_args_to_python_args - def __init__(self, id, work_item_id, old_version_id, new_version_id, work_item_changed_fields, created_by_id, *args, **kwargs): # noqa: E501 + def __init__(self, id, work_item_id, old_version_id, new_version_id, work_item_changed_fields, created_by_id, created_date, *args, **kwargs): # noqa: E501 """WorkItemChangeModel - a model defined in OpenAPI Args: @@ -221,6 +228,7 @@ def __init__(self, id, work_item_id, old_version_id, new_version_id, work_item_c new_version_id (str): work_item_changed_fields (WorkItemChangeModelWorkItemChangedFields): created_by_id (str): + created_date (datetime): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -253,7 +261,8 @@ def __init__(self, id, work_item_id, old_version_id, new_version_id, work_item_c Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - created_date (datetime, none_type): [optional] # noqa: E501 + modified_by_id (str, none_type): [optional] # noqa: E501 + modified_date (datetime, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -289,6 +298,7 @@ def __init__(self, id, work_item_id, old_version_id, new_version_id, work_item_c self.new_version_id = new_version_id self.work_item_changed_fields = work_item_changed_fields self.created_by_id = created_by_id + self.created_date = created_date for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/src/testit_api_client/model/work_item_comment_model.py b/src/testit_api_client/model/work_item_comment_api_result.py similarity index 88% rename from src/testit_api_client/model/work_item_comment_model.py rename to src/testit_api_client/model/work_item_comment_api_result.py index 4e8ef1e5..eb68ee04 100644 --- a/src/testit_api_client/model/work_item_comment_model.py +++ b/src/testit_api_client/model/work_item_comment_api_result.py @@ -29,12 +29,8 @@ from testit_api_client.exceptions import ApiAttributeError -def lazy_import(): - from testit_api_client.model.work_item_comment_model_user import WorkItemCommentModelUser - globals()['WorkItemCommentModelUser'] = WorkItemCommentModelUser - -class WorkItemCommentModel(ModelNormal): +class WorkItemCommentApiResult(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -78,15 +74,13 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ - lazy_import() return { 'id': (str,), # noqa: E501 'text': (str,), # noqa: E501 - 'user': (WorkItemCommentModelUser,), # noqa: E501 'created_by_id': (str,), # noqa: E501 + 'modified_by_id': (str,), # noqa: E501 'created_date': (datetime,), # noqa: E501 - 'modified_by_id': (str, none_type,), # noqa: E501 - 'modified_date': (datetime, none_type,), # noqa: E501 + 'modified_date': (datetime,), # noqa: E501 } @cached_property @@ -97,10 +91,9 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'text': 'text', # noqa: E501 - 'user': 'user', # noqa: E501 'created_by_id': 'createdById', # noqa: E501 - 'created_date': 'createdDate', # noqa: E501 'modified_by_id': 'modifiedById', # noqa: E501 + 'created_date': 'createdDate', # noqa: E501 'modified_date': 'modifiedDate', # noqa: E501 } @@ -111,15 +104,16 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, text, user, created_by_id, created_date, *args, **kwargs): # noqa: E501 - """WorkItemCommentModel - a model defined in OpenAPI + def _from_openapi_data(cls, id, text, created_by_id, modified_by_id, created_date, modified_date, *args, **kwargs): # noqa: E501 + """WorkItemCommentApiResult - a model defined in OpenAPI Args: - id (str): - text (str): - user (WorkItemCommentModelUser): - created_by_id (str): - created_date (datetime): + id (str): ID of the comment + text (str): Text of the comment + created_by_id (str): ID of user created comment + modified_by_id (str): ID of user modified comment + created_date (datetime): Comment created date + modified_date (datetime): Comment modified date Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -152,8 +146,6 @@ def _from_openapi_data(cls, id, text, user, created_by_id, created_date, *args, Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - modified_by_id (str, none_type): [optional] # noqa: E501 - modified_date (datetime, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -187,9 +179,10 @@ def _from_openapi_data(cls, id, text, user, created_by_id, created_date, *args, self.id = id self.text = text - self.user = user self.created_by_id = created_by_id + self.modified_by_id = modified_by_id self.created_date = created_date + self.modified_date = modified_date for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -210,15 +203,16 @@ def _from_openapi_data(cls, id, text, user, created_by_id, created_date, *args, ]) @convert_js_args_to_python_args - def __init__(self, id, text, user, created_by_id, created_date, *args, **kwargs): # noqa: E501 - """WorkItemCommentModel - a model defined in OpenAPI + def __init__(self, id, text, created_by_id, modified_by_id, created_date, modified_date, *args, **kwargs): # noqa: E501 + """WorkItemCommentApiResult - a model defined in OpenAPI Args: - id (str): - text (str): - user (WorkItemCommentModelUser): - created_by_id (str): - created_date (datetime): + id (str): ID of the comment + text (str): Text of the comment + created_by_id (str): ID of user created comment + modified_by_id (str): ID of user modified comment + created_date (datetime): Comment created date + modified_date (datetime): Comment modified date Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -251,8 +245,6 @@ def __init__(self, id, text, user, created_by_id, created_date, *args, **kwargs) Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - modified_by_id (str, none_type): [optional] # noqa: E501 - modified_date (datetime, none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -284,9 +276,10 @@ def __init__(self, id, text, user, created_by_id, created_date, *args, **kwargs) self.id = id self.text = text - self.user = user self.created_by_id = created_by_id + self.modified_by_id = modified_by_id self.created_date = created_date + self.modified_date = modified_date for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/src/testit_api_client/model/work_item_comment_model_user.py b/src/testit_api_client/model/work_item_comment_model_user.py deleted file mode 100644 index 88af3a44..00000000 --- a/src/testit_api_client/model/work_item_comment_model_user.py +++ /dev/null @@ -1,373 +0,0 @@ -""" - API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: v2.0 - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from testit_api_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from testit_api_client.exceptions import ApiAttributeError - - -def lazy_import(): - from testit_api_client.model.user_with_rank_model import UserWithRankModel - from testit_api_client.model.user_with_rank_model_user_rank import UserWithRankModelUserRank - globals()['UserWithRankModel'] = UserWithRankModel - globals()['UserWithRankModelUserRank'] = UserWithRankModelUserRank - - -class WorkItemCommentModelUser(ModelComposed): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'first_name': (str,), # noqa: E501 - 'last_name': (str,), # noqa: E501 - 'middle_name': (str,), # noqa: E501 - 'user_name': (str,), # noqa: E501 - 'display_name': (str,), # noqa: E501 - 'user_type': (str,), # noqa: E501 - 'avatar_url': (str,), # noqa: E501 - 'avatar_metadata': (str,), # noqa: E501 - 'is_deleted': (bool,), # noqa: E501 - 'is_disabled': (bool,), # noqa: E501 - 'is_active_status_by_entity': (bool,), # noqa: E501 - 'user_rank': (UserWithRankModelUserRank,), # noqa: E501 - 'provider_id': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'first_name': 'firstName', # noqa: E501 - 'last_name': 'lastName', # noqa: E501 - 'middle_name': 'middleName', # noqa: E501 - 'user_name': 'userName', # noqa: E501 - 'display_name': 'displayName', # noqa: E501 - 'user_type': 'userType', # noqa: E501 - 'avatar_url': 'avatarUrl', # noqa: E501 - 'avatar_metadata': 'avatarMetadata', # noqa: E501 - 'is_deleted': 'isDeleted', # noqa: E501 - 'is_disabled': 'isDisabled', # noqa: E501 - 'is_active_status_by_entity': 'isActiveStatusByEntity', # noqa: E501 - 'user_rank': 'userRank', # noqa: E501 - 'provider_id': 'providerId', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """WorkItemCommentModelUser - a model defined in OpenAPI - - Keyword Args: - id (str): - first_name (str): - last_name (str): - middle_name (str): - user_name (str): - display_name (str): - user_type (str): - avatar_url (str): - avatar_metadata (str): - is_deleted (bool): - is_disabled (bool): - is_active_status_by_entity (bool): - user_rank (UserWithRankModelUserRank): - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - provider_id (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - - for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: - # discard variable. - continue - setattr(self, var_name, var_value) - - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - '_composed_instances', - '_var_name_to_model_instances', - '_additional_properties_model_instances', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """WorkItemCommentModelUser - a model defined in OpenAPI - - Keyword Args: - id (str): - first_name (str): - last_name (str): - middle_name (str): - user_name (str): - display_name (str): - user_type (str): - avatar_url (str): - avatar_metadata (str): - is_deleted (bool): - is_disabled (bool): - is_active_status_by_entity (bool): - user_rank (UserWithRankModelUserRank): - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - provider_id (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - for arg in args: - if isinstance(arg, dict): - kwargs.update(arg) - else: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - - for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") - - @cached_property - def _composed_schemas(): - # we need this here to make our import statements work - # we must store _composed_schemas in here so the code is only run - # when we invoke this method. If we kept this at the class - # level we would get an error because the class level - # code would be run when this module is imported, and these composed - # classes don't exist yet because their module has not finished - # loading - lazy_import() - return { - 'anyOf': [ - ], - 'allOf': [ - UserWithRankModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/work_item_filter_model.py b/src/testit_api_client/model/work_item_filter_model.py index 211fe3fc..2cb355c3 100644 --- a/src/testit_api_client/model/work_item_filter_model.py +++ b/src/testit_api_client/model/work_item_filter_model.py @@ -135,9 +135,7 @@ def openapi_types(): 'name_or_id': (str, none_type,), # noqa: E501 'include_ids': ([str], none_type,), # noqa: E501 'exclude_ids': ([str], none_type,), # noqa: E501 - 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 'project_ids': ([str], none_type,), # noqa: E501 - 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'ids': ([str], none_type,), # noqa: E501 'global_ids': ([int], none_type,), # noqa: E501 @@ -159,6 +157,8 @@ def openapi_types(): 'exclude_tags': ([str], none_type,), # noqa: E501 'auto_test_ids': ([str], none_type,), # noqa: E501 'work_item_version_ids': ([str], none_type,), # noqa: E501 + 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 + 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 } @cached_property @@ -170,9 +170,7 @@ def discriminator(): 'name_or_id': 'nameOrId', # noqa: E501 'include_ids': 'includeIds', # noqa: E501 'exclude_ids': 'excludeIds', # noqa: E501 - 'external_metadata': 'externalMetadata', # noqa: E501 'project_ids': 'projectIds', # noqa: E501 - 'links': 'links', # noqa: E501 'name': 'name', # noqa: E501 'ids': 'ids', # noqa: E501 'global_ids': 'globalIds', # noqa: E501 @@ -194,6 +192,8 @@ def discriminator(): 'exclude_tags': 'excludeTags', # noqa: E501 'auto_test_ids': 'autoTestIds', # noqa: E501 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 + 'links': 'links', # noqa: E501 + 'external_metadata': 'externalMetadata', # noqa: E501 } read_only_vars = { @@ -240,9 +240,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -264,6 +262,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -352,9 +352,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -376,6 +374,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/work_item_local_filter_model.py b/src/testit_api_client/model/work_item_local_filter_model.py index bf24a434..c3a409b2 100644 --- a/src/testit_api_client/model/work_item_local_filter_model.py +++ b/src/testit_api_client/model/work_item_local_filter_model.py @@ -33,6 +33,8 @@ def lazy_import(): from testit_api_client.model.test_plan_test_points_search_api_model_work_item_created_date import TestPlanTestPointsSearchApiModelWorkItemCreatedDate from testit_api_client.model.test_plan_test_points_search_api_model_work_item_modified_date import TestPlanTestPointsSearchApiModelWorkItemModifiedDate from testit_api_client.model.test_suite_work_items_search_model_duration import TestSuiteWorkItemsSearchModelDuration + from testit_api_client.model.test_suite_work_items_search_model_external_metadata import TestSuiteWorkItemsSearchModelExternalMetadata + from testit_api_client.model.test_suite_work_items_search_model_links import TestSuiteWorkItemsSearchModelLinks from testit_api_client.model.test_suite_work_items_search_model_median_duration import TestSuiteWorkItemsSearchModelMedianDuration from testit_api_client.model.work_item_entity_types import WorkItemEntityTypes from testit_api_client.model.work_item_priority_model import WorkItemPriorityModel @@ -41,6 +43,8 @@ def lazy_import(): globals()['TestPlanTestPointsSearchApiModelWorkItemCreatedDate'] = TestPlanTestPointsSearchApiModelWorkItemCreatedDate globals()['TestPlanTestPointsSearchApiModelWorkItemModifiedDate'] = TestPlanTestPointsSearchApiModelWorkItemModifiedDate globals()['TestSuiteWorkItemsSearchModelDuration'] = TestSuiteWorkItemsSearchModelDuration + globals()['TestSuiteWorkItemsSearchModelExternalMetadata'] = TestSuiteWorkItemsSearchModelExternalMetadata + globals()['TestSuiteWorkItemsSearchModelLinks'] = TestSuiteWorkItemsSearchModelLinks globals()['TestSuiteWorkItemsSearchModelMedianDuration'] = TestSuiteWorkItemsSearchModelMedianDuration globals()['WorkItemEntityTypes'] = WorkItemEntityTypes globals()['WorkItemPriorityModel'] = WorkItemPriorityModel @@ -143,6 +147,8 @@ def openapi_types(): 'exclude_tags': ([str], none_type,), # noqa: E501 'auto_test_ids': ([str], none_type,), # noqa: E501 'work_item_version_ids': ([str], none_type,), # noqa: E501 + 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 + 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 } @cached_property @@ -172,6 +178,8 @@ def discriminator(): 'exclude_tags': 'excludeTags', # noqa: E501 'auto_test_ids': 'autoTestIds', # noqa: E501 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 + 'links': 'links', # noqa: E501 + 'external_metadata': 'externalMetadata', # noqa: E501 } read_only_vars = { @@ -236,6 +244,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -342,6 +352,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/work_item_local_select_model_filter.py b/src/testit_api_client/model/work_item_local_select_model_filter.py index 2b6ccabf..f3a0c431 100644 --- a/src/testit_api_client/model/work_item_local_select_model_filter.py +++ b/src/testit_api_client/model/work_item_local_select_model_filter.py @@ -33,6 +33,8 @@ def lazy_import(): from testit_api_client.model.test_plan_test_points_search_api_model_work_item_created_date import TestPlanTestPointsSearchApiModelWorkItemCreatedDate from testit_api_client.model.test_plan_test_points_search_api_model_work_item_modified_date import TestPlanTestPointsSearchApiModelWorkItemModifiedDate from testit_api_client.model.test_suite_work_items_search_model_duration import TestSuiteWorkItemsSearchModelDuration + from testit_api_client.model.test_suite_work_items_search_model_external_metadata import TestSuiteWorkItemsSearchModelExternalMetadata + from testit_api_client.model.test_suite_work_items_search_model_links import TestSuiteWorkItemsSearchModelLinks from testit_api_client.model.test_suite_work_items_search_model_median_duration import TestSuiteWorkItemsSearchModelMedianDuration from testit_api_client.model.work_item_entity_types import WorkItemEntityTypes from testit_api_client.model.work_item_local_filter_model import WorkItemLocalFilterModel @@ -42,6 +44,8 @@ def lazy_import(): globals()['TestPlanTestPointsSearchApiModelWorkItemCreatedDate'] = TestPlanTestPointsSearchApiModelWorkItemCreatedDate globals()['TestPlanTestPointsSearchApiModelWorkItemModifiedDate'] = TestPlanTestPointsSearchApiModelWorkItemModifiedDate globals()['TestSuiteWorkItemsSearchModelDuration'] = TestSuiteWorkItemsSearchModelDuration + globals()['TestSuiteWorkItemsSearchModelExternalMetadata'] = TestSuiteWorkItemsSearchModelExternalMetadata + globals()['TestSuiteWorkItemsSearchModelLinks'] = TestSuiteWorkItemsSearchModelLinks globals()['TestSuiteWorkItemsSearchModelMedianDuration'] = TestSuiteWorkItemsSearchModelMedianDuration globals()['WorkItemEntityTypes'] = WorkItemEntityTypes globals()['WorkItemLocalFilterModel'] = WorkItemLocalFilterModel @@ -152,6 +156,8 @@ def openapi_types(): 'exclude_tags': ([str], none_type,), # noqa: E501 'auto_test_ids': ([str], none_type,), # noqa: E501 'work_item_version_ids': ([str], none_type,), # noqa: E501 + 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 + 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 } @cached_property @@ -181,6 +187,8 @@ def discriminator(): 'exclude_tags': 'excludeTags', # noqa: E501 'auto_test_ids': 'autoTestIds', # noqa: E501 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 + 'links': 'links', # noqa: E501 + 'external_metadata': 'externalMetadata', # noqa: E501 } read_only_vars = { @@ -243,6 +251,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -367,6 +377,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/work_item_search_query_model.py b/src/testit_api_client/model/work_item_search_query_model.py index 74e11560..8345433e 100644 --- a/src/testit_api_client/model/work_item_search_query_model.py +++ b/src/testit_api_client/model/work_item_search_query_model.py @@ -33,6 +33,7 @@ def lazy_import(): from testit_api_client.model.test_plan_test_points_search_api_model_work_item_created_date import TestPlanTestPointsSearchApiModelWorkItemCreatedDate from testit_api_client.model.test_plan_test_points_search_api_model_work_item_modified_date import TestPlanTestPointsSearchApiModelWorkItemModifiedDate from testit_api_client.model.test_suite_work_items_search_model_duration import TestSuiteWorkItemsSearchModelDuration + from testit_api_client.model.test_suite_work_items_search_model_external_metadata import TestSuiteWorkItemsSearchModelExternalMetadata from testit_api_client.model.test_suite_work_items_search_model_links import TestSuiteWorkItemsSearchModelLinks from testit_api_client.model.test_suite_work_items_search_model_median_duration import TestSuiteWorkItemsSearchModelMedianDuration from testit_api_client.model.work_item_entity_types import WorkItemEntityTypes @@ -42,6 +43,7 @@ def lazy_import(): globals()['TestPlanTestPointsSearchApiModelWorkItemCreatedDate'] = TestPlanTestPointsSearchApiModelWorkItemCreatedDate globals()['TestPlanTestPointsSearchApiModelWorkItemModifiedDate'] = TestPlanTestPointsSearchApiModelWorkItemModifiedDate globals()['TestSuiteWorkItemsSearchModelDuration'] = TestSuiteWorkItemsSearchModelDuration + globals()['TestSuiteWorkItemsSearchModelExternalMetadata'] = TestSuiteWorkItemsSearchModelExternalMetadata globals()['TestSuiteWorkItemsSearchModelLinks'] = TestSuiteWorkItemsSearchModelLinks globals()['TestSuiteWorkItemsSearchModelMedianDuration'] = TestSuiteWorkItemsSearchModelMedianDuration globals()['WorkItemEntityTypes'] = WorkItemEntityTypes @@ -127,7 +129,6 @@ def openapi_types(): lazy_import() return { 'project_ids': ([str], none_type,), # noqa: E501 - 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'ids': ([str], none_type,), # noqa: E501 'global_ids': ([int], none_type,), # noqa: E501 @@ -149,6 +150,8 @@ def openapi_types(): 'exclude_tags': ([str], none_type,), # noqa: E501 'auto_test_ids': ([str], none_type,), # noqa: E501 'work_item_version_ids': ([str], none_type,), # noqa: E501 + 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 + 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 } @cached_property @@ -158,7 +161,6 @@ def discriminator(): attribute_map = { 'project_ids': 'projectIds', # noqa: E501 - 'links': 'links', # noqa: E501 'name': 'name', # noqa: E501 'ids': 'ids', # noqa: E501 'global_ids': 'globalIds', # noqa: E501 @@ -180,6 +182,8 @@ def discriminator(): 'exclude_tags': 'excludeTags', # noqa: E501 'auto_test_ids': 'autoTestIds', # noqa: E501 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 + 'links': 'links', # noqa: E501 + 'external_metadata': 'externalMetadata', # noqa: E501 } read_only_vars = { @@ -224,7 +228,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -246,6 +249,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -332,7 +337,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -354,6 +358,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/work_item_select_model_filter.py b/src/testit_api_client/model/work_item_select_model_filter.py index 085ab801..50e204c4 100644 --- a/src/testit_api_client/model/work_item_select_model_filter.py +++ b/src/testit_api_client/model/work_item_select_model_filter.py @@ -144,9 +144,7 @@ def openapi_types(): 'name_or_id': (str, none_type,), # noqa: E501 'include_ids': ([str], none_type,), # noqa: E501 'exclude_ids': ([str], none_type,), # noqa: E501 - 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 'project_ids': ([str], none_type,), # noqa: E501 - 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'ids': ([str], none_type,), # noqa: E501 'global_ids': ([int], none_type,), # noqa: E501 @@ -168,6 +166,8 @@ def openapi_types(): 'exclude_tags': ([str], none_type,), # noqa: E501 'auto_test_ids': ([str], none_type,), # noqa: E501 'work_item_version_ids': ([str], none_type,), # noqa: E501 + 'links': (TestSuiteWorkItemsSearchModelLinks,), # noqa: E501 + 'external_metadata': (TestSuiteWorkItemsSearchModelExternalMetadata,), # noqa: E501 } @cached_property @@ -179,9 +179,7 @@ def discriminator(): 'name_or_id': 'nameOrId', # noqa: E501 'include_ids': 'includeIds', # noqa: E501 'exclude_ids': 'excludeIds', # noqa: E501 - 'external_metadata': 'externalMetadata', # noqa: E501 'project_ids': 'projectIds', # noqa: E501 - 'links': 'links', # noqa: E501 'name': 'name', # noqa: E501 'ids': 'ids', # noqa: E501 'global_ids': 'globalIds', # noqa: E501 @@ -203,6 +201,8 @@ def discriminator(): 'exclude_tags': 'excludeTags', # noqa: E501 'auto_test_ids': 'autoTestIds', # noqa: E501 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 + 'links': 'links', # noqa: E501 + 'external_metadata': 'externalMetadata', # noqa: E501 } read_only_vars = { @@ -247,9 +247,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -271,6 +269,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -377,9 +377,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 name_or_id (str, none_type): Name or identifier (UUID) of work item. [optional] # noqa: E501 include_ids ([str], none_type): Collection of identifiers of work items which need to be included in result regardless of filtering. [optional] # noqa: E501 exclude_ids ([str], none_type): Collection of identifiers of work items which need to be excluded from result regardless of filtering. [optional] # noqa: E501 - external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 project_ids ([str], none_type): Collection of project identifiers. [optional] # noqa: E501 - links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 name (str, none_type): Name of work item. [optional] # noqa: E501 ids ([str], none_type): Specifies a work item unique IDs to search for. [optional] # noqa: E501 global_ids ([int], none_type): Collection of global (integer) identifiers. [optional] # noqa: E501 @@ -401,6 +399,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 exclude_tags ([str], none_type): Collection of tags to exclude. [optional] # noqa: E501 auto_test_ids ([str], none_type): Collection of identifiers of linked autotests. [optional] # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 + links (TestSuiteWorkItemsSearchModelLinks): [optional] # noqa: E501 + external_metadata (TestSuiteWorkItemsSearchModelExternalMetadata): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/models/__init__.py b/src/testit_api_client/models/__init__.py index 4421b5d9..4795d903 100644 --- a/src/testit_api_client/models/__init__.py +++ b/src/testit_api_client/models/__init__.py @@ -216,6 +216,7 @@ from testit_api_client.model.create_test_run_and_fill_by_work_items_api_model import CreateTestRunAndFillByWorkItemsApiModel from testit_api_client.model.create_test_status_api_model import CreateTestStatusApiModel from testit_api_client.model.create_work_item_api_model import CreateWorkItemApiModel +from testit_api_client.model.create_work_item_comment_api_model import CreateWorkItemCommentApiModel from testit_api_client.model.create_work_item_previews_api_model import CreateWorkItemPreviewsApiModel from testit_api_client.model.create_workflow_api_model import CreateWorkflowApiModel from testit_api_client.model.custom_attribute_api_result import CustomAttributeApiResult @@ -390,8 +391,7 @@ from testit_api_client.model.request_type_api_model import RequestTypeApiModel from testit_api_client.model.request_type_model import RequestTypeModel from testit_api_client.model.rerun_test_result_api_result import RerunTestResultApiResult -from testit_api_client.model.rerun_test_result_model import RerunTestResultModel -from testit_api_client.model.reruns_model import RerunsModel +from testit_api_client.model.reruns_api_result import RerunsApiResult from testit_api_client.model.search_attributes_in_project_request import SearchAttributesInProjectRequest from testit_api_client.model.search_custom_attribute_template_get_model import SearchCustomAttributeTemplateGetModel from testit_api_client.model.search_external_issues_api_model import SearchExternalIssuesApiModel @@ -630,13 +630,11 @@ from testit_api_client.model.update_test_plan_request import UpdateTestPlanRequest from testit_api_client.model.update_test_status_api_model import UpdateTestStatusApiModel from testit_api_client.model.update_work_item_api_model import UpdateWorkItemApiModel +from testit_api_client.model.update_work_item_comment_api_model import UpdateWorkItemCommentApiModel from testit_api_client.model.update_work_item_request import UpdateWorkItemRequest from testit_api_client.model.update_workflow_api_model import UpdateWorkflowApiModel from testit_api_client.model.user_custom_name_validation_response import UserCustomNameValidationResponse from testit_api_client.model.user_name_api_result import UserNameApiResult -from testit_api_client.model.user_rank_model import UserRankModel -from testit_api_client.model.user_with_rank_model import UserWithRankModel -from testit_api_client.model.user_with_rank_model_user_rank import UserWithRankModelUserRank from testit_api_client.model.validation_problem_details import ValidationProblemDetails from testit_api_client.model.web_hook_event_type import WebHookEventType from testit_api_client.model.web_hook_event_type_model import WebHookEventTypeModel @@ -673,10 +671,7 @@ from testit_api_client.model.work_item_changed_fields_view_model_state import WorkItemChangedFieldsViewModelState from testit_api_client.model.work_item_changed_fields_view_model_steps import WorkItemChangedFieldsViewModelSteps from testit_api_client.model.work_item_changed_fields_view_model_tags import WorkItemChangedFieldsViewModelTags -from testit_api_client.model.work_item_comment_model import WorkItemCommentModel -from testit_api_client.model.work_item_comment_model_user import WorkItemCommentModelUser -from testit_api_client.model.work_item_comment_post_model import WorkItemCommentPostModel -from testit_api_client.model.work_item_comment_put_model import WorkItemCommentPutModel +from testit_api_client.model.work_item_comment_api_result import WorkItemCommentApiResult from testit_api_client.model.work_item_entity_type_api_model import WorkItemEntityTypeApiModel from testit_api_client.model.work_item_entity_types import WorkItemEntityTypes from testit_api_client.model.work_item_external_metadata_field_filter_api_model import WorkItemExternalMetadataFieldFilterApiModel