From b3737ac6ee008928ae59eaad52e6917c07c374f6 Mon Sep 17 00:00:00 2001 From: "pavel.butuzov" Date: Thu, 17 Sep 2026 17:45:30 +0300 Subject: [PATCH] feat: support tms cloud. --- .swagger/cloud-swagger.json | 7206 +++++------------ README.md | 61 +- docs/AIServiceModelApiResultGroupKey.md | 2 +- docs/AIServicesAPIApi.md | 112 - ...sResultReasonsGroupingSearchPostRequest.md | 13 - .../ApiV2AutotestsResultReasonsPostRequest.md | 15 - docs/ApiV2AutotestsResultReasonsPutRequest.md | 16 - ...AutotestsResultReasonsSearchPostRequest.md | 15 - ...ApiV2ConfigurationParametersPostRequest.md | 14 + ...nfigurationParametersSearchPostRequest.md} | 5 +- ...alServicesExternalServiceIdPatchRequest.md | 13 - ...IdAutotestsFailureCategoriesPostRequest.md | 14 - ...tIdAutotestsFailureCategoriesPutRequest.md | 15 - ...estPlanIdTestPointsAnalyticsPostRequest.md | 13 - ...anIdTestPointsGroupingSearchPostRequest.md | 14 - ...sTestPlanIdTestPointsTestersPostRequest.md | 14 - ...ojectIdWorkItemsPreviewsBulkPostRequest.md | 15 - ...tsProjectIdWorkItemsPreviewsPostRequest.md | 16 - ...ApiV2TestRunsByAutoTestCasesPostRequest.md | 19 - docs/AutoTestUpdateApiModel.md | 2 +- ...esApi.md => ConfigurationParametersApi.md} | 190 +- docs/CreateAndFillByAutoTestsRequest.md | 1 + docs/CreateAndFillByConfigurationsRequest.md | 1 + docs/CreateAndFillByWorkItemsRequest.md | 1 + ...CreateTestRunAndFillByAutoTestsApiModel.md | 1 + ...estRunAndFillByAutoTestsApiModelOption.md} | 6 +- ...eTestRunAndFillByConfigurationsApiModel.md | 1 + ...CreateTestRunAndFillByWorkItemsApiModel.md | 1 + docs/CustomAttributeApiResult.md | 1 + docs/ExternalServicesApi.md | 96 - docs/FailureCategoriesApi.md | 1342 --- docs/GroupKey.md | 2 +- docs/ProjectExternalServicesApi.md | 610 -- docs/ProjectTestPlanTestPointsApi.md | 315 - docs/ProjectWorkItemsApi.md | 201 - docs/TestRunsApi.md | 94 - docs/UpdateAutoTestRequest.md | 2 +- docs/UserStoragesApi.md | 186 - docs/WorkItemFilterApiModel.md | 1 + docs/WorkItemLayerApiResult.md | 13 + docs/WorkItemSelectApiModelFilter.md | 1 + docs/WorkItemShortApiResult.md | 1 + ...uest.md => WorkItemShortApiResultLayer.md} | 6 +- genConfig.yml | 2 +- run.sh | 2 +- setup.py | 2 +- src/testit_api_client/__init__.py | 2 +- src/testit_api_client/api/__init__.py | 2 +- .../api/ai_services_api_api.py | 182 - ...api.py => configuration_parameters_api.py} | 249 +- .../api/external_services_api.py | 162 - .../api/failure_categories_api.py | 1954 ----- .../api/project_external_services_api.py | 918 --- .../api/project_test_plan_test_points_api.py | 458 -- .../api/project_work_items_api.py | 285 - src/testit_api_client/api/test_runs_api.py | 130 - .../api/user_storages_api.py | 315 - src/testit_api_client/api_client.py | 10 +- src/testit_api_client/apis/__init__.py | 9 +- src/testit_api_client/configuration.py | 2 +- .../ai_service_model_api_result_group_key.py | 8 +- ...2_autotests_result_reasons_post_request.py | 338 - ...v2_autotests_result_reasons_put_request.py | 342 - ..._configuration_parameters_post_request.py} | 51 +- ...uration_parameters_search_post_request.py} | 42 +- ...vices_external_service_id_patch_request.py | 323 - ...totests_failure_categories_post_request.py | 334 - ...utotests_failure_categories_put_request.py | 338 - ...n_id_test_points_analytics_post_request.py | 327 - ...est_points_grouping_search_post_request.py | 333 - ...lan_id_test_points_testers_post_request.py | 334 - ...d_work_items_previews_bulk_post_request.py | 335 - ...ect_id_work_items_previews_post_request.py | 351 - ...st_runs_by_auto_test_cases_post_request.py | 354 - .../model/auto_test_update_api_model.py | 14 +- .../create_and_fill_by_auto_tests_request.py | 6 + ...eate_and_fill_by_configurations_request.py | 6 + .../create_and_fill_by_work_items_request.py | 6 + ...st_run_and_fill_by_auto_tests_api_model.py | 6 + ...nd_fill_by_auto_tests_api_model_option.py} | 26 +- ...un_and_fill_by_configurations_api_model.py | 6 + ...st_run_and_fill_by_work_items_api_model.py | 6 + .../model/custom_attribute_api_result.py | 10 +- src/testit_api_client/model/group_key.py | 11 +- .../model/update_auto_test_request.py | 8 +- .../model/work_item_filter_api_model.py | 6 + ...quest.py => work_item_layer_api_result.py} | 110 +- .../work_item_select_api_model_filter.py | 6 + .../model/work_item_short_api_result.py | 6 + ...py => work_item_short_api_result_layer.py} | 30 +- src/testit_api_client/models/__init__.py | 21 +- 91 files changed, 2578 insertions(+), 16867 deletions(-) delete mode 100644 docs/AIServicesAPIApi.md delete mode 100644 docs/ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md delete mode 100644 docs/ApiV2AutotestsResultReasonsPostRequest.md delete mode 100644 docs/ApiV2AutotestsResultReasonsPutRequest.md delete mode 100644 docs/ApiV2AutotestsResultReasonsSearchPostRequest.md create mode 100644 docs/ApiV2ConfigurationParametersPostRequest.md rename docs/{ApiV2ExternalServicesIdAiModelsPostRequest.md => ApiV2ConfigurationParametersSearchPostRequest.md} (64%) delete mode 100644 docs/ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest.md delete mode 100644 docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest.md delete mode 100644 docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest.md delete mode 100644 docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest.md delete mode 100644 docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest.md delete mode 100644 docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest.md delete mode 100644 docs/ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest.md delete mode 100644 docs/ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest.md delete mode 100644 docs/ApiV2TestRunsByAutoTestCasesPostRequest.md rename docs/{ProjectFailureCategoriesApi.md => ConfigurationParametersApi.md} (56%) rename docs/{ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest.md => CreateTestRunAndFillByAutoTestsApiModelOption.md} (66%) delete mode 100644 docs/ExternalServicesApi.md delete mode 100644 docs/FailureCategoriesApi.md delete mode 100644 docs/ProjectExternalServicesApi.md delete mode 100644 docs/UserStoragesApi.md create mode 100644 docs/WorkItemLayerApiResult.md rename docs/{ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest.md => WorkItemShortApiResultLayer.md} (72%) delete mode 100644 src/testit_api_client/api/ai_services_api_api.py rename src/testit_api_client/api/{project_failure_categories_api.py => configuration_parameters_api.py} (72%) delete mode 100644 src/testit_api_client/api/external_services_api.py delete mode 100644 src/testit_api_client/api/failure_categories_api.py delete mode 100644 src/testit_api_client/api/project_external_services_api.py delete mode 100644 src/testit_api_client/api/user_storages_api.py delete mode 100644 src/testit_api_client/model/api_v2_autotests_result_reasons_post_request.py delete mode 100644 src/testit_api_client/model/api_v2_autotests_result_reasons_put_request.py rename src/testit_api_client/model/{api_v2_autotests_result_reasons_search_post_request.py => api_v2_configuration_parameters_post_request.py} (87%) rename src/testit_api_client/model/{api_v2_autotests_result_reasons_grouping_search_post_request.py => api_v2_configuration_parameters_search_post_request.py} (88%) delete mode 100644 src/testit_api_client/model/api_v2_projects_id_external_services_external_service_id_patch_request.py delete mode 100644 src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_post_request.py delete mode 100644 src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_put_request.py delete mode 100644 src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request.py delete mode 100644 src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request.py delete mode 100644 src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request.py delete mode 100644 src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_bulk_post_request.py delete mode 100644 src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_post_request.py delete mode 100644 src/testit_api_client/model/api_v2_test_runs_by_auto_test_cases_post_request.py rename src/testit_api_client/model/{api_v2_projects_id_external_services_external_service_id_put_request.py => create_test_run_and_fill_by_auto_tests_api_model_option.py} (92%) rename src/testit_api_client/model/{api_v2_projects_id_external_services_issues_search_post_request.py => work_item_layer_api_result.py} (75%) rename src/testit_api_client/model/{api_v2_external_services_id_ai_models_post_request.py => work_item_short_api_result_layer.py} (93%) diff --git a/.swagger/cloud-swagger.json b/.swagger/cloud-swagger.json index c951f755..71eb5bea 100644 --- a/.swagger/cloud-swagger.json +++ b/.swagger/cloud-swagger.json @@ -5,110 +5,6 @@ "version": "v2.0" }, "paths": { - "/api/v2/external-services/{id}/ai/models": { - "post": { - "tags": [ - "AI services API" - ], - "summary": "Ask for models with inquiry filter, cached", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GetAIServiceModelsApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/AIServiceModelApiResultIReply" - } - } - } - }, - "400": { - "description": "Not valid data or models request errors", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, "/api/v2/attachments/{id}": { "get": { "tags": [ @@ -3602,62 +3498,112 @@ } } }, - "/api/v2/configurations/search": { + "/api/v2/configuration-parameters/search": { "post": { "tags": [ - "Configurations" + "ConfigurationParameters" ], - "summary": "Search for configurations", - "parameters": [ - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" + "summary": "Searches for configuration parameters", + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/SearchConfigurationParametersApiModel" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConfigurationParameterPreviewApiResultIReply" + } + } } }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } } }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } } }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } } }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } } } + } + } + }, + "/api/v2/configuration-parameters": { + "post": { + "tags": [ + "ConfigurationParameters" ], + "summary": "Creates new configuration parameter", "requestBody": { - "description": "Model containing all the filters", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/ConfigurationFilterModel" + "$ref": "#/components/schemas/ConfigurationParameterApiModel" } ] } @@ -3667,39 +3613,10 @@ "responses": { "200": { "description": "OK", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigurationModel" - } + "$ref": "#/components/schemas/ConfigurationParameterApiResult" } } } @@ -3767,34 +3684,30 @@ } } }, - "/api/v2/configurations/{id}": { + "/api/v2/configuration-parameters/{configurationParameterId}": { "get": { "tags": [ - "Configurations" + "ConfigurationParameters" ], - "summary": "Get configuration by internal or global ID", - "description": "\nUse case\n\nUser sets configuration internal (guid format) or global (integer format) identifier\n\nUser runs method execution\n\nSystem search configuration using the identifier\n\nSystem returns configuration", - "operationId": "GetConfigurationById", + "summary": "Gets configuration parameter by its identifier", "parameters": [ { - "name": "id", + "name": "configurationParameterId", "in": "path", - "description": "Configuration internal (guid format) or global (integer format) identifier", "required": true, "schema": { "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - }, - "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6" + "format": "uuid" + } } ], "responses": { "200": { - "description": "Successful operation", + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConfigurationModel" + "$ref": "#/components/schemas/ConfigurationParameterApiResult" } } } @@ -3820,7 +3733,7 @@ } }, "403": { - "description": "Read permission for configuration required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3830,7 +3743,7 @@ } }, "404": { - "description": "Can't find configuration with id", + "description": "Not Found", "content": { "application/json": { "schema": { @@ -3861,17 +3774,15 @@ } } }, - "patch": { + "put": { "tags": [ - "Configurations" + "ConfigurationParameters" ], - "summary": "Patch configuration", - "description": "See RFC 6902: JavaScript Object Notation (JSON) Patch for details", + "summary": "Updates configuration parameter", "parameters": [ { - "name": "id", + "name": "configurationParameterId", "in": "path", - "description": "Unique ID of the configuration", "required": true, "schema": { "type": "string", @@ -3883,17 +3794,18 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation" - } + "allOf": [ + { + "$ref": "#/components/schemas/ConfigurationParameterApiModel" + } + ] } } } }, "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK" }, "400": { "description": "Bad Request", @@ -3916,7 +3828,7 @@ } }, "403": { - "description": "Update permission for configuration is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -3959,24 +3871,23 @@ }, "delete": { "tags": [ - "Configurations" + "ConfigurationParameters" ], - "summary": "Delete configuration", + "summary": "Deletes configuration parameter", "parameters": [ { - "name": "id", + "name": "configurationParameterId", "in": "path", - "description": "Unique or global ID of the configuration", "required": true, "schema": { "type": "string", - "description": "Internal (UUID) or global (integer) identifier" + "format": "uuid" } } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK" }, "400": { "description": "Bad Request", @@ -3999,7 +3910,7 @@ } }, "403": { - "description": "Delete permission for configurations is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4041,21 +3952,62 @@ } } }, - "/api/v2/configurations": { + "/api/v2/configurations/search": { "post": { "tags": [ "Configurations" ], - "summary": "Create Configuration", - "description": "\nUse case\n\nUser sets configuration model (listed in the request example)\n\nUser runs method execution\n\nSystem creates configuration\n\nSystem returns created configuration (listed in the response example)", - "operationId": "CreateConfiguration", + "summary": "Search for configurations", + "parameters": [ + { + "name": "Skip", + "in": "query", + "description": "Amount of items to be skipped (offset)", + "schema": { + "type": "integer" + } + }, + { + "name": "Take", + "in": "query", + "description": "Amount of items to be taken (limit)", + "schema": { + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" + } + } + ], "requestBody": { + "description": "Model containing all the filters", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/ConfigurationPostModel" + "$ref": "#/components/schemas/ConfigurationFilterModel" } ] } @@ -4063,12 +4015,41 @@ } }, "responses": { - "201": { - "description": "Successful operation", + "200": { + "description": "OK", + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", + "schema": { + "type": "integer" + } + }, + "Pagination-Take": { + "description": "Taken items", + "schema": { + "type": "integer" + } + }, + "Pagination-Pages": { + "description": "Expected number of pages", + "schema": { + "type": "integer" + } + }, + "Pagination-Total-Items": { + "description": "Total count of items", + "schema": { + "type": "integer" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ConfigurationModel" + "type": "array", + "items": { + "$ref": "#/components/schemas/ConfigurationModel" + } } } } @@ -4094,7 +4075,7 @@ } }, "403": { - "description": "Update permission for configuration required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4104,7 +4085,7 @@ } }, "404": { - "description": "Can't find project", + "description": "Not Found", "content": { "application/json": { "schema": { @@ -4114,7 +4095,7 @@ } }, "409": { - "description": "Configuration with the same name already exists!", + "description": "Conflict", "content": { "application/json": { "schema": { @@ -4134,28 +4115,39 @@ } } } - }, - "put": { + } + }, + "/api/v2/configurations/{id}": { + "get": { "tags": [ "Configurations" ], - "summary": "Edit configuration", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ConfigurationPutModel" - } - ] - } - } + "summary": "Get configuration by internal or global ID", + "description": "\nUse case\n\nUser sets configuration internal (guid format) or global (integer format) identifier\n\nUser runs method execution\n\nSystem search configuration using the identifier\n\nSystem returns configuration", + "operationId": "GetConfigurationById", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Configuration internal (guid format) or global (integer format) identifier", + "required": true, + "schema": { + "type": "string", + "description": "Internal (UUID) or global (integer) identifier" + }, + "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } - }, + ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConfigurationModel" + } + } + } }, "400": { "description": "Bad Request", @@ -4178,7 +4170,7 @@ } }, "403": { - "description": "Update permission for configurations is required", + "description": "Read permission for configuration required", "content": { "application/json": { "schema": { @@ -4188,7 +4180,7 @@ } }, "404": { - "description": "Not Found", + "description": "Can't find configuration with id", "content": { "application/json": { "schema": { @@ -4218,26 +4210,37 @@ } } } - } - }, - "/api/v2/configurations/{id}/purge": { - "post": { + }, + "patch": { "tags": [ "Configurations" ], - "summary": "Permanently delete configuration from archive", + "summary": "Patch configuration", + "description": "See RFC 6902: JavaScript Object Notation (JSON) Patch for details", "parameters": [ { "name": "id", "in": "path", - "description": "Unique or global ID of the configuration", + "description": "Unique ID of the configuration", "required": true, "schema": { "type": "string", - "description": "Internal (UUID) or global (integer) identifier" + "format": "uuid" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Operation" + } + } + } + } + }, "responses": { "204": { "description": "No Content" @@ -4263,7 +4266,7 @@ } }, "403": { - "description": "Full access permission for the archive is required", + "description": "Update permission for configuration is required", "content": { "application/json": { "schema": { @@ -4303,38 +4306,27 @@ } } } - } - }, - "/api/v2/configurations/purge/bulk": { - "post": { + }, + "delete": { "tags": [ "Configurations" ], - "summary": "Permanently delete multiple archived configurations", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ConfigurationSelectModel" - } - ] - } + "summary": "Delete configuration", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Unique or global ID of the configuration", + "required": true, + "schema": { + "type": "string", + "description": "Internal (UUID) or global (integer) identifier" } } - }, + ], "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "integer", - "format": "int32" - } - } - } + "204": { + "description": "No Content" }, "400": { "description": "Bad Request", @@ -4357,7 +4349,7 @@ } }, "403": { - "description": "Full access permission for the archive is required", + "description": "Delete permission for configurations is required", "content": { "application/json": { "schema": { @@ -4399,19 +4391,21 @@ } } }, - "/api/v2/configurations/delete/bulk": { + "/api/v2/configurations": { "post": { "tags": [ "Configurations" ], - "summary": "Delete multiple configurations", + "summary": "Create Configuration", + "description": "\nUse case\n\nUser sets configuration model (listed in the request example)\n\nUser runs method execution\n\nSystem creates configuration\n\nSystem returns created configuration (listed in the response example)", + "operationId": "CreateConfiguration", "requestBody": { "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/ConfigurationSelectApiModel" + "$ref": "#/components/schemas/ConfigurationPostModel" } ] } @@ -4419,13 +4413,12 @@ } }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Successful operation", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int32" + "$ref": "#/components/schemas/ConfigurationModel" } } } @@ -4451,7 +4444,91 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for configuration required", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Can't find project", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Configuration with the same name already exists!", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + }, + "put": { + "tags": [ + "Configurations" + ], + "summary": "Edit configuration", + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ConfigurationPutModel" + } + ] + } + } + } + }, + "responses": { + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Update permission for configurations is required", "content": { "application/json": { "schema": { @@ -4493,12 +4570,12 @@ } } }, - "/api/v2/configurations/{id}/restore": { + "/api/v2/configurations/{id}/purge": { "post": { "tags": [ "Configurations" ], - "summary": "Restore configuration from the archive", + "summary": "Permanently delete configuration from archive", "parameters": [ { "name": "id", @@ -4536,7 +4613,7 @@ } }, "403": { - "description": "Update permission for archive is required", + "description": "Full access permission for the archive is required", "content": { "application/json": { "schema": { @@ -4578,12 +4655,12 @@ } } }, - "/api/v2/configurations/restore/bulk": { + "/api/v2/configurations/purge/bulk": { "post": { "tags": [ "Configurations" ], - "summary": "Restore multiple configurations from the archive", + "summary": "Permanently delete multiple archived configurations", "requestBody": { "content": { "application/json": { @@ -4630,7 +4707,7 @@ } }, "403": { - "description": "Update permission for archive is required", + "description": "Full access permission for the archive is required", "content": { "application/json": { "schema": { @@ -4672,19 +4749,19 @@ } } }, - "/api/v2/configurations/createByParameters": { + "/api/v2/configurations/delete/bulk": { "post": { "tags": [ "Configurations" ], - "summary": "Create configurations by parameters", + "summary": "Delete multiple configurations", "requestBody": { "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/ConfigurationByParametersModel" + "$ref": "#/components/schemas/ConfigurationSelectApiModel" } ] } @@ -4692,16 +4769,13 @@ } }, "responses": { - "201": { - "description": "Created", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } + "type": "integer", + "format": "int32" } } } @@ -4727,7 +4801,7 @@ } }, "403": { - "description": "Update permission for configuration is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -4769,31 +4843,118 @@ } } }, - "/api/v2/customAttributes/{id}": { - "get": { + "/api/v2/configurations/{id}/restore": { + "post": { "tags": [ - "CustomAttributes" + "Configurations" ], - "summary": "Get attribute", + "summary": "Restore configuration from the archive", "parameters": [ { "name": "id", "in": "path", - "description": "Unique ID of attribute", + "description": "Unique or global ID of the configuration", "required": true, "schema": { "type": "string", - "format": "uuid" + "description": "Internal (UUID) or global (integer) identifier" } } ], + "responses": { + "204": { + "description": "No Content" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Update permission for archive is required", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + } + }, + "/api/v2/configurations/restore/bulk": { + "post": { + "tags": [ + "Configurations" + ], + "summary": "Restore multiple configurations from the archive", + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ConfigurationSelectModel" + } + ] + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomAttributeModel" + "type": "integer", + "format": "int32" } } } @@ -4819,7 +4980,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for archive is required", "content": { "application/json": { "schema": { @@ -4861,19 +5022,19 @@ } } }, - "/api/v2/customAttributes/global": { + "/api/v2/configurations/createByParameters": { "post": { "tags": [ - "CustomAttributes" + "Configurations" ], - "summary": "Create global attribute", + "summary": "Create configurations by parameters", "requestBody": { "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/GlobalCustomAttributePostModel" + "$ref": "#/components/schemas/ConfigurationByParametersModel" } ] } @@ -4886,7 +5047,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomAttributeModel" + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } } } } @@ -4912,7 +5077,7 @@ } }, "403": { - "description": "System administrator role is required", + "description": "Update permission for configuration is required", "content": { "application/json": { "schema": { @@ -4954,12 +5119,12 @@ } } }, - "/api/v2/customAttributes/global/{id}": { - "put": { + "/api/v2/customAttributes/{id}": { + "get": { "tags": [ "CustomAttributes" ], - "summary": "Edit global attribute", + "summary": "Get attribute", "parameters": [ { "name": "id", @@ -4972,19 +5137,6 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GlobalCustomAttributeUpdateModel" - } - ] - } - } - } - }, "responses": { "200": { "description": "OK", @@ -5017,7 +5169,205 @@ } }, "403": { - "description": "System administrator role is required", + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + } + }, + "/api/v2/customAttributes/global": { + "post": { + "tags": [ + "CustomAttributes" + ], + "summary": "Create global attribute", + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalCustomAttributePostModel" + } + ] + } + } + } + }, + "responses": { + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomAttributeModel" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "System administrator role is required", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + } + }, + "/api/v2/customAttributes/global/{id}": { + "put": { + "tags": [ + "CustomAttributes" + ], + "summary": "Edit global attribute", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "Unique ID of attribute", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalCustomAttributeUpdateModel" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomAttributeModel" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "System administrator role is required", "content": { "application/json": { "schema": { @@ -6394,23 +6744,105 @@ } } }, - "/api/v2/external-services/metadata": { - "get": { + "/api/v2/notifications/{id}/read": { + "post": { "tags": [ - "ExternalServices" + "Notifications" + ], + "summary": "Set Notification as read", + "description": "\nUse case\n\nUser sets notification internal (guid format) identifier\n\nUser runs method execution\n\nSystem set notification as read", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + } ], - "summary": "Retrieves the metadata for all available external services", "responses": { "200": { - "description": "OK", + "description": "OK" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Can't find notification with notificationId", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ExternalServicesMetadataApiResult" + "$ref": "#/components/schemas/ProblemDetails" } } } }, + "204": { + "description": "Successful operation" + } + } + } + }, + "/api/v2/notifications/read": { + "post": { + "tags": [ + "Notifications" + ], + "summary": "Set all Notifications as read", + "description": "\nUse case\n\nUser runs method execution\n\nSystem set all notifications as read", + "responses": { + "200": { + "description": "OK" + }, "400": { "description": "Bad Request", "content": { @@ -6470,201 +6902,20 @@ } } } - } - } - } - }, - "/api/v2/autotests/resultReasons/grouping-search": { - "post": { - "tags": [ - "FailureCategories" - ], - "summary": "Get failure categories with support for filtering, sorting and grouping", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/FailureCategoryGroupSearchApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FailureCategoryGroupItemApiResultReply" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/autotests/failure-categories/grouping-search": { - "post": { - "tags": [ - "FailureCategories" - ], - "summary": "Get failure categories with support for filtering, sorting and grouping", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/FailureCategoryGroupSearchApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FailureCategoryGroupItemApiResultReply" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } + "204": { + "description": "Successful operation" } } } }, - "/api/v2/autotests/resultReasons/search": { + "/api/v2/notifications/search": { "post": { "tags": [ - "FailureCategories" + "Notifications" ], + "summary": "Search Notifications for current User", + "description": "\nUse case\n\nUser set filter and runs method execution\n\nSystem returns notifications (listed in the response example)", "parameters": [ { "name": "Skip", @@ -6713,7 +6964,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/AutotestResultReasonFilterModel" + "$ref": "#/components/schemas/NotificationQueryFilterModel" } ] } @@ -6722,7 +6973,7 @@ }, "responses": { "200": { - "description": "OK", + "description": "Successful operation", "headers": { "Pagination-Skip": { "description": "Skipped amount of items", @@ -6754,7 +7005,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/AutotestResultReasonShortGetModel" + "$ref": "#/components/schemas/NotificationModel" } } } @@ -6820,16 +7071,28 @@ } } } - }, - "deprecated": true + } } }, - "/api/v2/autotests/failure-categories/search": { - "post": { + "/api/v2/notifications": { + "get": { "tags": [ - "FailureCategories" + "Notifications" ], + "summary": "Get all Notifications for current User", + "description": "\nUse case\n\nUser runs method execution\n\nSystem returns notifications (listed in the response example)", "parameters": [ + { + "name": "notificationType", + "in": "query", + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/NotificationTypeModel" + } + ] + } + }, { "name": "Skip", "in": "query", @@ -6871,22 +7134,9 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AutotestResultReasonFilterModel" - } - ] - } - } - } - }, "responses": { "200": { - "description": "OK", + "description": "Successful operation", "headers": { "Pagination-Skip": { "description": "Skipped amount of items", @@ -6918,14 +7168,14 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/AutotestResultReasonShortGetModel" + "$ref": "#/components/schemas/NotificationModel" } } } } }, "400": { - "description": "Bad Request", + "description": "\norderByStatement must have one '.' and no ',' symbols\n\norderByStatement has invalid length\n\norderByStatement must have uuid as attribute key\n\nSearch field not found", "content": { "application/json": { "schema": { @@ -6984,33 +7234,33 @@ } } } - }, - "deprecated": true + } } }, - "/api/v2/autotests/resultReasons/name/{name}/exists": { + "/api/v2/notifications/count": { "get": { "tags": [ - "FailureCategories" + "Notifications" ], - "summary": "Check failure category with the specified name already exists", + "summary": "Get unread Notifications total in last 7 days", + "description": "\nUse case\n\nUser runs method execution\n\nSystem returns unread notifications total (listed in the response example)", "parameters": [ { - "name": "name", - "in": "path", - "required": true, + "name": "isRead", + "in": "query", "schema": { - "type": "string" + "type": "boolean" } } ], "responses": { "200": { - "description": "OK", + "description": "Successful operation", "content": { "application/json": { "schema": { - "type": "boolean" + "type": "integer", + "format": "int32" } } } @@ -7078,21 +7328,10 @@ } } }, - "/api/v2/autotests/failure-categories/name/{name}/exists": { + "/api/v2/openid-connections": { "get": { "tags": [ - "FailureCategories" - ], - "summary": "Check failure category with the specified name already exists", - "parameters": [ - { - "name": "name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } + "OpenIdConnections" ], "responses": { "200": { @@ -7100,7 +7339,10 @@ "content": { "application/json": { "schema": { - "type": "boolean" + "type": "array", + "items": { + "$ref": "#/components/schemas/OpenIdConnectionClientShortModel" + } } } } @@ -7168,122 +7410,103 @@ } } }, - "/api/v2/autotests/resultReasons/{id}": { + "/api/v2/parameters": { "get": { "tags": [ - "FailureCategories" + "Parameters" ], - "summary": "Get failure category by ID", + "summary": "Get all parameters", + "description": "\nUse case\n\n[Optional] User sets isDeleted field value\n\n[Optional] If User sets isDeleted field value as true, System search all deleted parameters\n\n[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted\n\nIf User did not set isDeleted field value, System search all parameters\n\nSystem returns array of all found parameters(listed in response model)", + "operationId": "GetAllParameters", "parameters": [ { - "name": "id", - "in": "path", - "required": true, + "name": "isDeleted", + "in": "query", + "description": "If result must consist of only actual/deleted parameters", "schema": { - "type": "string", - "format": "uuid" + "type": "boolean" } }, { - "name": "isDeleted", + "name": "Skip", "in": "query", + "description": "Amount of items to be skipped (offset)", "schema": { - "type": "boolean" + "type": "integer" + } + }, + { + "name": "Take", + "in": "query", + "description": "Amount of items to be taken (limit)", + "schema": { + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" } } ], "responses": { "200": { "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FailureCategoryApiResult" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "type": "integer" } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { + }, + "Pagination-Take": { + "description": "Taken items", "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "type": "integer" } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { + }, + "Pagination-Pages": { + "description": "Expected number of pages", "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "type": "integer" } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { + }, + "Pagination-Total-Items": { + "description": "Total count of items", "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "type": "integer" } } - } - }, - "422": { - "description": "Unprocessable Entity", + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProblemDetails" + "type": "array", + "items": { + "$ref": "#/components/schemas/ParameterApiResult" + } } } } - } - } - }, - "delete": { - "tags": [ - "FailureCategories" - ], - "summary": "Delete failure category", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" }, "400": { "description": "Bad Request", @@ -7306,7 +7529,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Invalid user permissions", "content": { "application/json": { "schema": { @@ -7345,40 +7568,36 @@ } } } - } - } - }, - "/api/v2/autotests/failure-categories/{id}": { - "get": { + }, + "deprecated": true + }, + "post": { "tags": [ - "FailureCategories" + "Parameters" ], - "summary": "Get failure category by ID", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "isDeleted", - "in": "query", - "schema": { - "type": "boolean" + "summary": "Create parameter", + "description": "\nUse case\n\nUser sets parameter model (listed in the request example)\n\nUser runs method execution\n\nSystem creates parameter\n\nSystem returns parameter model", + "operationId": "CreateParameter", + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/CreateParameterApiModel" + } + ] + } } } - ], + }, "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FailureCategoryApiResult" + "$ref": "#/components/schemas/ParameterApiResult" } } } @@ -7443,30 +7662,35 @@ } } } - } + }, + "deprecated": true }, - "delete": { + "put": { "tags": [ - "FailureCategories" + "Parameters" ], - "summary": "Delete failure category", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" + "summary": "Update parameter", + "description": "\nUse case\n\nUser sets parameter updated properties(listed in the request example)\n\nUser runs method execution\n\nSystem updated parameter using updated properties\n\nSystem returns no content response", + "operationId": "UpdateParameter", + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/UpdateParameterApiModel" + } + ] + } } } - ], + }, "responses": { "204": { "description": "No Content" }, "400": { - "description": "Bad Request", + "description": "\n- ID is not valid\n\n- DTO is not valid", "content": { "application/json": { "schema": { @@ -7496,7 +7720,7 @@ } }, "404": { - "description": "Not Found", + "description": "Parameter with provided ID was not found", "content": { "application/json": { "schema": { @@ -7525,2994 +7749,17 @@ } } } - } + }, + "deprecated": true } }, - "/api/v2/autotests/resultReasons": { + "/api/v2/parameters/search": { "post": { "tags": [ - "FailureCategories" + "Parameters" ], - "summary": "Create failure category", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateFailureCategoryApiModel" - } - ] - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FailureCategoryApiResult" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "put": { - "tags": [ - "FailureCategories" - ], - "summary": "Update failure category", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateFailureCategoryApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/autotests/failure-categories": { - "post": { - "tags": [ - "FailureCategories" - ], - "summary": "Create failure category", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateFailureCategoryApiModel" - } - ] - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FailureCategoryApiResult" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "put": { - "tags": [ - "FailureCategories" - ], - "summary": "Update failure category", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateFailureCategoryApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/notifications/{id}/read": { - "post": { - "tags": [ - "Notifications" - ], - "summary": "Set Notification as read", - "description": "\nUse case\n\nUser sets notification internal (guid format) identifier\n\nUser runs method execution\n\nSystem set notification as read", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Can't find notification with notificationId", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "204": { - "description": "Successful operation" - } - } - } - }, - "/api/v2/notifications/read": { - "post": { - "tags": [ - "Notifications" - ], - "summary": "Set all Notifications as read", - "description": "\nUse case\n\nUser runs method execution\n\nSystem set all notifications as read", - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "204": { - "description": "Successful operation" - } - } - } - }, - "/api/v2/notifications/search": { - "post": { - "tags": [ - "Notifications" - ], - "summary": "Search Notifications for current User", - "description": "\nUse case\n\nUser set filter and runs method execution\n\nSystem returns notifications (listed in the response example)", - "parameters": [ - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/NotificationQueryFilterModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful operation", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationModel" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/notifications": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Get all Notifications for current User", - "description": "\nUse case\n\nUser runs method execution\n\nSystem returns notifications (listed in the response example)", - "parameters": [ - { - "name": "notificationType", - "in": "query", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/NotificationTypeModel" - } - ] - } - }, - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationModel" - } - } - } - } - }, - "400": { - "description": "\norderByStatement must have one '.' and no ',' symbols\n\norderByStatement has invalid length\n\norderByStatement must have uuid as attribute key\n\nSearch field not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/notifications/count": { - "get": { - "tags": [ - "Notifications" - ], - "summary": "Get unread Notifications total in last 7 days", - "description": "\nUse case\n\nUser runs method execution\n\nSystem returns unread notifications total (listed in the response example)", - "parameters": [ - { - "name": "isRead", - "in": "query", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "type": "integer", - "format": "int32" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/openid-connections": { - "get": { - "tags": [ - "OpenIdConnections" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/OpenIdConnectionClientShortModel" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/parameters": { - "get": { - "tags": [ - "Parameters" - ], - "summary": "Get all parameters", - "description": "\nUse case\n\n[Optional] User sets isDeleted field value\n\n[Optional] If User sets isDeleted field value as true, System search all deleted parameters\n\n[Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted\n\nIf User did not set isDeleted field value, System search all parameters\n\nSystem returns array of all found parameters(listed in response model)", - "operationId": "GetAllParameters", - "parameters": [ - { - "name": "isDeleted", - "in": "query", - "description": "If result must consist of only actual/deleted parameters", - "schema": { - "type": "boolean" - } - }, - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ParameterApiResult" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Invalid user permissions", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - }, - "post": { - "tags": [ - "Parameters" - ], - "summary": "Create parameter", - "description": "\nUse case\n\nUser sets parameter model (listed in the request example)\n\nUser runs method execution\n\nSystem creates parameter\n\nSystem returns parameter model", - "operationId": "CreateParameter", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateParameterApiModel" - } - ] - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ParameterApiResult" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - }, - "put": { - "tags": [ - "Parameters" - ], - "summary": "Update parameter", - "description": "\nUse case\n\nUser sets parameter updated properties(listed in the request example)\n\nUser runs method execution\n\nSystem updated parameter using updated properties\n\nSystem returns no content response", - "operationId": "UpdateParameter", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/UpdateParameterApiModel" - } - ] - } - } - } - }, - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "\n- ID is not valid\n\n- DTO is not valid", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Parameter with provided ID was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/search": { - "post": { - "tags": [ - "Parameters" - ], - "summary": "Search for parameters", - "parameters": [ - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ParametersFilterApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ParameterApiResult" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/search/groups": { - "post": { - "tags": [ - "Parameters" - ], - "summary": "Search for parameters as group", - "parameters": [ - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ParameterGroupsFilterApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ParameterGroupApiResult" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/{id}": { - "get": { - "tags": [ - "Parameters" - ], - "summary": "Get parameter by ID", - "description": "\nUse case\n\nUser sets parameter internal (guid format) identifier\n\nUser runs method execution\n\nSystem search parameter using the identifier\n\nSystem returns parameter", - "operationId": "GetParameterById", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "Parameter internal (UUID) identifier", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ParameterApiResult" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Parameter with provided ID was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - }, - "delete": { - "tags": [ - "Parameters" - ], - "summary": "Delete parameter", - "description": "\nUse case\n\nUser sets parameter internal (guid format) identifier\n\nSystem search and delete parameter\n\nSystem returns deleted parameter", - "operationId": "DeleteParameter", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "Parameter internal (UUID) identifier", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "\n- ID is not valid\n\n- DTO is not valid", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Parameter is in use in iterations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/groups": { - "get": { - "tags": [ - "Parameters" - ], - "summary": "Get parameters as group", - "description": "\nUse case\n\nUser runs method execution\n\nSystem search parameters\n\nSystem returns parameters models as groups (listed in the response example)", - "parameters": [ - { - "name": "parameterKeyIds", - "in": "query", - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - }, - { - "name": "name", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "isDeleted", - "in": "query", - "schema": { - "type": "boolean" - } - }, - { - "name": "projectIds", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "nullable": true - } - } - }, - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ParameterGroupApiResult" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/key/name/{name}/exists": { - "get": { - "tags": [ - "Parameters" - ], - "summary": "Check existence parameter key in system", - "description": "\nUse case\n\nUser sets name of parameter key\n\nUser runs method execution\n\nSystem search parameter key\n\nSystem returns the flag for the existence of the parameter key in the system", - "parameters": [ - { - "name": "name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/bulk": { - "post": { - "tags": [ - "Parameters" - ], - "summary": "Create multiple parameters", - "description": "\nUse case\n\nUser sets list of parameter model (listed in the request example)\n\nUser runs method execution\n\nSystem creates parameters\n\nSystem returns list of parameter model (listed in the response example)", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CreateParameterApiModel" - } - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ParameterApiResult" - } - } - } - } - }, - "400": { - "description": "\n- Parameter model is not valid", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - }, - "put": { - "tags": [ - "Parameters" - ], - "summary": "Update multiple parameters", - "description": "\nUse case\n\nUser sets list of parameter model (listed in the request example)\n\nUser runs method execution\n\nSystem updates parameters", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UpdateParameterApiModel" - } - } - } - } - }, - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "\n- Parameter model is not valid", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Invalid user permissions", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/name/{name}": { - "delete": { - "tags": [ - "Parameters" - ], - "summary": "Delete parameter by name", - "description": "Deletes parameter and all it's values", - "operationId": "DeleteByName", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "Name of the parameter", - "required": true, - "schema": { - "maxLength": 255, - "minLength": 0, - "type": "string" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Provided name either is empty or contains only white spaces", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Parameter is in use in iterations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/keys": { - "get": { - "tags": [ - "Parameters" - ], - "summary": "Get all parameter keys", - "description": "\nUse case\n\nUser runs method execution\n\nSystem search all parameter keys\n\nSystem returns parameter keys", - "parameters": [ - { - "name": "projectIds", - "in": "query", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "nullable": true - } - } - }, - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/{key}/values": { - "get": { - "tags": [ - "Parameters" - ], - "summary": "Get all parameter key values", - "description": "\nUse case\n\nUser sets parameter key (string format)\n\nUser runs method execution\n\nSystem search parameter values using the key\n\nSystem returns parameter", - "parameters": [ - { - "name": "key", - "in": "path", - "description": "Parameter key (string format)", - "required": true, - "schema": { - "type": "string" - }, - "example": "SomeKey" - } - ], - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/parameters/keyId/{keyId}": { - "delete": { - "tags": [ - "Parameters" - ], - "summary": "Delete parameters by parameter key identifier", - "description": "Deletes parameter and all it's values by parameter key identifier", - "operationId": "DeleteByParameterKeyId", - "parameters": [ - { - "name": "keyId", - "in": "path", - "description": "Identifier of the parameter key", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Invalid user permissions", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Parameter is in use in iterations", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true - } - }, - "/api/v2/projects/{projectId}/attributes/templates/{templateId}": { - "post": { - "tags": [ - "Project attribute templates" - ], - "summary": "Add CustomAttributeTemplate to Project", - "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser sets attribute template internal identifier\n\nUser runs method execution\n\nSystem add attribute template to project", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "templateId", - "in": "path", - "description": "CustomAttributeTemplate internal (UUID) identifier", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Update project settings permission for project required", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Can't find a Project with identifier", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "delete": { - "tags": [ - "Project attribute templates" - ], - "summary": "Delete CustomAttributeTemplate from Project", - "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser sets attribute template internal identifier\n\nUser runs method execution\n\nSystem delete attribute template from project", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "templateId", - "in": "path", - "description": "CustomAttributeTemplate internal (UUID) identifier", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Update project settings permission for project required", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Can't find a Project with identifier", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/projects/{projectId}/attributes/templates/search": { - "post": { - "tags": [ - "Project attribute templates" - ], - "summary": "Search for custom attributes templates", + "summary": "Search for parameters", "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, { "name": "Skip", "in": "query", @@ -10560,10 +7807,9 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/ProjectCustomAttributesTemplatesFilterModel" + "$ref": "#/components/schemas/ParametersFilterApiModel" } - ], - "description": "Collection of filters to apply to search" + ] } } } @@ -10602,7 +7848,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/ProjectCustomAttributeTemplateGetModel" + "$ref": "#/components/schemas/ParameterApiResult" } } } @@ -10629,7 +7875,7 @@ } }, "403": { - "description": "Project admin permission for project settings is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -10668,49 +7914,106 @@ } } } - } + }, + "deprecated": true } }, - "/api/v2/projects/{projectId}/attributes": { - "get": { + "/api/v2/parameters/search/groups": { + "post": { "tags": [ - "Project attributes" + "Parameters" ], - "summary": "Get project attributes", - "description": "\nUse case\n\nUser sets project internal or global identifier\n\n[Optional] User sets isDeleted field value\n\nUser runs method execution\n\nSystem search project\n\n[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project\n\n[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted\n\n[Optional] If User did not set isDeleted field value, System search all attributes related to project\n\nSystem returns array of found attributes (listed in response model)", - "operationId": "GetAttributesByProjectId", + "summary": "Search for parameters as group", "parameters": [ { - "name": "projectId", - "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", - "required": true, + "name": "Skip", + "in": "query", + "description": "Amount of items to be skipped (offset)", "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" + "type": "integer" } }, { - "name": "isDeleted", + "name": "Take", "in": "query", + "description": "Amount of items to be taken (limit)", "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/DeletionState" - } - ] + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ParameterGroupsFilterApiModel" + } + ] + } + } + } + }, "responses": { "200": { "description": "OK", + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", + "schema": { + "type": "integer" + } + }, + "Pagination-Take": { + "description": "Taken items", + "schema": { + "type": "integer" + } + }, + "Pagination-Pages": { + "description": "Expected number of pages", + "schema": { + "type": "integer" + } + }, + "Pagination-Total-Items": { + "description": "Total count of items", + "schema": { + "type": "integer" + } + } + }, "content": { "application/json": { "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomAttributeModel" + "$ref": "#/components/schemas/ParameterGroupApiResult" } } } @@ -10737,7 +8040,7 @@ } }, "403": { - "description": "Read permission for test library is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -10776,53 +8079,43 @@ } } } - } - }, - "post": { + }, + "deprecated": true + } + }, + "/api/v2/parameters/{id}": { + "get": { "tags": [ - "Project attributes" + "Parameters" ], - "summary": "Create project attribute", - "description": "\nUse case\n\nUser sets attribute parameters (listed in request example) and runs method execution\n\nSystem search project\n\nSystem creates attribute and relates it to the project\n\nSystem returns project attribute properties (example listed in response parameters)", - "operationId": "CreateProjectsAttribute", + "summary": "Get parameter by ID", + "description": "\nUse case\n\nUser sets parameter internal (guid format) identifier\n\nUser runs method execution\n\nSystem search parameter using the identifier\n\nSystem returns parameter", + "operationId": "GetParameterById", "parameters": [ { - "name": "projectId", + "name": "id", "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", + "description": "Parameter internal (UUID) identifier", "required": true, "schema": { "type": "string", - "description": "Internal (UUID) or global (integer) identifier" + "format": "uuid" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttributePostModel" - } - ] - } - } - } - }, "responses": { - "201": { - "description": "Created", + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomAttributeModel" + "$ref": "#/components/schemas/ParameterApiResult" } } } }, "400": { - "description": "\n- Attribute is `null`\n\n- Priority is invalid\n\n- Attribute with `Options` type must have an options\n\n- ID is not `null`\n\n- Option ID is not `null`", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -10842,7 +8135,7 @@ } }, "403": { - "description": "Update permission for project settings is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -10852,7 +8145,7 @@ } }, "404": { - "description": "Project with provided ID was not found", + "description": "Parameter with provided ID was not found", "content": { "application/json": { "schema": { @@ -10862,7 +8155,7 @@ } }, "409": { - "description": "\n`CustomAttribute.Name` or `CustomAttribute.Id` are not unique in attributes schemes\n\n`CustomAttributeOptionModel.Id` or `CustomAttributeOptionModel.Value` are not unique in `attributesScheme.Options`", + "description": "Conflict", "content": { "application/json": { "schema": { @@ -10872,7 +8165,7 @@ } }, "422": { - "description": "Cannot add new attribute from template which is in use", + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { @@ -10881,45 +8174,34 @@ } } } - } + }, + "deprecated": true }, - "put": { + "delete": { "tags": [ - "Project attributes" + "Parameters" ], - "summary": "Edit attribute of the project", - "operationId": "UpdateProjectsAttribute", + "summary": "Delete parameter", + "description": "\nUse case\n\nUser sets parameter internal (guid format) identifier\n\nSystem search and delete parameter\n\nSystem returns deleted parameter", + "operationId": "DeleteParameter", "parameters": [ { - "name": "projectId", + "name": "id", "in": "path", - "description": "Unique or global project ID", + "description": "Parameter internal (UUID) identifier", "required": true, "schema": { "type": "string", - "description": "Internal (UUID) or global (integer) identifier" + "format": "uuid" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttributePutModel" - } - ] - } - } - } - }, "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK" }, "400": { - "description": "Bad Request", + "description": "\n- ID is not valid\n\n- DTO is not valid", "content": { "application/json": { "schema": { @@ -10939,7 +8221,7 @@ } }, "403": { - "description": "Update permission for project settings is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -10969,7 +8251,7 @@ } }, "422": { - "description": "Unprocessable Entity", + "description": "Parameter is in use in iterations", "content": { "application/json": { "schema": { @@ -10978,25 +8260,54 @@ } } } - } + }, + "deprecated": true } }, - "/api/v2/projects/{projectId}/attributes/search": { - "post": { + "/api/v2/parameters/groups": { + "get": { "tags": [ - "Project attributes" + "Parameters" ], - "summary": "Search for attributes used in the project", - "operationId": "SearchAttributesInProject", + "summary": "Get parameters as group", + "description": "\nUse case\n\nUser runs method execution\n\nSystem search parameters\n\nSystem returns parameters models as groups (listed in the response example)", "parameters": [ { - "name": "projectId", - "in": "path", - "description": "Unique or global project ID", - "required": true, + "name": "parameterKeyIds", + "in": "query", "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" + "uniqueItems": true, + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + { + "name": "name", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "isDeleted", + "in": "query", + "schema": { + "type": "boolean" + } + }, + { + "name": "projectIds", + "in": "query", + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "uuid", + "nullable": true + } } }, { @@ -11040,19 +8351,6 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ProjectAttributesFilterModel" - } - ] - } - } - } - }, "responses": { "200": { "description": "OK", @@ -11087,7 +8385,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomAttributeModel" + "$ref": "#/components/schemas/ParameterGroupApiResult" } } } @@ -11114,7 +8412,7 @@ } }, "403": { - "description": "Read permission for project is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -11153,36 +8451,24 @@ } } } - } + }, + "deprecated": true } }, - "/api/v2/projects/{projectId}/attributes/{attributeId}": { + "/api/v2/parameters/key/name/{name}/exists": { "get": { "tags": [ - "Project attributes" + "Parameters" ], - "summary": "Get project attribute", - "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser sets project attribute identifier\n\nUser runs method execution\n\nSystem search project\n\nSystem search project attribute\n\nSystem returns project attribute (listed in response model)", - "operationId": "GetAttributeByProjectId", + "summary": "Check existence parameter key in system", + "description": "\nUse case\n\nUser sets name of parameter key\n\nUser runs method execution\n\nSystem search parameter key\n\nSystem returns the flag for the existence of the parameter key in the system", "parameters": [ { - "name": "projectId", - "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "attributeId", + "name": "name", "in": "path", - "description": "Project attribute internal (UUID) or global (integer) identifier", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -11192,7 +8478,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CustomAttributeModel" + "type": "boolean" } } } @@ -11218,7 +8504,7 @@ } }, "403": { - "description": "Read permission for test library is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -11228,7 +8514,7 @@ } }, "404": { - "description": "\n- Project with provided ID was not found\n\n- Project attribute with provided ID was not found", + "description": "Not Found", "content": { "application/json": { "schema": { @@ -11257,43 +8543,45 @@ } } } - } - }, - "delete": { + }, + "deprecated": true + } + }, + "/api/v2/parameters/bulk": { + "post": { "tags": [ - "Project attributes" + "Parameters" ], - "summary": "Delete project attribute", - "description": "\nUse case\n\nUser sets project identifier and runs method execution\n\nUser sets attribute identifier\n\nUser runs method execution\n\nSystem search project\n\nSystem search and delete attribute\n\nSystem returns no content response", - "operationId": "DeleteProjectsAttribute", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "attributeId", - "in": "path", - "description": "Project attribute internal (UUID)", - "required": true, - "schema": { - "type": "string", - "format": "uuid" + "summary": "Create multiple parameters", + "description": "\nUse case\n\nUser sets list of parameter model (listed in the request example)\n\nUser runs method execution\n\nSystem creates parameters\n\nSystem returns list of parameter model (listed in the response example)", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CreateParameterApiModel" + } + } } } - ], + }, "responses": { - "204": { - "description": "Successful operation" + "201": { + "description": "Created", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ParameterApiResult" + } + } + } + } }, "400": { - "description": "\n- Project ID is invalid\n\n- Project attribute ID is invalid\n\n- Attribute is empty", + "description": "\n- Parameter model is not valid", "content": { "application/json": { "schema": { @@ -11313,7 +8601,7 @@ } }, "403": { - "description": "Update permission for project settings is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -11323,7 +8611,7 @@ } }, "404": { - "description": "Project with provided ID was not found", + "description": "Not Found", "content": { "application/json": { "schema": { @@ -11352,45 +8640,33 @@ } } } - } - } - }, - "/api/v2/projects/{projectId}/configurations": { - "get": { + }, + "deprecated": true + }, + "put": { "tags": [ - "Project configurations" - ], - "summary": "Get project configurations", - "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser runs method execution\n\nSystem search project\n\nSystem search all configurations related to project\n\nSystem returns array of found configurations (listed in response model)", - "operationId": "GetConfigurationsByProjectId", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - } + "Parameters" ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigurationModel" - } + "summary": "Update multiple parameters", + "description": "\nUse case\n\nUser sets list of parameter model (listed in the request example)\n\nUser runs method execution\n\nSystem updates parameters", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UpdateParameterApiModel" } } } + } + }, + "responses": { + "204": { + "description": "No Content" }, "400": { - "description": "Bad Request", + "description": "\n- Parameter model is not valid", "content": { "application/json": { "schema": { @@ -11410,7 +8686,7 @@ } }, "403": { - "description": "Read permission for configurations required", + "description": "Invalid user permissions", "content": { "application/json": { "schema": { @@ -11420,7 +8696,7 @@ } }, "404": { - "description": "Project with provided ID was not found", + "description": "Not Found", "content": { "application/json": { "schema": { @@ -11449,51 +8725,37 @@ } } } - } + }, + "deprecated": true } }, - "/api/v2/projects/{id}/external-services": { - "get": { + "/api/v2/parameters/name/{name}": { + "delete": { "tags": [ - "Project external services" + "Parameters" ], - "summary": "Retrieves information about external services, including their integration status (enabled or not)", + "summary": "Delete parameter by name", + "description": "Deletes parameter and all it's values", + "operationId": "DeleteByName", "parameters": [ { - "name": "id", + "name": "name", "in": "path", - "description": "Project ID", + "description": "Name of the parameter", "required": true, "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "category", - "in": "query", - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ApiExternalServiceCategory" - } - ] + "maxLength": 255, + "minLength": 0, + "type": "string" } } ], "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProjectExternalServicesApiResult" - } - } - } + "204": { + "description": "No Content" }, "400": { - "description": "Bad Request", + "description": "Provided name either is empty or contains only white spaces", "content": { "application/json": { "schema": { @@ -11543,7 +8805,7 @@ } }, "422": { - "description": "Unprocessable Entity", + "description": "Parameter is in use in iterations", "content": { "application/json": { "schema": { @@ -11552,44 +8814,107 @@ } } } - } + }, + "deprecated": true } }, - "/api/v2/projects/{id}/external-services/{externalServiceId}": { + "/api/v2/parameters/keys": { "get": { "tags": [ - "Project external services" + "Parameters" ], - "summary": "Retrieves settings of an external service", + "summary": "Get all parameter keys", + "description": "\nUse case\n\nUser runs method execution\n\nSystem search all parameter keys\n\nSystem returns parameter keys", "parameters": [ { - "name": "id", - "in": "path", - "description": "Project ID", - "required": true, + "name": "projectIds", + "in": "query", "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" + "type": "array", + "items": { + "type": "string", + "format": "uuid", + "nullable": true + } } }, { - "name": "externalServiceId", - "in": "path", - "description": "External service ID", - "required": true, + "name": "Skip", + "in": "query", + "description": "Amount of items to be skipped (offset)", "schema": { - "type": "string", - "format": "uuid" + "type": "integer" + } + }, + { + "name": "Take", + "in": "query", + "description": "Amount of items to be taken (limit)", + "schema": { + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" } } ], "responses": { "200": { - "description": "OK", + "description": "Successful operation", + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", + "schema": { + "type": "integer" + } + }, + "Pagination-Take": { + "description": "Taken items", + "schema": { + "type": "integer" + } + }, + "Pagination-Pages": { + "description": "Expected number of pages", + "schema": { + "type": "integer" + } + }, + "Pagination-Total-Items": { + "description": "Total count of items", + "schema": { + "type": "integer" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProjectExternalServiceSettingsApiResult" + "type": "array", + "items": { + "type": "string" + } } } } @@ -11654,51 +8979,42 @@ } } } - } - }, - "put": { + }, + "deprecated": true + } + }, + "/api/v2/parameters/{key}/values": { + "get": { "tags": [ - "Project external services" + "Parameters" ], - "summary": "Enable an external service", + "summary": "Get all parameter key values", + "description": "\nUse case\n\nUser sets parameter key (string format)\n\nUser runs method execution\n\nSystem search parameter values using the key\n\nSystem returns parameter", "parameters": [ { - "name": "id", - "in": "path", - "description": "Project ID", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "externalServiceId", + "name": "key", "in": "path", - "description": "External service ID", + "description": "Parameter key (string format)", "required": true, "schema": { - "type": "string", - "format": "uuid" - } + "type": "string" + }, + "example": "SomeKey" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/EnableProjectExternalServiceApiModel" + "responses": { + "200": { + "description": "Successful operation", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" } - ] + } } } - } - }, - "responses": { - "200": { - "description": "OK" }, "400": { "description": "Bad Request", @@ -11760,29 +9076,23 @@ } } } - } - }, - "patch": { + }, + "deprecated": true + } + }, + "/api/v2/parameters/keyId/{keyId}": { + "delete": { "tags": [ - "Project external services" + "Parameters" ], - "summary": "Replaces one active external service with another", - "description": "See RFC 6902: JavaScript Object Notation (JSON) Patch for details", + "summary": "Delete parameters by parameter key identifier", + "description": "Deletes parameter and all it's values by parameter key identifier", + "operationId": "DeleteByParameterKeyId", "parameters": [ { - "name": "id", - "in": "path", - "description": "Project ID", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "externalServiceId", + "name": "keyId", "in": "path", - "description": "External service ID", + "description": "Identifier of the parameter key", "required": true, "schema": { "type": "string", @@ -11790,22 +9100,9 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/ReplaceProjectExternalServiceApiModel" - } - ] - } - } - } - }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" }, "400": { "description": "Bad Request", @@ -11828,7 +9125,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Invalid user permissions", "content": { "application/json": { "schema": { @@ -11858,7 +9155,7 @@ } }, "422": { - "description": "Unprocessable Entity", + "description": "Parameter is in use in iterations", "content": { "application/json": { "schema": { @@ -11867,18 +9164,22 @@ } } } - } - }, - "delete": { + }, + "deprecated": true + } + }, + "/api/v2/projects/{projectId}/attributes/templates/{templateId}": { + "post": { "tags": [ - "Project external services" + "Project attribute templates" ], - "summary": "Disable an external service", + "summary": "Add CustomAttributeTemplate to Project", + "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser sets attribute template internal identifier\n\nUser runs method execution\n\nSystem add attribute template to project", "parameters": [ { - "name": "id", + "name": "projectId", "in": "path", - "description": "Project ID", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", @@ -11886,9 +9187,9 @@ } }, { - "name": "externalServiceId", + "name": "templateId", "in": "path", - "description": "External service ID", + "description": "CustomAttributeTemplate internal (UUID) identifier", "required": true, "schema": { "type": "string", @@ -11921,7 +9222,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update project settings permission for project required", "content": { "application/json": { "schema": { @@ -11931,7 +9232,7 @@ } }, "404": { - "description": "Not Found", + "description": "Can't find a Project with identifier", "content": { "application/json": { "schema": { @@ -11961,52 +9262,38 @@ } } } - } - }, - "/api/v2/projects/{id}/external-services/issues/search": { - "post": { + }, + "delete": { "tags": [ - "Project external services" + "Project attribute templates" ], - "summary": "Searches for external issues using enabled external services in project", + "summary": "Delete CustomAttributeTemplate from Project", + "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser sets attribute template internal identifier\n\nUser runs method execution\n\nSystem delete attribute template from project", "parameters": [ { - "name": "id", + "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", "description": "Internal (UUID) or global (integer) identifier" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/SearchExternalIssuesApiModel" - } - ] - } + }, + { + "name": "templateId", + "in": "path", + "description": "CustomAttributeTemplate internal (UUID) identifier", + "required": true, + "schema": { + "type": "string", + "format": "uuid" } } - }, + ], "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExternalIssueApiResult" - } - } - } - } + "204": { + "description": "No Content" }, "400": { "description": "Bad Request", @@ -12029,7 +9316,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update project settings permission for project required", "content": { "application/json": { "schema": { @@ -12039,7 +9326,7 @@ } }, "404": { - "description": "Not Found", + "description": "Can't find a Project with identifier", "content": { "application/json": { "schema": { @@ -12071,12 +9358,12 @@ } } }, - "/api/v2/projects/{projectId}/autotests/failure-categories/grouping-search": { + "/api/v2/projects/{projectId}/attributes/templates/search": { "post": { "tags": [ - "Project failure categories" + "Project attribute templates" ], - "summary": "Get failure categories with support for filtering, sorting and grouping", + "summary": "Search for custom attributes templates", "parameters": [ { "name": "projectId", @@ -12087,6 +9374,46 @@ "type": "string", "description": "Internal (UUID) or global (integer) identifier" } + }, + { + "name": "Skip", + "in": "query", + "description": "Amount of items to be skipped (offset)", + "schema": { + "type": "integer" + } + }, + { + "name": "Take", + "in": "query", + "description": "Amount of items to be taken (limit)", + "schema": { + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" + } } ], "requestBody": { @@ -12095,9 +9422,10 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/FailureCategoryGroupSearchApiModel" + "$ref": "#/components/schemas/ProjectCustomAttributesTemplatesFilterModel" } - ] + ], + "description": "Collection of filters to apply to search" } } } @@ -12105,10 +9433,39 @@ "responses": { "200": { "description": "OK", + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", + "schema": { + "type": "integer" + } + }, + "Pagination-Take": { + "description": "Taken items", + "schema": { + "type": "integer" + } + }, + "Pagination-Pages": { + "description": "Expected number of pages", + "schema": { + "type": "integer" + } + }, + "Pagination-Total-Items": { + "description": "Total count of items", + "schema": { + "type": "integer" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProjectFailureCategoryGroupItemApiResultReply" + "type": "array", + "items": { + "$ref": "#/components/schemas/ProjectCustomAttributeTemplateGetModel" + } } } } @@ -12134,7 +9491,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Project admin permission for project settings is required", "content": { "application/json": { "schema": { @@ -12176,17 +9533,19 @@ } } }, - "/api/v2/projects/{projectId}/autotests/failure-categories/{id}": { + "/api/v2/projects/{projectId}/attributes": { "get": { "tags": [ - "Project failure categories" + "Project attributes" ], - "summary": "Get failure category by ID", + "summary": "Get project attributes", + "description": "\nUse case\n\nUser sets project internal or global identifier\n\n[Optional] User sets isDeleted field value\n\nUser runs method execution\n\nSystem search project\n\n[Optional] If User sets isDeleted field value as true, System search all deleted attributes related to project\n\n[Optional] If User sets isDeleted field value as false, System search all attributes related to project which are not deleted\n\n[Optional] If User did not set isDeleted field value, System search all attributes related to project\n\nSystem returns array of found attributes (listed in response model)", + "operationId": "GetAttributesByProjectId", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", @@ -12194,12 +9553,14 @@ } }, { - "name": "id", - "in": "path", - "required": true, + "name": "isDeleted", + "in": "query", "schema": { - "type": "string", - "format": "uuid" + "allOf": [ + { + "$ref": "#/components/schemas/DeletionState" + } + ] } } ], @@ -12209,7 +9570,10 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProjectDetailedFailureCategoryApiResult" + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomAttributeModel" + } } } } @@ -12235,7 +9599,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Read permission for test library is required", "content": { "application/json": { "schema": { @@ -12276,110 +9640,18 @@ } } }, - "delete": { - "tags": [ - "Project failure categories" - ], - "summary": "Delete failure category", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "responses": { - "204": { - "description": "No Content" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/projects/{projectId}/autotests/failure-categories": { "post": { "tags": [ - "Project failure categories" + "Project attributes" ], - "summary": "Create failure category", + "summary": "Create project attribute", + "description": "\nUse case\n\nUser sets attribute parameters (listed in request example) and runs method execution\n\nSystem search project\n\nSystem creates attribute and relates it to the project\n\nSystem returns project attribute properties (example listed in response parameters)", + "operationId": "CreateProjectsAttribute", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", @@ -12393,7 +9665,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/CreateProjectFailureCategoryApiModel" + "$ref": "#/components/schemas/CustomAttributePostModel" } ] } @@ -12406,13 +9678,13 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProjectDetailedFailureCategoryApiResult" + "$ref": "#/components/schemas/CustomAttributeModel" } } } }, "400": { - "description": "Bad Request", + "description": "\n- Attribute is `null`\n\n- Priority is invalid\n\n- Attribute with `Options` type must have an options\n\n- ID is not `null`\n\n- Option ID is not `null`", "content": { "application/json": { "schema": { @@ -12432,7 +9704,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for project settings is required", "content": { "application/json": { "schema": { @@ -12442,7 +9714,7 @@ } }, "404": { - "description": "Not Found", + "description": "Project with provided ID was not found", "content": { "application/json": { "schema": { @@ -12452,7 +9724,7 @@ } }, "409": { - "description": "Conflict", + "description": "\n`CustomAttribute.Name` or `CustomAttribute.Id` are not unique in attributes schemes\n\n`CustomAttributeOptionModel.Id` or `CustomAttributeOptionModel.Value` are not unique in `attributesScheme.Options`", "content": { "application/json": { "schema": { @@ -12462,7 +9734,7 @@ } }, "422": { - "description": "Unprocessable Entity", + "description": "Cannot add new attribute from template which is in use", "content": { "application/json": { "schema": { @@ -12475,14 +9747,15 @@ }, "put": { "tags": [ - "Project failure categories" + "Project attributes" ], - "summary": "Update failure category", + "summary": "Edit attribute of the project", + "operationId": "UpdateProjectsAttribute", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Unique or global project ID", "required": true, "schema": { "type": "string", @@ -12496,7 +9769,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/UpdateFailureCategoryProjectApiModel" + "$ref": "#/components/schemas/CustomAttributePutModel" } ] } @@ -12504,8 +9777,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" }, "400": { "description": "Bad Request", @@ -12528,7 +9801,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for project settings is required", "content": { "application/json": { "schema": { @@ -12570,19 +9843,18 @@ } } }, - "/api/v2/projects/{projectId}/sections": { - "get": { + "/api/v2/projects/{projectId}/attributes/search": { + "post": { "tags": [ - "Project sections" + "Project attributes" ], - "summary": "Get project sections", - "description": "\nUse case\n\nUser sets project internal or global identifier and runs method execution\n\nSystem search project\n\nSystem search all sections related to the project\n\nSystem returns array of sections (listed in response)", - "operationId": "GetSectionsByProjectId", + "summary": "Search for attributes used in the project", + "operationId": "SearchAttributesInProject", "parameters": [ { "name": "projectId", "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", + "description": "Unique or global project ID", "required": true, "schema": { "type": "string", @@ -12630,6 +9902,19 @@ } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "allOf": [ + { + "$ref": "#/components/schemas/ProjectAttributesFilterModel" + } + ] + } + } + } + }, "responses": { "200": { "description": "OK", @@ -12664,7 +9949,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/SectionModel" + "$ref": "#/components/schemas/CustomAttributeModel" } } } @@ -12691,7 +9976,7 @@ } }, "403": { - "description": "Read permission for test library is required", + "description": "Read permission for project is required", "content": { "application/json": { "schema": { @@ -12733,23 +10018,34 @@ } } }, - "/api/v2/projects/{projectId}/settings/autotests": { + "/api/v2/projects/{projectId}/attributes/{attributeId}": { "get": { "tags": [ - "Project settings" + "Project attributes" ], - "summary": "Get autotest project settings.", - "operationId": "GetAutotestProjectSettings", + "summary": "Get project attribute", + "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser sets project attribute identifier\n\nUser runs method execution\n\nSystem search project\n\nSystem search project attribute\n\nSystem returns project attribute (listed in response model)", + "operationId": "GetAttributeByProjectId", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", "description": "Internal (UUID) or global (integer) identifier" } + }, + { + "name": "attributeId", + "in": "path", + "description": "Project attribute internal (UUID) or global (integer) identifier", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } } ], "responses": { @@ -12758,7 +10054,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AutoTestProjectSettingsApiResult" + "$ref": "#/components/schemas/CustomAttributeModel" } } } @@ -12784,7 +10080,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Read permission for test library is required", "content": { "application/json": { "schema": { @@ -12794,7 +10090,7 @@ } }, "404": { - "description": "Not Found", + "description": "\n- Project with provided ID was not found\n\n- Project attribute with provided ID was not found", "content": { "application/json": { "schema": { @@ -12825,42 +10121,41 @@ } } }, - "post": { + "delete": { "tags": [ - "Project settings" + "Project attributes" ], - "summary": "Set autotest project settings.", + "summary": "Delete project attribute", + "description": "\nUse case\n\nUser sets project identifier and runs method execution\n\nUser sets attribute identifier\n\nUser runs method execution\n\nSystem search project\n\nSystem search and delete attribute\n\nSystem returns no content response", + "operationId": "DeleteProjectsAttribute", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", "description": "Internal (UUID) or global (integer) identifier" } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/AutoTestProjectSettingsApiModel" - } - ] - } + }, + { + "name": "attributeId", + "in": "path", + "description": "Project attribute internal (UUID)", + "required": true, + "schema": { + "type": "string", + "format": "uuid" } } - }, + ], "responses": { "204": { - "description": "No Content" + "description": "Successful operation" }, "400": { - "description": "Bad Request", + "description": "\n- Project ID is invalid\n\n- Project attribute ID is invalid\n\n- Attribute is empty", "content": { "application/json": { "schema": { @@ -12880,7 +10175,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for project settings is required", "content": { "application/json": { "schema": { @@ -12890,7 +10185,7 @@ } }, "404": { - "description": "Not Found", + "description": "Project with provided ID was not found", "content": { "application/json": { "schema": { @@ -12922,14 +10217,14 @@ } } }, - "/api/v2/projects/{projectId}/testPlans/attributes": { + "/api/v2/projects/{projectId}/configurations": { "get": { "tags": [ - "Project test plan attributes" + "Project configurations" ], - "summary": "Get project's test plan attributes", - "description": "\nUse case\n\nUser runs method execution\n\nSystem returns project for test plans attributes by project identifier", - "operationId": "GetCustomAttributeTestPlanProjectRelations", + "summary": "Get project configurations", + "description": "\nUse case\n\nUser sets project internal or global identifier\n\nUser runs method execution\n\nSystem search project\n\nSystem search all configurations related to project\n\nSystem returns array of found configurations (listed in response model)", + "operationId": "GetConfigurationsByProjectId", "parameters": [ { "name": "projectId", @@ -12950,7 +10245,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/CustomAttributeModel" + "$ref": "#/components/schemas/ConfigurationModel" } } } @@ -12977,7 +10272,7 @@ } }, "403": { - "description": "Read permission for project settings is required", + "description": "Read permission for configurations required", "content": { "application/json": { "schema": { @@ -12987,7 +10282,7 @@ } }, "404": { - "description": "Not Found", + "description": "Project with provided ID was not found", "content": { "application/json": { "schema": { @@ -13017,14 +10312,16 @@ } } } - }, - "post": { + } + }, + "/api/v2/projects/{projectId}/sections": { + "get": { "tags": [ - "Project test plan attributes" + "Project sections" ], - "summary": "Add attributes to project's test plans", - "description": "\nUse case\n\nUser sets project internal or global identifier and attributes identifiers\n\nUser runs method execution\n\nSystem updates project and add attributes to project for test plans\n\nSystem returns no content response", - "operationId": "CreateCustomAttributeTestPlanProjectRelations", + "summary": "Get project sections", + "description": "\nUse case\n\nUser sets project internal or global identifier and runs method execution\n\nSystem search project\n\nSystem search all sections related to the project\n\nSystem returns array of sections (listed in response)", + "operationId": "GetSectionsByProjectId", "parameters": [ { "name": "projectId", @@ -13035,28 +10332,90 @@ "type": "string", "description": "Internal (UUID) or global (integer) identifier" } + }, + { + "name": "Skip", + "in": "query", + "description": "Amount of items to be skipped (offset)", + "schema": { + "type": "integer" + } + }, + { + "name": "Take", + "in": "query", + "description": "Amount of items to be taken (limit)", + "schema": { + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" + } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "uniqueItems": true, - "type": "array", - "items": { - "type": "string", - "format": "uuid" + "responses": { + "200": { + "description": "OK", + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", + "schema": { + "type": "integer" + } + }, + "Pagination-Take": { + "description": "Taken items", + "schema": { + "type": "integer" + } + }, + "Pagination-Pages": { + "description": "Expected number of pages", + "schema": { + "type": "integer" + } + }, + "Pagination-Total-Items": { + "description": "Total count of items", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SectionModel" + } } } } - } - }, - "responses": { - "204": { - "description": "No Content" }, "400": { - "description": "\nAttributes must be global", + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -13076,7 +10435,7 @@ } }, "403": { - "description": "Update permission for project settings is required", + "description": "Read permission for test library is required", "content": { "application/json": { "schema": { @@ -13116,19 +10475,20 @@ } } } - }, - "put": { + } + }, + "/api/v2/projects/{projectId}/settings/autotests": { + "get": { "tags": [ - "Project test plan attributes" + "Project settings" ], - "summary": "Update attribute of project's test plans", - "description": "\nUse case\n\nUser sets project internal or global identifier and attribute model\n\nUser runs method execution\n\nSystem updates project and project attribute for test plan\n\nSystem returns no content response", - "operationId": "UpdateCustomAttributeTestPlanProjectRelations", + "summary": "Get autotest project settings.", + "operationId": "GetAutotestProjectSettings", "parameters": [ { "name": "projectId", "in": "path", - "description": "Project internal (UUID) or global (integer) identifier", + "description": "Internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", @@ -13136,22 +10496,16 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CustomAttributeTestPlanProjectRelationPutModel" - } - ] + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AutoTestProjectSettingsApiResult" + } } } - } - }, - "responses": { - "204": { - "description": "No Content" }, "400": { "description": "Bad Request", @@ -13174,7 +10528,7 @@ } }, "403": { - "description": "Update permission for project settings is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -13214,65 +10568,22 @@ } } } - } - }, - "/api/v2/projects/{projectId}/testPlans/attributes/search": { + }, "post": { "tags": [ - "Project test plan attributes" + "Project settings" ], - "summary": "Search for attributes used in the project test plans", - "operationId": "SearchTestPlanAttributesInProject", + "summary": "Set autotest project settings.", "parameters": [ { "name": "projectId", "in": "path", - "description": "Unique or global project ID", + "description": "Internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", "description": "Internal (UUID) or global (integer) identifier" } - }, - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } } ], "requestBody": { @@ -13281,7 +10592,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/ProjectAttributesFilterModel" + "$ref": "#/components/schemas/AutoTestProjectSettingsApiModel" } ] } @@ -13289,44 +10600,8 @@ } }, "responses": { - "200": { - "description": "OK", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomAttributeModel" - } - } - } - } + "204": { + "description": "No Content" }, "400": { "description": "Bad Request", @@ -13349,7 +10624,7 @@ } }, "403": { - "description": "Read permission for project is required", + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -13391,14 +10666,14 @@ } } }, - "/api/v2/projects/{projectId}/testPlans/attributes/{attributeId}": { - "delete": { + "/api/v2/projects/{projectId}/testPlans/attributes": { + "get": { "tags": [ "Project test plan attributes" ], - "summary": "Delete attribute from project's test plans", - "description": "\nUse case\n\nUser sets project internal or global identifier and attribute identifier\n\nUser runs method execution\n\nSystem updates project and delete attribute from project for test plans\n\nSystem returns no content response", - "operationId": "DeleteCustomAttributeTestPlanProjectRelations", + "summary": "Get project's test plan attributes", + "description": "\nUse case\n\nUser runs method execution\n\nSystem returns project for test plans attributes by project identifier", + "operationId": "GetCustomAttributeTestPlanProjectRelations", "parameters": [ { "name": "projectId", @@ -13409,23 +10684,123 @@ "type": "string", "description": "Internal (UUID) or global (integer) identifier" } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomAttributeModel" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Read permission for project settings is required", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + }, + "post": { + "tags": [ + "Project test plan attributes" + ], + "summary": "Add attributes to project's test plans", + "description": "\nUse case\n\nUser sets project internal or global identifier and attributes identifiers\n\nUser runs method execution\n\nSystem updates project and add attributes to project for test plans\n\nSystem returns no content response", + "operationId": "CreateCustomAttributeTestPlanProjectRelations", + "parameters": [ { - "name": "attributeId", + "name": "projectId", "in": "path", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", - "format": "uuid" + "description": "Internal (UUID) or global (integer) identifier" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + } + } + }, "responses": { "204": { "description": "No Content" }, "400": { - "description": "Bad Request", + "description": "\nAttributes must be global", "content": { "application/json": { "schema": { @@ -13485,33 +10860,24 @@ } } } - } - }, - "/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/rerun": { - "post": { + }, + "put": { "tags": [ - "Project test plan test points" + "Project test plan attributes" ], - "summary": "Rerun autotests.", + "summary": "Update attribute of project's test plans", + "description": "\nUse case\n\nUser sets project internal or global identifier and attribute model\n\nUser runs method execution\n\nSystem updates project and project attribute for test plan\n\nSystem returns no content response", + "operationId": "UpdateCustomAttributeTestPlanProjectRelations", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", "description": "Internal (UUID) or global (integer) identifier" } - }, - { - "name": "testPlanId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } } ], "requestBody": { @@ -13520,7 +10886,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/TestPlanTestPointsAutoTestsRerunApiModel" + "$ref": "#/components/schemas/CustomAttributeTestPlanProjectRelationPutModel" } ] } @@ -13528,8 +10894,8 @@ } }, "responses": { - "200": { - "description": "OK" + "204": { + "description": "No Content" }, "400": { "description": "Bad Request", @@ -13552,7 +10918,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for project settings is required", "content": { "application/json": { "schema": { @@ -13594,17 +10960,18 @@ } } }, - "/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/run": { + "/api/v2/projects/{projectId}/testPlans/attributes/search": { "post": { "tags": [ - "Project test plan test points" + "Project test plan attributes" ], - "summary": "Run autotests.", + "summary": "Search for attributes used in the project test plans", + "operationId": "SearchTestPlanAttributesInProject", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Unique or global project ID", "required": true, "schema": { "type": "string", @@ -13612,12 +10979,43 @@ } }, { - "name": "testPlanId", - "in": "path", - "required": true, + "name": "Skip", + "in": "query", + "description": "Amount of items to be skipped (offset)", "schema": { - "type": "string", - "format": "uuid" + "type": "integer" + } + }, + { + "name": "Take", + "in": "query", + "description": "Amount of items to be taken (limit)", + "schema": { + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" } } ], @@ -13627,7 +11025,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/TestPlanTestPointsAutoTestsRunApiModel" + "$ref": "#/components/schemas/ProjectAttributesFilterModel" } ] } @@ -13637,10 +11035,39 @@ "responses": { "200": { "description": "OK", + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", + "schema": { + "type": "integer" + } + }, + "Pagination-Take": { + "description": "Taken items", + "schema": { + "type": "integer" + } + }, + "Pagination-Pages": { + "description": "Expected number of pages", + "schema": { + "type": "integer" + } + }, + "Pagination-Total-Items": { + "description": "Total count of items", + "schema": { + "type": "integer" + } + } + }, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TestRunNameApiResult" + "type": "array", + "items": { + "$ref": "#/components/schemas/CustomAttributeModel" + } } } } @@ -13666,7 +11093,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Read permission for project is required", "content": { "application/json": { "schema": { @@ -13708,17 +11135,19 @@ } } }, - "/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/grouping-search": { - "post": { + "/api/v2/projects/{projectId}/testPlans/attributes/{attributeId}": { + "delete": { "tags": [ - "Project test plan test points" + "Project test plan attributes" ], - "summary": "Search test points in test plan.", + "summary": "Delete attribute from project's test plans", + "description": "\nUse case\n\nUser sets project internal or global identifier and attribute identifier\n\nUser runs method execution\n\nSystem updates project and delete attribute from project for test plans\n\nSystem returns no content response", + "operationId": "DeleteCustomAttributeTestPlanProjectRelations", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Project internal (UUID) or global (integer) identifier", "required": true, "schema": { "type": "string", @@ -13726,7 +11155,7 @@ } }, { - "name": "testPlanId", + "name": "attributeId", "in": "path", "required": true, "schema": { @@ -13735,29 +11164,9 @@ } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/TestPlanTestPointsApiModel" - } - ] - } - } - } - }, "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TestPlanTestPointsGroupSearchApiResult" - } - } - } + "204": { + "description": "No Content" }, "400": { "description": "Bad Request", @@ -13780,7 +11189,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for project settings is required", "content": { "application/json": { "schema": { @@ -13822,12 +11231,12 @@ } } }, - "/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/testers": { + "/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/rerun": { "post": { "tags": [ "Project test plan test points" ], - "summary": "Distribute test points between the users.", + "summary": "Rerun autotests.", "parameters": [ { "name": "projectId", @@ -13855,7 +11264,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/TestPlanTestPointsSetTestersApiModel" + "$ref": "#/components/schemas/TestPlanTestPointsAutoTestsRerunApiModel" } ] } @@ -13929,12 +11338,12 @@ } } }, - "/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/analytics": { + "/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/run": { "post": { "tags": [ "Project test plan test points" ], - "summary": "Get test points analytics.", + "summary": "Run autotests.", "parameters": [ { "name": "projectId", @@ -13962,7 +11371,7 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/TestPlanTestPointsAnalyticsApiModel" + "$ref": "#/components/schemas/TestPlanTestPointsAutoTestsRunApiModel" } ] } @@ -13975,7 +11384,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/TestPlanTestPointsAnalyticsApiResult" + "$ref": "#/components/schemas/TestRunNameApiResult" } } } @@ -15358,408 +12767,65 @@ } } } - } - } - }, - "/api/v2/projects/{projectId}/workItems/search/id": { - "post": { - "tags": [ - "Project work items" - ], - "summary": "Search for work items and extract IDs only", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Unique or global ID of the project", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - }, - { - "name": "Skip", - "in": "query", - "description": "Amount of items to be skipped (offset)", - "schema": { - "type": "integer" - } - }, - { - "name": "Take", - "in": "query", - "description": "Amount of items to be taken (limit)", - "schema": { - "type": "integer" - } - }, - { - "name": "OrderBy", - "in": "query", - "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", - "schema": { - "type": "string" - } - }, - { - "name": "SearchField", - "in": "query", - "description": "Property name for searching", - "schema": { - "type": "string" - } - }, - { - "name": "SearchValue", - "in": "query", - "description": "Value for searching", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/WorkItemSelectModel" - } - ], - "description": "Model containing options to filter work items" - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "headers": { - "Pagination-Skip": { - "description": "Skipped amount of items", - "schema": { - "type": "integer" - } - }, - "Pagination-Take": { - "description": "Taken items", - "schema": { - "type": "integer" - } - }, - "Pagination-Pages": { - "description": "Expected number of pages", - "schema": { - "type": "integer" - } - }, - "Pagination-Total-Items": { - "description": "Total count of items", - "schema": { - "type": "integer" - } - } - }, - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "uuid" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Read permission for test library is required", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/projects/{projectId}/workItems/tags": { - "get": { - "tags": [ - "Project work items" - ], - "summary": "Get WorkItems Tags", - "description": "\nUse case\n\nUser sets project internal identifier\n\nUser runs method execution\n\nSystem returns work items tags", - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Project internal (UUID) identifier", - "required": true, - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "isDeleted", - "in": "query", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagShortApiResult" - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/projects/{projectId}/work-items/previews": { - "post": { - "tags": [ - "Project work items" - ], - "parameters": [ - { - "name": "projectId", - "in": "path", - "description": "Internal (UUID) or global (integer) identifier", - "required": true, - "schema": { - "type": "string", - "description": "Internal (UUID) or global (integer) identifier" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/GenerateWorkItemPreviewsApiModel" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GenerateWorkItemPreviewsApiResult" - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - }, - "deprecated": true + } } }, - "/api/v2/projects/{projectId}/work-items/previews/bulk": { + "/api/v2/projects/{projectId}/workItems/search/id": { "post": { "tags": [ "Project work items" ], + "summary": "Search for work items and extract IDs only", "parameters": [ { "name": "projectId", "in": "path", - "description": "Internal (UUID) or global (integer) identifier", + "description": "Unique or global ID of the project", "required": true, "schema": { "type": "string", "description": "Internal (UUID) or global (integer) identifier" } + }, + { + "name": "Skip", + "in": "query", + "description": "Amount of items to be skipped (offset)", + "schema": { + "type": "integer" + } + }, + { + "name": "Take", + "in": "query", + "description": "Amount of items to be taken (limit)", + "schema": { + "type": "integer" + } + }, + { + "name": "OrderBy", + "in": "query", + "description": "SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)", + "schema": { + "type": "string" + } + }, + { + "name": "SearchField", + "in": "query", + "description": "Property name for searching", + "schema": { + "type": "string" + } + }, + { + "name": "SearchValue", + "in": "query", + "description": "Value for searching", + "schema": { + "type": "string" + } } ], "requestBody": { @@ -15768,16 +12834,157 @@ "schema": { "allOf": [ { - "$ref": "#/components/schemas/CreateWorkItemPreviewsApiModel" + "$ref": "#/components/schemas/WorkItemSelectModel" } - ] + ], + "description": "Model containing options to filter work items" } } } }, "responses": { "200": { - "description": "OK" + "description": "OK", + "headers": { + "Pagination-Skip": { + "description": "Skipped amount of items", + "schema": { + "type": "integer" + } + }, + "Pagination-Take": { + "description": "Taken items", + "schema": { + "type": "integer" + } + }, + "Pagination-Pages": { + "description": "Expected number of pages", + "schema": { + "type": "integer" + } + }, + "Pagination-Total-Items": { + "description": "Total count of items", + "schema": { + "type": "integer" + } + } + }, + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ValidationProblemDetails" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "403": { + "description": "Read permission for test library is required", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProblemDetails" + } + } + } + } + } + } + }, + "/api/v2/projects/{projectId}/workItems/tags": { + "get": { + "tags": [ + "Project work items" + ], + "summary": "Get WorkItems Tags", + "description": "\nUse case\n\nUser sets project internal identifier\n\nUser runs method execution\n\nSystem returns work items tags", + "parameters": [ + { + "name": "projectId", + "in": "path", + "description": "Project internal (UUID) identifier", + "required": true, + "schema": { + "type": "string", + "format": "uuid" + } + }, + { + "name": "isDeleted", + "in": "query", + "schema": { + "type": "boolean" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TagShortApiResult" + } + } + } + } }, "400": { "description": "Bad Request", @@ -15839,8 +13046,7 @@ } } } - }, - "deprecated": true + } } }, "/api/v2/projects/{projectId}/workItems/search/{workItemId}/index": { @@ -26376,102 +23582,7 @@ } }, "404": { - "description": "Some test points, work items or configurations do not exist", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, - "/api/v2/testRuns/byConfigurations": { - "post": { - "tags": [ - "TestRuns" - ], - "summary": "Create test runs picking the needed test points", - "description": "This method creates a test run based on a combination of a configuration and a work item(test case or checklist).\nBefore you create a test run using this method, make sure to create a test plan. Work items must be automated.\nThis method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a\njagged array within the \"testPointSelectors\" parameter.", - "operationId": "CreateAndFillByConfigurations", - "requestBody": { - "content": { - "application/json": { - "schema": { - "allOf": [ - { - "$ref": "#/components/schemas/CreateTestRunAndFillByConfigurationsApiModel" - } - ] - } - } - } - }, - "responses": { - "201": { - "description": "Created", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TestRunV2ApiResult" - } - } - } - }, - "400": { - "description": "\n- Field is required\n\n- Test run cannot be created with deleted test points\n\n- Test suites with IDs [ids] is archived\n\n- Configurations with IDs [ids] is archived\n\n- Test run cannot be created with non-automated test point\n\n- Test run must be automated\n\n- Some work items do not exist\n\n- Project ID is invalid\n\n- Test point selectors are required\n\n- Some work item IDs are invalid\n\n- Some configuration IDs are invalid", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Update permission for test results is required", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Some test points do not exists", + "description": "Some test points, work items or configurations do not exist", "content": { "application/json": { "schema": { @@ -26503,21 +23614,21 @@ } } }, - "/api/v2/testRuns/byAutoTests": { + "/api/v2/testRuns/byConfigurations": { "post": { "tags": [ "TestRuns" ], - "summary": "Create test runs based on autotests and configurations", - "description": "This method creates a test run based on an autotest and a configuration.\nThe difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is\nthat in this method there is no need to create a test plan and work items (test cases and checklists).", - "operationId": "CreateAndFillByAutoTests", + "summary": "Create test runs picking the needed test points", + "description": "This method creates a test run based on a combination of a configuration and a work item(test case or checklist).\nBefore you create a test run using this method, make sure to create a test plan. Work items must be automated.\nThis method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a\njagged array within the \"testPointSelectors\" parameter.", + "operationId": "CreateAndFillByConfigurations", "requestBody": { "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/CreateTestRunAndFillByAutoTestsApiModel" + "$ref": "#/components/schemas/CreateTestRunAndFillByConfigurationsApiModel" } ] } @@ -26536,7 +23647,7 @@ } }, "400": { - "description": "\n- Field is required\n\n- Configuration does not exist in the project\n\n- Autotest does not exist in the project\n\n- Test run must be automated\n\n- Project ID is invalid\n\n- Autotest external IDs are required\n\n- Configuration IDs are required", + "description": "\n- Field is required\n\n- Test run cannot be created with deleted test points\n\n- Test suites with IDs [ids] is archived\n\n- Configurations with IDs [ids] is archived\n\n- Test run cannot be created with non-automated test point\n\n- Test run must be automated\n\n- Some work items do not exist\n\n- Project ID is invalid\n\n- Test point selectors are required\n\n- Some work item IDs are invalid\n\n- Some configuration IDs are invalid", "content": { "application/json": { "schema": { @@ -26566,7 +23677,7 @@ } }, "404": { - "description": "Some autotests do not exist", + "description": "Some test points do not exists", "content": { "application/json": { "schema": { @@ -26598,20 +23709,21 @@ } } }, - "/api/v2/testRuns/byAutoTestCases": { + "/api/v2/testRuns/byAutoTests": { "post": { "tags": [ "TestRuns" ], - "summary": "Create TestRun filled with autotests linked to work items of type \"AutoTestCases\" selected by the filter", + "summary": "Create test runs based on autotests and configurations", + "description": "This method creates a test run based on an autotest and a configuration.\nThe difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is\nthat in this method there is no need to create a test plan and work items (test cases and checklists).", + "operationId": "CreateAndFillByAutoTests", "requestBody": { - "description": "Test run model with a filter for work items of type \"AutoTestCases\" and configuration IDs", "content": { "application/json": { "schema": { "allOf": [ { - "$ref": "#/components/schemas/CreateTestRunAndFillByAutoTestCasesApiModel" + "$ref": "#/components/schemas/CreateTestRunAndFillByAutoTestsApiModel" } ] } @@ -26630,7 +23742,7 @@ } }, "400": { - "description": "Bad Request", + "description": "\n- Field is required\n\n- Configuration does not exist in the project\n\n- Autotest does not exist in the project\n\n- Test run must be automated\n\n- Project ID is invalid\n\n- Autotest external IDs are required\n\n- Configuration IDs are required", "content": { "application/json": { "schema": { @@ -26650,7 +23762,7 @@ } }, "403": { - "description": "Forbidden", + "description": "Update permission for test results is required", "content": { "application/json": { "schema": { @@ -26660,7 +23772,7 @@ } }, "404": { - "description": "Not Found", + "description": "Some autotests do not exist", "content": { "application/json": { "schema": { @@ -30538,170 +27650,6 @@ } } }, - "/api/v2/user-storages/{resource}": { - "get": { - "tags": [ - "UserStorages" - ], - "parameters": [ - { - "name": "resource", - "in": "path", - "required": true, - "schema": { - "maxLength": 128, - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - }, - "post": { - "tags": [ - "UserStorages" - ], - "parameters": [ - { - "name": "resource", - "in": "path", - "required": true, - "schema": { - "maxLength": 128, - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ValidationProblemDetails" - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "404": { - "description": "Not Found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - }, - "422": { - "description": "Unprocessable Entity", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProblemDetails" - } - } - } - } - } - } - }, "/api/v2/webhooks/search": { "post": { "tags": [ @@ -39159,8 +36107,7 @@ "required": [ "externalId", "name", - "projectId", - "resetLayer" + "projectId" ], "type": "object", "properties": { @@ -39217,7 +36164,8 @@ }, "resetLayer": { "type": "boolean", - "description": "Indicates if the autotest layer should be reset." + "description": "Indicates if the autotest layer should be reset.", + "nullable": true }, "steps": { "type": "array", @@ -41007,6 +37955,15 @@ }, "description": "Collection of tags to assign to the test run", "nullable": true + }, + "option": { + "allOf": [ + { + "$ref": "#/components/schemas/TestRunLaunchOptionApiModel" + } + ], + "description": "Test run launching options.", + "nullable": true } }, "additionalProperties": false @@ -41074,6 +38031,15 @@ "$ref": "#/components/schemas/TestPointSelector" }, "description": "Specifies an array of work items and configuration to create a test run for." + }, + "option": { + "allOf": [ + { + "$ref": "#/components/schemas/TestRunLaunchOptionApiModel" + } + ], + "description": "Test run launching options.", + "nullable": true } }, "additionalProperties": false @@ -41153,6 +38119,15 @@ "format": "uuid" }, "description": "Specifies the work item GUIDs, from which test points are created. You can specify several GUIDs." + }, + "option": { + "allOf": [ + { + "$ref": "#/components/schemas/TestRunLaunchOptionApiModel" + } + ], + "description": "Test run launching options.", + "nullable": true } }, "additionalProperties": false @@ -41436,6 +38411,7 @@ "isDeleted", "isEnabled", "isGlobal", + "isReadOnly", "isRequired", "isSystem", "name", @@ -41481,6 +38457,10 @@ "type": "boolean", "description": "Indicates if the attribute value is mandatory to specify" }, + "isReadOnly": { + "type": "boolean", + "description": "Indicates if the attribute value is read-only" + }, "isGlobal": { "type": "boolean", "description": "Indicates if the attribute is available across all projects" @@ -43753,8 +40733,11 @@ "type": "object", "properties": { "value": { - "type": "string", - "nullable": true + "allOf": [ + { + "$ref": "#/components/schemas/JsonElement" + } + ] }, "displayValue": { "type": "string", @@ -57209,6 +54192,15 @@ ], "description": "Specifies work item filter by its external metadata", "nullable": true + }, + "layers": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies auto test case layers to search for", + "nullable": true } }, "additionalProperties": false @@ -57561,6 +54553,29 @@ }, "additionalProperties": false }, + "WorkItemLayerApiResult": { + "required": [ + "name", + "source" + ], + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the test pyramid layer." + }, + "source": { + "allOf": [ + { + "$ref": "#/components/schemas/LayerSource" + } + ], + "description": "Source of the test pyramid layer." + } + }, + "additionalProperties": false, + "description": "Model of auto test layer for use in responses." + }, "WorkItemLikeModel": { "required": [ "createdById", @@ -58881,6 +55896,15 @@ "$ref": "#/components/schemas/LinkShortApiResult" }, "description": "Set of links related to Work Item" + }, + "layer": { + "allOf": [ + { + "$ref": "#/components/schemas/WorkItemLayerApiResult" + } + ], + "description": "Test pyramid layer of Work Item", + "nullable": true } }, "additionalProperties": false diff --git a/README.md b/README.md index 02ccf1fb..faa171ac 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,6 @@ All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AIServicesAPIApi* | [**api_v2_external_services_id_ai_models_post**](docs/AIServicesAPIApi.md#api_v2_external_services_id_ai_models_post) | **POST** /api/v2/external-services/{id}/ai/models | Ask for models with inquiry filter, cached *AttachmentsApi* | [**api_v2_attachments_id_delete**](docs/AttachmentsApi.md#api_v2_attachments_id_delete) | **DELETE** /api/v2/attachments/{id} | Delete attachment file *AttachmentsApi* | [**api_v2_attachments_id_get**](docs/AttachmentsApi.md#api_v2_attachments_id_get) | **GET** /api/v2/attachments/{id} | Download attachment file *AttachmentsApi* | [**api_v2_attachments_id_metadata_get**](docs/AttachmentsApi.md#api_v2_attachments_id_metadata_get) | **GET** /api/v2/attachments/{id}/metadata | Get attachment metadata @@ -116,6 +115,11 @@ Class | Method | HTTP request | Description *BackgroundJobsApi* | [**api_v2_background_jobs_id_get**](docs/BackgroundJobsApi.md#api_v2_background_jobs_id_get) | **GET** /api/v2/backgroundJobs/{id} | Get background job by ID *BackgroundJobsApi* | [**api_v2_background_jobs_id_status_get**](docs/BackgroundJobsApi.md#api_v2_background_jobs_id_status_get) | **GET** /api/v2/backgroundJobs/{id}/status | Get background job status by job ID *BackgroundJobsApi* | [**api_v2_background_jobs_search_post**](docs/BackgroundJobsApi.md#api_v2_background_jobs_search_post) | **POST** /api/v2/backgroundJobs/search | Search for user background jobs +*ConfigurationParametersApi* | [**api_v2_configuration_parameters_configuration_parameter_id_delete**](docs/ConfigurationParametersApi.md#api_v2_configuration_parameters_configuration_parameter_id_delete) | **DELETE** /api/v2/configuration-parameters/{configurationParameterId} | Deletes configuration parameter +*ConfigurationParametersApi* | [**api_v2_configuration_parameters_configuration_parameter_id_get**](docs/ConfigurationParametersApi.md#api_v2_configuration_parameters_configuration_parameter_id_get) | **GET** /api/v2/configuration-parameters/{configurationParameterId} | Gets configuration parameter by its identifier +*ConfigurationParametersApi* | [**api_v2_configuration_parameters_configuration_parameter_id_put**](docs/ConfigurationParametersApi.md#api_v2_configuration_parameters_configuration_parameter_id_put) | **PUT** /api/v2/configuration-parameters/{configurationParameterId} | Updates configuration parameter +*ConfigurationParametersApi* | [**api_v2_configuration_parameters_post**](docs/ConfigurationParametersApi.md#api_v2_configuration_parameters_post) | **POST** /api/v2/configuration-parameters | Creates new configuration parameter +*ConfigurationParametersApi* | [**api_v2_configuration_parameters_search_post**](docs/ConfigurationParametersApi.md#api_v2_configuration_parameters_search_post) | **POST** /api/v2/configuration-parameters/search | Searches for configuration parameters *ConfigurationsApi* | [**api_v2_configurations_create_by_parameters_post**](docs/ConfigurationsApi.md#api_v2_configurations_create_by_parameters_post) | **POST** /api/v2/configurations/createByParameters | Create configurations by parameters *ConfigurationsApi* | [**api_v2_configurations_delete_bulk_post**](docs/ConfigurationsApi.md#api_v2_configurations_delete_bulk_post) | **POST** /api/v2/configurations/delete/bulk | Delete multiple configurations *ConfigurationsApi* | [**api_v2_configurations_id_delete**](docs/ConfigurationsApi.md#api_v2_configurations_id_delete) | **DELETE** /api/v2/configurations/{id} | Delete configuration @@ -144,21 +148,6 @@ Class | Method | HTTP request | Description *CustomAttributesApi* | [**api_v2_custom_attributes_id_get**](docs/CustomAttributesApi.md#api_v2_custom_attributes_id_get) | **GET** /api/v2/customAttributes/{id} | Get attribute *CustomAttributesApi* | [**api_v2_custom_attributes_search_post**](docs/CustomAttributesApi.md#api_v2_custom_attributes_search_post) | **POST** /api/v2/customAttributes/search | Search for attributes *ExternalIssuesApi* | [**api_v2_external_issues_suggestions_post**](docs/ExternalIssuesApi.md#api_v2_external_issues_suggestions_post) | **POST** /api/v2/external-issues/suggestions | Returns list of suggestions from available external issues -*ExternalServicesApi* | [**api_v2_external_services_metadata_get**](docs/ExternalServicesApi.md#api_v2_external_services_metadata_get) | **GET** /api/v2/external-services/metadata | Retrieves the metadata for all available external services -*FailureCategoriesApi* | [**api_v2_autotests_failure_categories_grouping_search_post**](docs/FailureCategoriesApi.md#api_v2_autotests_failure_categories_grouping_search_post) | **POST** /api/v2/autotests/failure-categories/grouping-search | Get failure categories with support for filtering, sorting and grouping -*FailureCategoriesApi* | [**api_v2_autotests_failure_categories_id_delete**](docs/FailureCategoriesApi.md#api_v2_autotests_failure_categories_id_delete) | **DELETE** /api/v2/autotests/failure-categories/{id} | Delete failure category -*FailureCategoriesApi* | [**api_v2_autotests_failure_categories_id_get**](docs/FailureCategoriesApi.md#api_v2_autotests_failure_categories_id_get) | **GET** /api/v2/autotests/failure-categories/{id} | Get failure category by ID -*FailureCategoriesApi* | [**api_v2_autotests_failure_categories_name_name_exists_get**](docs/FailureCategoriesApi.md#api_v2_autotests_failure_categories_name_name_exists_get) | **GET** /api/v2/autotests/failure-categories/name/{name}/exists | Check failure category with the specified name already exists -*FailureCategoriesApi* | [**api_v2_autotests_failure_categories_post**](docs/FailureCategoriesApi.md#api_v2_autotests_failure_categories_post) | **POST** /api/v2/autotests/failure-categories | Create failure category -*FailureCategoriesApi* | [**api_v2_autotests_failure_categories_put**](docs/FailureCategoriesApi.md#api_v2_autotests_failure_categories_put) | **PUT** /api/v2/autotests/failure-categories | Update failure category -*FailureCategoriesApi* | [**api_v2_autotests_failure_categories_search_post**](docs/FailureCategoriesApi.md#api_v2_autotests_failure_categories_search_post) | **POST** /api/v2/autotests/failure-categories/search | -*FailureCategoriesApi* | [**api_v2_autotests_result_reasons_grouping_search_post**](docs/FailureCategoriesApi.md#api_v2_autotests_result_reasons_grouping_search_post) | **POST** /api/v2/autotests/resultReasons/grouping-search | Get failure categories with support for filtering, sorting and grouping -*FailureCategoriesApi* | [**api_v2_autotests_result_reasons_id_delete**](docs/FailureCategoriesApi.md#api_v2_autotests_result_reasons_id_delete) | **DELETE** /api/v2/autotests/resultReasons/{id} | Delete failure category -*FailureCategoriesApi* | [**api_v2_autotests_result_reasons_id_get**](docs/FailureCategoriesApi.md#api_v2_autotests_result_reasons_id_get) | **GET** /api/v2/autotests/resultReasons/{id} | Get failure category by ID -*FailureCategoriesApi* | [**api_v2_autotests_result_reasons_name_name_exists_get**](docs/FailureCategoriesApi.md#api_v2_autotests_result_reasons_name_name_exists_get) | **GET** /api/v2/autotests/resultReasons/name/{name}/exists | Check failure category with the specified name already exists -*FailureCategoriesApi* | [**api_v2_autotests_result_reasons_post**](docs/FailureCategoriesApi.md#api_v2_autotests_result_reasons_post) | **POST** /api/v2/autotests/resultReasons | Create failure category -*FailureCategoriesApi* | [**api_v2_autotests_result_reasons_put**](docs/FailureCategoriesApi.md#api_v2_autotests_result_reasons_put) | **PUT** /api/v2/autotests/resultReasons | Update failure category -*FailureCategoriesApi* | [**api_v2_autotests_result_reasons_search_post**](docs/FailureCategoriesApi.md#api_v2_autotests_result_reasons_search_post) | **POST** /api/v2/autotests/resultReasons/search | *NotificationsApi* | [**api_v2_notifications_count_get**](docs/NotificationsApi.md#api_v2_notifications_count_get) | **GET** /api/v2/notifications/count | Get unread Notifications total in last 7 days *NotificationsApi* | [**api_v2_notifications_get**](docs/NotificationsApi.md#api_v2_notifications_get) | **GET** /api/v2/notifications | Get all Notifications for current User *NotificationsApi* | [**api_v2_notifications_id_read_post**](docs/NotificationsApi.md#api_v2_notifications_id_read_post) | **POST** /api/v2/notifications/{id}/read | Set Notification as read @@ -190,17 +179,6 @@ Class | Method | HTTP request | Description *ProjectAttributesApi* | [**search_attributes_in_project**](docs/ProjectAttributesApi.md#search_attributes_in_project) | **POST** /api/v2/projects/{projectId}/attributes/search | Search for attributes used in the project *ProjectAttributesApi* | [**update_projects_attribute**](docs/ProjectAttributesApi.md#update_projects_attribute) | **PUT** /api/v2/projects/{projectId}/attributes | Edit attribute of the project *ProjectConfigurationsApi* | [**get_configurations_by_project_id**](docs/ProjectConfigurationsApi.md#get_configurations_by_project_id) | **GET** /api/v2/projects/{projectId}/configurations | Get project configurations -*ProjectExternalServicesApi* | [**api_v2_projects_id_external_services_external_service_id_delete**](docs/ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_delete) | **DELETE** /api/v2/projects/{id}/external-services/{externalServiceId} | Disable an external service -*ProjectExternalServicesApi* | [**api_v2_projects_id_external_services_external_service_id_get**](docs/ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_get) | **GET** /api/v2/projects/{id}/external-services/{externalServiceId} | Retrieves settings of an external service -*ProjectExternalServicesApi* | [**api_v2_projects_id_external_services_external_service_id_patch**](docs/ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_patch) | **PATCH** /api/v2/projects/{id}/external-services/{externalServiceId} | Replaces one active external service with another -*ProjectExternalServicesApi* | [**api_v2_projects_id_external_services_external_service_id_put**](docs/ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_put) | **PUT** /api/v2/projects/{id}/external-services/{externalServiceId} | Enable an external service -*ProjectExternalServicesApi* | [**api_v2_projects_id_external_services_get**](docs/ProjectExternalServicesApi.md#api_v2_projects_id_external_services_get) | **GET** /api/v2/projects/{id}/external-services | Retrieves information about external services, including their integration status (enabled or not) -*ProjectExternalServicesApi* | [**api_v2_projects_id_external_services_issues_search_post**](docs/ProjectExternalServicesApi.md#api_v2_projects_id_external_services_issues_search_post) | **POST** /api/v2/projects/{id}/external-services/issues/search | Searches for external issues using enabled external services in project -*ProjectFailureCategoriesApi* | [**api_v2_projects_project_id_autotests_failure_categories_grouping_search_post**](docs/ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_grouping_search_post) | **POST** /api/v2/projects/{projectId}/autotests/failure-categories/grouping-search | Get failure categories with support for filtering, sorting and grouping -*ProjectFailureCategoriesApi* | [**api_v2_projects_project_id_autotests_failure_categories_id_delete**](docs/ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_id_delete) | **DELETE** /api/v2/projects/{projectId}/autotests/failure-categories/{id} | Delete failure category -*ProjectFailureCategoriesApi* | [**api_v2_projects_project_id_autotests_failure_categories_id_get**](docs/ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_id_get) | **GET** /api/v2/projects/{projectId}/autotests/failure-categories/{id} | Get failure category by ID -*ProjectFailureCategoriesApi* | [**api_v2_projects_project_id_autotests_failure_categories_post**](docs/ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_post) | **POST** /api/v2/projects/{projectId}/autotests/failure-categories | Create failure category -*ProjectFailureCategoriesApi* | [**api_v2_projects_project_id_autotests_failure_categories_put**](docs/ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_put) | **PUT** /api/v2/projects/{projectId}/autotests/failure-categories | Update failure category *ProjectSectionsApi* | [**get_sections_by_project_id**](docs/ProjectSectionsApi.md#get_sections_by_project_id) | **GET** /api/v2/projects/{projectId}/sections | Get project sections *ProjectSettingsApi* | [**api_v2_projects_project_id_settings_autotests_post**](docs/ProjectSettingsApi.md#api_v2_projects_project_id_settings_autotests_post) | **POST** /api/v2/projects/{projectId}/settings/autotests | Set autotest project settings. *ProjectSettingsApi* | [**get_autotest_project_settings**](docs/ProjectSettingsApi.md#get_autotest_project_settings) | **GET** /api/v2/projects/{projectId}/settings/autotests | Get autotest project settings. @@ -209,19 +187,14 @@ Class | Method | HTTP request | Description *ProjectTestPlanAttributesApi* | [**get_custom_attribute_test_plan_project_relations**](docs/ProjectTestPlanAttributesApi.md#get_custom_attribute_test_plan_project_relations) | **GET** /api/v2/projects/{projectId}/testPlans/attributes | Get project's test plan attributes *ProjectTestPlanAttributesApi* | [**search_test_plan_attributes_in_project**](docs/ProjectTestPlanAttributesApi.md#search_test_plan_attributes_in_project) | **POST** /api/v2/projects/{projectId}/testPlans/attributes/search | Search for attributes used in the project test plans *ProjectTestPlanAttributesApi* | [**update_custom_attribute_test_plan_project_relations**](docs/ProjectTestPlanAttributesApi.md#update_custom_attribute_test_plan_project_relations) | **PUT** /api/v2/projects/{projectId}/testPlans/attributes | Update attribute of project's test plans -*ProjectTestPlanTestPointsApi* | [**api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post**](docs/ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/analytics | Get test points analytics. *ProjectTestPlanTestPointsApi* | [**api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post**](docs/ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/rerun | Rerun autotests. *ProjectTestPlanTestPointsApi* | [**api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run_post**](docs/ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/run | Run autotests. -*ProjectTestPlanTestPointsApi* | [**api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post**](docs/ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/grouping-search | Search test points in test plan. -*ProjectTestPlanTestPointsApi* | [**api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post**](docs/ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/testers | Distribute test points between the users. *ProjectTestPlansApi* | [**api_v2_projects_project_id_test_plans_analytics_get**](docs/ProjectTestPlansApi.md#api_v2_projects_project_id_test_plans_analytics_get) | **GET** /api/v2/projects/{projectId}/testPlans/analytics | Get TestPlans analytics *ProjectTestPlansApi* | [**api_v2_projects_project_id_test_plans_delete_bulk_post**](docs/ProjectTestPlansApi.md#api_v2_projects_project_id_test_plans_delete_bulk_post) | **POST** /api/v2/projects/{projectId}/testPlans/delete/bulk | Delete multiple test plans *ProjectTestPlansApi* | [**api_v2_projects_project_id_test_plans_name_exists_get**](docs/ProjectTestPlansApi.md#api_v2_projects_project_id_test_plans_name_exists_get) | **GET** /api/v2/projects/{projectId}/testPlans/{name}/exists | Checks if TestPlan exists with the specified name exists for the project *ProjectTestPlansApi* | [**api_v2_projects_project_id_test_plans_purge_bulk_post**](docs/ProjectTestPlansApi.md#api_v2_projects_project_id_test_plans_purge_bulk_post) | **POST** /api/v2/projects/{projectId}/testPlans/purge/bulk | Permanently delete multiple archived test plans *ProjectTestPlansApi* | [**api_v2_projects_project_id_test_plans_restore_bulk_post**](docs/ProjectTestPlansApi.md#api_v2_projects_project_id_test_plans_restore_bulk_post) | **POST** /api/v2/projects/{projectId}/testPlans/restore/bulk | Restore multiple test plans *ProjectTestPlansApi* | [**api_v2_projects_project_id_test_plans_search_post**](docs/ProjectTestPlansApi.md#api_v2_projects_project_id_test_plans_search_post) | **POST** /api/v2/projects/{projectId}/testPlans/search | Get Project TestPlans with analytics -*ProjectWorkItemsApi* | [**api_v2_projects_project_id_work_items_previews_bulk_post**](docs/ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_previews_bulk_post) | **POST** /api/v2/projects/{projectId}/work-items/previews/bulk | -*ProjectWorkItemsApi* | [**api_v2_projects_project_id_work_items_previews_post**](docs/ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_previews_post) | **POST** /api/v2/projects/{projectId}/work-items/previews | *ProjectWorkItemsApi* | [**api_v2_projects_project_id_work_items_search_grouped_post**](docs/ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_search_grouped_post) | **POST** /api/v2/projects/{projectId}/workItems/search/grouped | Search for work items and group results by attribute *ProjectWorkItemsApi* | [**api_v2_projects_project_id_work_items_search_id_post**](docs/ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_search_id_post) | **POST** /api/v2/projects/{projectId}/workItems/search/id | Search for work items and extract IDs only *ProjectWorkItemsApi* | [**api_v2_projects_project_id_work_items_search_post**](docs/ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_search_post) | **POST** /api/v2/projects/{projectId}/workItems/search | Search for work items @@ -318,7 +291,6 @@ Class | Method | HTTP request | Description *TestResultsApi* | [**download_attachment**](docs/TestResultsApi.md#download_attachment) | **GET** /api/v2/testResults/{id}/attachments/{attachmentId} | Get attachment of TestResult *TestResultsApi* | [**get_attachment**](docs/TestResultsApi.md#get_attachment) | **GET** /api/v2/testResults/{id}/attachments/{attachmentId}/info | Get Metadata of TestResult's attachment *TestResultsApi* | [**get_attachments**](docs/TestResultsApi.md#get_attachments) | **GET** /api/v2/testResults/{id}/attachments | Get all attachments of TestResult -*TestRunsApi* | [**api_v2_test_runs_by_auto_test_cases_post**](docs/TestRunsApi.md#api_v2_test_runs_by_auto_test_cases_post) | **POST** /api/v2/testRuns/byAutoTestCases | Create TestRun filled with autotests linked to work items of type \"AutoTestCases\" selected by the filter *TestRunsApi* | [**api_v2_test_runs_delete**](docs/TestRunsApi.md#api_v2_test_runs_delete) | **DELETE** /api/v2/testRuns | Delete multiple test runs *TestRunsApi* | [**api_v2_test_runs_id_auto_tests_namespaces_get**](docs/TestRunsApi.md#api_v2_test_runs_id_auto_tests_namespaces_get) | **GET** /api/v2/testRuns/{id}/autoTestsNamespaces | Get autotest classes and namespaces in test run *TestRunsApi* | [**api_v2_test_runs_id_delete**](docs/TestRunsApi.md#api_v2_test_runs_id_delete) | **DELETE** /api/v2/testRuns/{id} | Delete test run @@ -364,8 +336,6 @@ Class | Method | HTTP request | Description *TestSuitesApi* | [**get_test_suite_by_id**](docs/TestSuitesApi.md#get_test_suite_by_id) | **GET** /api/v2/testSuites/{id} | Get TestSuite by Id *TestSuitesApi* | [**search_work_items**](docs/TestSuitesApi.md#search_work_items) | **POST** /api/v2/testSuites/{id}/workItems/search | Search WorkItems *TestSuitesApi* | [**set_configurations_by_test_suite_id**](docs/TestSuitesApi.md#set_configurations_by_test_suite_id) | **POST** /api/v2/testSuites/{id}/configurations | Set Configurations By TestSuite Id -*UserStoragesApi* | [**api_v2_user_storages_resource_get**](docs/UserStoragesApi.md#api_v2_user_storages_resource_get) | **GET** /api/v2/user-storages/{resource} | -*UserStoragesApi* | [**api_v2_user_storages_resource_post**](docs/UserStoragesApi.md#api_v2_user_storages_resource_post) | **POST** /api/v2/user-storages/{resource} | *UsersApi* | [**api_v2_users_exists_get**](docs/UsersApi.md#api_v2_users_exists_get) | **GET** /api/v2/users/exists | *WebhooksApi* | [**api_v2_webhooks_delete**](docs/WebhooksApi.md#api_v2_webhooks_delete) | **DELETE** /api/v2/webhooks | *WebhooksApi* | [**api_v2_webhooks_get**](docs/WebhooksApi.md#api_v2_webhooks_get) | **GET** /api/v2/webhooks | Get all webhooks @@ -437,11 +407,9 @@ Class | Method | HTTP request | Description - [ApiV2AutoTestsFlakyBulkPostRequest](docs/ApiV2AutoTestsFlakyBulkPostRequest.md) - [ApiV2AutoTestsIdTestResultsSearchPostRequest](docs/ApiV2AutoTestsIdTestResultsSearchPostRequest.md) - [ApiV2AutoTestsSearchPostRequest](docs/ApiV2AutoTestsSearchPostRequest.md) - - [ApiV2AutotestsResultReasonsGroupingSearchPostRequest](docs/ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md) - - [ApiV2AutotestsResultReasonsPostRequest](docs/ApiV2AutotestsResultReasonsPostRequest.md) - - [ApiV2AutotestsResultReasonsPutRequest](docs/ApiV2AutotestsResultReasonsPutRequest.md) - - [ApiV2AutotestsResultReasonsSearchPostRequest](docs/ApiV2AutotestsResultReasonsSearchPostRequest.md) - [ApiV2BackgroundJobsSearchPostRequest](docs/ApiV2BackgroundJobsSearchPostRequest.md) + - [ApiV2ConfigurationParametersPostRequest](docs/ApiV2ConfigurationParametersPostRequest.md) + - [ApiV2ConfigurationParametersSearchPostRequest](docs/ApiV2ConfigurationParametersSearchPostRequest.md) - [ApiV2ConfigurationsCreateByParametersPostRequest](docs/ApiV2ConfigurationsCreateByParametersPostRequest.md) - [ApiV2ConfigurationsDeleteBulkPostRequest](docs/ApiV2ConfigurationsDeleteBulkPostRequest.md) - [ApiV2ConfigurationsPurgeBulkPostRequest](docs/ApiV2ConfigurationsPurgeBulkPostRequest.md) @@ -454,26 +422,15 @@ Class | Method | HTTP request | Description - [ApiV2CustomAttributesTemplatesPutRequest](docs/ApiV2CustomAttributesTemplatesPutRequest.md) - [ApiV2CustomAttributesTemplatesSearchPostRequest](docs/ApiV2CustomAttributesTemplatesSearchPostRequest.md) - [ApiV2ExternalIssuesSuggestionsPostRequest](docs/ApiV2ExternalIssuesSuggestionsPostRequest.md) - - [ApiV2ExternalServicesIdAiModelsPostRequest](docs/ApiV2ExternalServicesIdAiModelsPostRequest.md) - [ApiV2NotificationsSearchPostRequest](docs/ApiV2NotificationsSearchPostRequest.md) - [ApiV2ParametersSearchGroupsPostRequest](docs/ApiV2ParametersSearchGroupsPostRequest.md) - [ApiV2ParametersSearchPostRequest](docs/ApiV2ParametersSearchPostRequest.md) - - [ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest](docs/ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest.md) - - [ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest](docs/ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest.md) - - [ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest](docs/ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest.md) - [ApiV2ProjectsProjectIdAttributesTemplatesSearchPostRequest](docs/ApiV2ProjectsProjectIdAttributesTemplatesSearchPostRequest.md) - - [ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest](docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest.md) - - [ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest](docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest.md) - [ApiV2ProjectsProjectIdSettingsAutotestsPostRequest](docs/ApiV2ProjectsProjectIdSettingsAutotestsPostRequest.md) - [ApiV2ProjectsProjectIdTestPlansDeleteBulkPostRequest](docs/ApiV2ProjectsProjectIdTestPlansDeleteBulkPostRequest.md) - [ApiV2ProjectsProjectIdTestPlansSearchPostRequest](docs/ApiV2ProjectsProjectIdTestPlansSearchPostRequest.md) - - [ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest](docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest.md) - [ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRerunPostRequest](docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRerunPostRequest.md) - [ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRunPostRequest](docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRunPostRequest.md) - - [ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest](docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest.md) - - [ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest](docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest.md) - - [ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest](docs/ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest.md) - - [ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest](docs/ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest.md) - [ApiV2ProjectsProjectIdWorkItemsSearchGroupedPostRequest](docs/ApiV2ProjectsProjectIdWorkItemsSearchGroupedPostRequest.md) - [ApiV2ProjectsProjectIdWorkItemsSearchIdPostRequest](docs/ApiV2ProjectsProjectIdWorkItemsSearchIdPostRequest.md) - [ApiV2ProjectsProjectIdWorkItemsSearchPostRequest](docs/ApiV2ProjectsProjectIdWorkItemsSearchPostRequest.md) @@ -491,7 +448,6 @@ Class | Method | HTTP request | Description - [ApiV2TestResultsExternalProjectsExternalProjectIdDefectsPostRequest](docs/ApiV2TestResultsExternalProjectsExternalProjectIdDefectsPostRequest.md) - [ApiV2TestResultsIdPutRequest](docs/ApiV2TestResultsIdPutRequest.md) - [ApiV2TestResultsSearchPostRequest](docs/ApiV2TestResultsSearchPostRequest.md) - - [ApiV2TestRunsByAutoTestCasesPostRequest](docs/ApiV2TestRunsByAutoTestCasesPostRequest.md) - [ApiV2TestRunsDeleteRequest](docs/ApiV2TestRunsDeleteRequest.md) - [ApiV2TestRunsIdRerunsPostRequest](docs/ApiV2TestRunsIdRerunsPostRequest.md) - [ApiV2TestRunsIdStatisticsFilterPostRequest](docs/ApiV2TestRunsIdStatisticsFilterPostRequest.md) @@ -667,6 +623,7 @@ Class | Method | HTTP request | Description - [CreateTestRunAndFillByAutoTestCasesApiModelFilter](docs/CreateTestRunAndFillByAutoTestCasesApiModelFilter.md) - [CreateTestRunAndFillByAutoTestCasesApiModelOption](docs/CreateTestRunAndFillByAutoTestCasesApiModelOption.md) - [CreateTestRunAndFillByAutoTestsApiModel](docs/CreateTestRunAndFillByAutoTestsApiModel.md) + - [CreateTestRunAndFillByAutoTestsApiModelOption](docs/CreateTestRunAndFillByAutoTestsApiModelOption.md) - [CreateTestRunAndFillByConfigurationsApiModel](docs/CreateTestRunAndFillByConfigurationsApiModel.md) - [CreateTestRunAndFillByWorkItemsApiModel](docs/CreateTestRunAndFillByWorkItemsApiModel.md) - [CreateTestStatusApiModel](docs/CreateTestStatusApiModel.md) @@ -1174,6 +1131,7 @@ Class | Method | HTTP request | Description - [WorkItemGroupType](docs/WorkItemGroupType.md) - [WorkItemIdApiModel](docs/WorkItemIdApiModel.md) - [WorkItemIndexApiResult](docs/WorkItemIndexApiResult.md) + - [WorkItemLayerApiResult](docs/WorkItemLayerApiResult.md) - [WorkItemLikeModel](docs/WorkItemLikeModel.md) - [WorkItemLinkChangeViewModel](docs/WorkItemLinkChangeViewModel.md) - [WorkItemLinkChangeViewModelArrayChangedFieldViewModel](docs/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.md) @@ -1205,6 +1163,7 @@ Class | Method | HTTP request | Description - [WorkItemSelectModel](docs/WorkItemSelectModel.md) - [WorkItemSelectModelFilter](docs/WorkItemSelectModelFilter.md) - [WorkItemShortApiResult](docs/WorkItemShortApiResult.md) + - [WorkItemShortApiResultLayer](docs/WorkItemShortApiResultLayer.md) - [WorkItemShortModel](docs/WorkItemShortModel.md) - [WorkItemSourceTypeApiModel](docs/WorkItemSourceTypeApiModel.md) - [WorkItemSourceTypeModel](docs/WorkItemSourceTypeModel.md) diff --git a/docs/AIServiceModelApiResultGroupKey.md b/docs/AIServiceModelApiResultGroupKey.md index 5fa48cec..93127ecd 100644 --- a/docs/AIServiceModelApiResultGroupKey.md +++ b/docs/AIServiceModelApiResultGroupKey.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str, none_type** | | +**value** | [**FilterValue**](FilterValue.md) | | **display_value** | **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] diff --git a/docs/AIServicesAPIApi.md b/docs/AIServicesAPIApi.md deleted file mode 100644 index 10dc946d..00000000 --- a/docs/AIServicesAPIApi.md +++ /dev/null @@ -1,112 +0,0 @@ -# testit_api_client.AIServicesAPIApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v2_external_services_id_ai_models_post**](AIServicesAPIApi.md#api_v2_external_services_id_ai_models_post) | **POST** /api/v2/external-services/{id}/ai/models | Ask for models with inquiry filter, cached - - -# **api_v2_external_services_id_ai_models_post** -> AIServiceModelApiResultIReply api_v2_external_services_id_ai_models_post(id) - -Ask for models with inquiry filter, cached - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import ai_services_api_api -from testit_api_client.model.ai_service_model_api_result_i_reply import AIServiceModelApiResultIReply -from testit_api_client.model.api_v2_external_services_id_ai_models_post_request import ApiV2ExternalServicesIdAiModelsPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = ai_services_api_api.AIServicesAPIApi(api_client) - id = "id_example" # str | - api_v2_external_services_id_ai_models_post_request = ApiV2ExternalServicesIdAiModelsPostRequest(None) # ApiV2ExternalServicesIdAiModelsPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Ask for models with inquiry filter, cached - api_response = api_instance.api_v2_external_services_id_ai_models_post(id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling AIServicesAPIApi->api_v2_external_services_id_ai_models_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Ask for models with inquiry filter, cached - api_response = api_instance.api_v2_external_services_id_ai_models_post(id, api_v2_external_services_id_ai_models_post_request=api_v2_external_services_id_ai_models_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling AIServicesAPIApi->api_v2_external_services_id_ai_models_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **api_v2_external_services_id_ai_models_post_request** | [**ApiV2ExternalServicesIdAiModelsPostRequest**](ApiV2ExternalServicesIdAiModelsPostRequest.md)| | [optional] - -### Return type - -[**AIServiceModelApiResultIReply**](AIServiceModelApiResultIReply.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Successful operation | - | -**400** | Not valid data or models request errors | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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) - diff --git a/docs/ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md b/docs/ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md deleted file mode 100644 index 4f0141c4..00000000 --- a/docs/ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# ApiV2AutotestsResultReasonsGroupingSearchPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**inquiry** | [**FailureCategoryGroupSearchApiModelInquiry**](FailureCategoryGroupSearchApiModelInquiry.md) | | -**group** | [**FailureCategoryGroupSearchApiModelGroup**](FailureCategoryGroupSearchApiModelGroup.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/ApiV2AutotestsResultReasonsPostRequest.md b/docs/ApiV2AutotestsResultReasonsPostRequest.md deleted file mode 100644 index 50454543..00000000 --- a/docs/ApiV2AutotestsResultReasonsPostRequest.md +++ /dev/null @@ -1,15 +0,0 @@ -# ApiV2AutotestsResultReasonsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Failure category name | -**failure_category** | [**FailureCategory**](FailureCategory.md) | | -**failure_class_regexes** | [**[CreateFailureClassRegexApiModel], none_type**](CreateFailureClassRegexApiModel.md) | Failure category regexes | [optional] -**project_ids** | **[str], none_type** | Projects identifiers | [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/ApiV2AutotestsResultReasonsPutRequest.md b/docs/ApiV2AutotestsResultReasonsPutRequest.md deleted file mode 100644 index fd720135..00000000 --- a/docs/ApiV2AutotestsResultReasonsPutRequest.md +++ /dev/null @@ -1,16 +0,0 @@ -# ApiV2AutotestsResultReasonsPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Failure category identifier | -**name** | **str** | Failure category name | -**failure_category** | [**FailureCategory**](FailureCategory.md) | | -**failure_class_regexes** | [**[UpdateFailureClassRegexApiModel], none_type**](UpdateFailureClassRegexApiModel.md) | Failure category regexes | [optional] -**project_ids** | **[str], none_type** | Projects identifiers | [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/ApiV2AutotestsResultReasonsSearchPostRequest.md b/docs/ApiV2AutotestsResultReasonsSearchPostRequest.md deleted file mode 100644 index cbb1efd6..00000000 --- a/docs/ApiV2AutotestsResultReasonsSearchPostRequest.md +++ /dev/null @@ -1,15 +0,0 @@ -# ApiV2AutotestsResultReasonsSearchPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**failure_categories** | [**[AvailableFailureCategory], none_type**](AvailableFailureCategory.md) | | [optional] -**name** | **str, none_type** | | [optional] -**regex_count** | [**Int32RangeSelectorModel**](Int32RangeSelectorModel.md) | | [optional] -**is_deleted** | **bool, 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/ApiV2ConfigurationParametersPostRequest.md b/docs/ApiV2ConfigurationParametersPostRequest.md new file mode 100644 index 00000000..871dc1a9 --- /dev/null +++ b/docs/ApiV2ConfigurationParametersPostRequest.md @@ -0,0 +1,14 @@ +# ApiV2ConfigurationParametersPostRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the configuration parameter, must be unique | +**values** | [**[ConfigurationParameterValueApiModel]**](ConfigurationParameterValueApiModel.md) | List of possible configuration parameter values | +**projects** | [**[ConfigurationParameterProjectApiModel], none_type**](ConfigurationParameterProjectApiModel.md) | List of projects to which configuration parameter should be assigned | [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/ApiV2ExternalServicesIdAiModelsPostRequest.md b/docs/ApiV2ConfigurationParametersSearchPostRequest.md similarity index 64% rename from docs/ApiV2ExternalServicesIdAiModelsPostRequest.md rename to docs/ApiV2ConfigurationParametersSearchPostRequest.md index 7e98df27..f7ee9862 100644 --- a/docs/ApiV2ExternalServicesIdAiModelsPostRequest.md +++ b/docs/ApiV2ConfigurationParametersSearchPostRequest.md @@ -1,10 +1,13 @@ -# ApiV2ExternalServicesIdAiModelsPostRequest +# ApiV2ConfigurationParametersSearchPostRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**project_ids** | **[str], none_type** | | [optional] **inquiry** | [**Inquiry**](Inquiry.md) | | [optional] +**values_filters** | [**[FieldFilter], none_type**](FieldFilter.md) | | [optional] +**projects_filters** | [**[FieldFilter], none_type**](FieldFilter.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/ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest.md b/docs/ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest.md deleted file mode 100644 index f42a7a11..00000000 --- a/docs/ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**new_external_service_id** | **str** | The unique ID of the new external service that will replace the current one | -**settings** | **bool, date, datetime, dict, float, int, list, str, none_type** | External service settings | -**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/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest.md b/docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest.md deleted file mode 100644 index 9cd9ad89..00000000 --- a/docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Failure category name | -**failure_category** | [**FailureCategory**](FailureCategory.md) | | -**failure_class_regexes** | [**[CreateFailureClassRegexApiModel], none_type**](CreateFailureClassRegexApiModel.md) | Failure category regexes | [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/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest.md b/docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest.md deleted file mode 100644 index e2e3d6e6..00000000 --- a/docs/ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest.md +++ /dev/null @@ -1,15 +0,0 @@ -# ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Failure category identifier | -**name** | **str** | Failure category name | -**failure_category** | [**FailureCategory**](FailureCategory.md) | | -**failure_class_regexes** | [**[UpdateFailureClassRegexApiModel], none_type**](UpdateFailureClassRegexApiModel.md) | Failure category regexes | [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/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest.md b/docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest.md deleted file mode 100644 index b5f9954d..00000000 --- a/docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**filter** | [**TestPlanTestPointsSearchApiModel**](TestPlanTestPointsSearchApiModel.md) | | [optional] -**extraction_model** | [**TestPlanTestPointsExtractionApiModel**](TestPlanTestPointsExtractionApiModel.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/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest.md b/docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest.md deleted file mode 100644 index 70405296..00000000 --- a/docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**filter** | [**TestPlanTestPointsSearchApiModel**](TestPlanTestPointsSearchApiModel.md) | | [optional] -**group** | [**TestPlanTestPointsGroupApiModel**](TestPlanTestPointsGroupApiModel.md) | | [optional] -**inquiry** | [**TestPlanTestPointsInquiryApiModel**](TestPlanTestPointsInquiryApiModel.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/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest.md b/docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest.md deleted file mode 100644 index c1a680f2..00000000 --- a/docs/ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tester_ids** | **[str]** | | -**filter** | [**TestPlanTestPointsSearchApiModel**](TestPlanTestPointsSearchApiModel.md) | | [optional] -**extraction_model** | [**TestPlanTestPointsExtractionApiModel**](TestPlanTestPointsExtractionApiModel.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/ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest.md b/docs/ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest.md deleted file mode 100644 index bd589fce..00000000 --- a/docs/ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest.md +++ /dev/null @@ -1,15 +0,0 @@ -# ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**section_id** | **str** | | -**previews** | [**[WorkItemPreviewApiModel]**](WorkItemPreviewApiModel.md) | | -**attributes** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | | [optional] -**link** | [**PreviewsIssueLinkApiModel**](PreviewsIssueLinkApiModel.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/ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest.md b/docs/ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest.md deleted file mode 100644 index f068750c..00000000 --- a/docs/ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest.md +++ /dev/null @@ -1,16 +0,0 @@ -# ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**external_service_id** | **str** | The ID of the external AI service to be used for generation. | -**temperature** | **float** | Controls randomness of the AI model output. | -**preview_limit** | **int** | Number of work item previews to generate. | -**issue_key** | **str, none_type** | The key of the issue in an issue tracker (e.g., JIRA-123). | [optional] -**user_context** | **str, none_type** | Additional user context or description of the issue if no issue key is provided. | [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/ApiV2TestRunsByAutoTestCasesPostRequest.md b/docs/ApiV2TestRunsByAutoTestCasesPostRequest.md deleted file mode 100644 index f88903d1..00000000 --- a/docs/ApiV2TestRunsByAutoTestCasesPostRequest.md +++ /dev/null @@ -1,19 +0,0 @@ -# ApiV2TestRunsByAutoTestCasesPostRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project_id** | **str** | Specifies the GUID of the project, in which a test run will be created. | -**configuration_ids** | **[str]** | Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs. | -**option** | [**CreateTestRunAndFillByAutoTestCasesApiModelOption**](CreateTestRunAndFillByAutoTestCasesApiModelOption.md) | | -**filter** | [**CreateTestRunAndFillByAutoTestCasesApiModelFilter**](CreateTestRunAndFillByAutoTestCasesApiModelFilter.md) | | [optional] -**name** | **str, none_type** | Specifies the name of the test run. | [optional] -**description** | **str, none_type** | Specifies the test run description. | [optional] -**launch_source** | **str, none_type** | Specifies the test run launch source. | [optional] -**tags** | **[str], none_type** | Collection of tags to assign to the test run | [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/AutoTestUpdateApiModel.md b/docs/AutoTestUpdateApiModel.md index 3a986141..06894562 100644 --- a/docs/AutoTestUpdateApiModel.md +++ b/docs/AutoTestUpdateApiModel.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **project_id** | **str** | Unique ID of the autotest project | **external_id** | **str** | External ID of the autotest | **name** | **str** | Name of the autotest | -**reset_layer** | **bool** | Indicates if the autotest layer should be reset. | **id** | **str, none_type** | Autotest unique internal identifier | [optional] **external_key** | **str, none_type** | External key of the autotest | [optional] **namespace** | **str, none_type** | Name of the autotest namespace | [optional] @@ -15,6 +14,7 @@ Name | Type | Description | Notes **title** | **str, none_type** | Name of the autotest in autotest's card | [optional] **description** | **str, none_type** | Description of the autotest in autotest's card | [optional] **is_flaky** | **bool, none_type** | Indicates if the autotest is marked as flaky | [optional] +**reset_layer** | **bool, none_type** | Indicates if the autotest layer should be reset. | [optional] **steps** | [**[AutoTestStepApiModel], none_type**](AutoTestStepApiModel.md) | Collection of the autotest steps | [optional] **setup** | [**[AutoTestStepApiModel], none_type**](AutoTestStepApiModel.md) | Collection of the autotest setup steps | [optional] **teardown** | [**[AutoTestStepApiModel], none_type**](AutoTestStepApiModel.md) | Collection of the autotest teardown steps | [optional] diff --git a/docs/ProjectFailureCategoriesApi.md b/docs/ConfigurationParametersApi.md similarity index 56% rename from docs/ProjectFailureCategoriesApi.md rename to docs/ConfigurationParametersApi.md index a50f2847..b097b01d 100644 --- a/docs/ProjectFailureCategoriesApi.md +++ b/docs/ConfigurationParametersApi.md @@ -1,20 +1,20 @@ -# testit_api_client.ProjectFailureCategoriesApi +# testit_api_client.ConfigurationParametersApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**api_v2_projects_project_id_autotests_failure_categories_grouping_search_post**](ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_grouping_search_post) | **POST** /api/v2/projects/{projectId}/autotests/failure-categories/grouping-search | Get failure categories with support for filtering, sorting and grouping -[**api_v2_projects_project_id_autotests_failure_categories_id_delete**](ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_id_delete) | **DELETE** /api/v2/projects/{projectId}/autotests/failure-categories/{id} | Delete failure category -[**api_v2_projects_project_id_autotests_failure_categories_id_get**](ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_id_get) | **GET** /api/v2/projects/{projectId}/autotests/failure-categories/{id} | Get failure category by ID -[**api_v2_projects_project_id_autotests_failure_categories_post**](ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_post) | **POST** /api/v2/projects/{projectId}/autotests/failure-categories | Create failure category -[**api_v2_projects_project_id_autotests_failure_categories_put**](ProjectFailureCategoriesApi.md#api_v2_projects_project_id_autotests_failure_categories_put) | **PUT** /api/v2/projects/{projectId}/autotests/failure-categories | Update failure category +[**api_v2_configuration_parameters_configuration_parameter_id_delete**](ConfigurationParametersApi.md#api_v2_configuration_parameters_configuration_parameter_id_delete) | **DELETE** /api/v2/configuration-parameters/{configurationParameterId} | Deletes configuration parameter +[**api_v2_configuration_parameters_configuration_parameter_id_get**](ConfigurationParametersApi.md#api_v2_configuration_parameters_configuration_parameter_id_get) | **GET** /api/v2/configuration-parameters/{configurationParameterId} | Gets configuration parameter by its identifier +[**api_v2_configuration_parameters_configuration_parameter_id_put**](ConfigurationParametersApi.md#api_v2_configuration_parameters_configuration_parameter_id_put) | **PUT** /api/v2/configuration-parameters/{configurationParameterId} | Updates configuration parameter +[**api_v2_configuration_parameters_post**](ConfigurationParametersApi.md#api_v2_configuration_parameters_post) | **POST** /api/v2/configuration-parameters | Creates new configuration parameter +[**api_v2_configuration_parameters_search_post**](ConfigurationParametersApi.md#api_v2_configuration_parameters_search_post) | **POST** /api/v2/configuration-parameters/search | Searches for configuration parameters -# **api_v2_projects_project_id_autotests_failure_categories_grouping_search_post** -> ProjectFailureCategoryGroupItemApiResultReply api_v2_projects_project_id_autotests_failure_categories_grouping_search_post(project_id) +# **api_v2_configuration_parameters_configuration_parameter_id_delete** +> api_v2_configuration_parameters_configuration_parameter_id_delete(configuration_parameter_id) -Get failure categories with support for filtering, sorting and grouping +Deletes configuration parameter ### Example @@ -24,10 +24,8 @@ Get failure categories with support for filtering, sorting and grouping ```python import time import testit_api_client -from testit_api_client.api import project_failure_categories_api +from testit_api_client.api import configuration_parameters_api from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.api_v2_autotests_result_reasons_grouping_search_post_request import ApiV2AutotestsResultReasonsGroupingSearchPostRequest -from testit_api_client.model.project_failure_category_group_item_api_result_reply import ProjectFailureCategoryGroupItemApiResultReply from testit_api_client.model.validation_problem_details import ValidationProblemDetails from pprint import pprint # Defining the host is optional and defaults to http://localhost @@ -56,26 +54,15 @@ configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with testit_api_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = project_failure_categories_api.ProjectFailureCategoriesApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - api_v2_autotests_result_reasons_grouping_search_post_request = ApiV2AutotestsResultReasonsGroupingSearchPostRequest(None) # ApiV2AutotestsResultReasonsGroupingSearchPostRequest | (optional) + api_instance = configuration_parameters_api.ConfigurationParametersApi(api_client) + configuration_parameter_id = "configurationParameterId_example" # str | # example passing only required values which don't have defaults set try: - # Get failure categories with support for filtering, sorting and grouping - api_response = api_instance.api_v2_projects_project_id_autotests_failure_categories_grouping_search_post(project_id) - pprint(api_response) + # Deletes configuration parameter + api_instance.api_v2_configuration_parameters_configuration_parameter_id_delete(configuration_parameter_id) except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_grouping_search_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get failure categories with support for filtering, sorting and grouping - api_response = api_instance.api_v2_projects_project_id_autotests_failure_categories_grouping_search_post(project_id, api_v2_autotests_result_reasons_grouping_search_post_request=api_v2_autotests_result_reasons_grouping_search_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_grouping_search_post: %s\n" % e) + print("Exception when calling ConfigurationParametersApi->api_v2_configuration_parameters_configuration_parameter_id_delete: %s\n" % e) ``` @@ -83,12 +70,11 @@ with testit_api_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **api_v2_autotests_result_reasons_grouping_search_post_request** | [**ApiV2AutotestsResultReasonsGroupingSearchPostRequest**](ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md)| | [optional] + **configuration_parameter_id** | **str**| | ### Return type -[**ProjectFailureCategoryGroupItemApiResultReply**](ProjectFailureCategoryGroupItemApiResultReply.md) +void (empty response body) ### Authorization @@ -96,7 +82,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json @@ -114,10 +100,10 @@ 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_projects_project_id_autotests_failure_categories_id_delete** -> api_v2_projects_project_id_autotests_failure_categories_id_delete(project_id, id) +# **api_v2_configuration_parameters_configuration_parameter_id_get** +> ConfigurationParameterApiResult api_v2_configuration_parameters_configuration_parameter_id_get(configuration_parameter_id) -Delete failure category +Gets configuration parameter by its identifier ### Example @@ -127,8 +113,9 @@ Delete failure category ```python import time import testit_api_client -from testit_api_client.api import project_failure_categories_api +from testit_api_client.api import configuration_parameters_api from testit_api_client.model.problem_details import ProblemDetails +from testit_api_client.model.configuration_parameter_api_result import ConfigurationParameterApiResult 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,16 +144,16 @@ configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with testit_api_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = project_failure_categories_api.ProjectFailureCategoriesApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - id = "id_example" # str | + api_instance = configuration_parameters_api.ConfigurationParametersApi(api_client) + configuration_parameter_id = "configurationParameterId_example" # str | # example passing only required values which don't have defaults set try: - # Delete failure category - api_instance.api_v2_projects_project_id_autotests_failure_categories_id_delete(project_id, id) + # Gets configuration parameter by its identifier + api_response = api_instance.api_v2_configuration_parameters_configuration_parameter_id_get(configuration_parameter_id) + pprint(api_response) except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_id_delete: %s\n" % e) + print("Exception when calling ConfigurationParametersApi->api_v2_configuration_parameters_configuration_parameter_id_get: %s\n" % e) ``` @@ -174,12 +161,11 @@ with testit_api_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **id** | **str**| | + **configuration_parameter_id** | **str**| | ### Return type -void (empty response body) +[**ConfigurationParameterApiResult**](ConfigurationParameterApiResult.md) ### Authorization @@ -195,7 +181,7 @@ void (empty response body) | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | **400** | Bad Request | - | **401** | Unauthorized | - | **403** | Forbidden | - | @@ -205,10 +191,10 @@ 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_projects_project_id_autotests_failure_categories_id_get** -> ProjectDetailedFailureCategoryApiResult api_v2_projects_project_id_autotests_failure_categories_id_get(project_id, id) +# **api_v2_configuration_parameters_configuration_parameter_id_put** +> api_v2_configuration_parameters_configuration_parameter_id_put(configuration_parameter_id) -Get failure category by ID +Updates configuration parameter ### Example @@ -218,9 +204,9 @@ Get failure category by ID ```python import time import testit_api_client -from testit_api_client.api import project_failure_categories_api +from testit_api_client.api import configuration_parameters_api from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.project_detailed_failure_category_api_result import ProjectDetailedFailureCategoryApiResult +from testit_api_client.model.api_v2_configuration_parameters_post_request import ApiV2ConfigurationParametersPostRequest from testit_api_client.model.validation_problem_details import ValidationProblemDetails from pprint import pprint # Defining the host is optional and defaults to http://localhost @@ -249,17 +235,24 @@ configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with testit_api_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = project_failure_categories_api.ProjectFailureCategoriesApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - id = "id_example" # str | + api_instance = configuration_parameters_api.ConfigurationParametersApi(api_client) + configuration_parameter_id = "configurationParameterId_example" # str | + api_v2_configuration_parameters_post_request = ApiV2ConfigurationParametersPostRequest(None) # ApiV2ConfigurationParametersPostRequest | (optional) # example passing only required values which don't have defaults set try: - # Get failure category by ID - api_response = api_instance.api_v2_projects_project_id_autotests_failure_categories_id_get(project_id, id) - pprint(api_response) + # Updates configuration parameter + api_instance.api_v2_configuration_parameters_configuration_parameter_id_put(configuration_parameter_id) + except testit_api_client.ApiException as e: + print("Exception when calling ConfigurationParametersApi->api_v2_configuration_parameters_configuration_parameter_id_put: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Updates configuration parameter + api_instance.api_v2_configuration_parameters_configuration_parameter_id_put(configuration_parameter_id, api_v2_configuration_parameters_post_request=api_v2_configuration_parameters_post_request) except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_id_get: %s\n" % e) + print("Exception when calling ConfigurationParametersApi->api_v2_configuration_parameters_configuration_parameter_id_put: %s\n" % e) ``` @@ -267,12 +260,12 @@ with testit_api_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **id** | **str**| | + **configuration_parameter_id** | **str**| | + **api_v2_configuration_parameters_post_request** | [**ApiV2ConfigurationParametersPostRequest**](ApiV2ConfigurationParametersPostRequest.md)| | [optional] ### Return type -[**ProjectDetailedFailureCategoryApiResult**](ProjectDetailedFailureCategoryApiResult.md) +void (empty response body) ### Authorization @@ -280,7 +273,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json @@ -298,10 +291,10 @@ 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_projects_project_id_autotests_failure_categories_post** -> ProjectDetailedFailureCategoryApiResult api_v2_projects_project_id_autotests_failure_categories_post(project_id) +# **api_v2_configuration_parameters_post** +> ConfigurationParameterApiResult api_v2_configuration_parameters_post() -Create failure category +Creates new configuration parameter ### Example @@ -311,10 +304,10 @@ Create failure category ```python import time import testit_api_client -from testit_api_client.api import project_failure_categories_api -from testit_api_client.model.api_v2_projects_project_id_autotests_failure_categories_post_request import ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest +from testit_api_client.api import configuration_parameters_api from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.project_detailed_failure_category_api_result import ProjectDetailedFailureCategoryApiResult +from testit_api_client.model.api_v2_configuration_parameters_post_request import ApiV2ConfigurationParametersPostRequest +from testit_api_client.model.configuration_parameter_api_result import ConfigurationParameterApiResult from testit_api_client.model.validation_problem_details import ValidationProblemDetails from pprint import pprint # Defining the host is optional and defaults to http://localhost @@ -343,26 +336,17 @@ configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with testit_api_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = project_failure_categories_api.ProjectFailureCategoriesApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - api_v2_projects_project_id_autotests_failure_categories_post_request = ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest(None) # ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Create failure category - api_response = api_instance.api_v2_projects_project_id_autotests_failure_categories_post(project_id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_post: %s\n" % e) + api_instance = configuration_parameters_api.ConfigurationParametersApi(api_client) + api_v2_configuration_parameters_post_request = ApiV2ConfigurationParametersPostRequest(None) # ApiV2ConfigurationParametersPostRequest | (optional) # example passing only required values which don't have defaults set # and optional values try: - # Create failure category - api_response = api_instance.api_v2_projects_project_id_autotests_failure_categories_post(project_id, api_v2_projects_project_id_autotests_failure_categories_post_request=api_v2_projects_project_id_autotests_failure_categories_post_request) + # Creates new configuration parameter + api_response = api_instance.api_v2_configuration_parameters_post(api_v2_configuration_parameters_post_request=api_v2_configuration_parameters_post_request) pprint(api_response) except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_post: %s\n" % e) + print("Exception when calling ConfigurationParametersApi->api_v2_configuration_parameters_post: %s\n" % e) ``` @@ -370,12 +354,11 @@ with testit_api_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **api_v2_projects_project_id_autotests_failure_categories_post_request** | [**ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest**](ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest.md)| | [optional] + **api_v2_configuration_parameters_post_request** | [**ApiV2ConfigurationParametersPostRequest**](ApiV2ConfigurationParametersPostRequest.md)| | [optional] ### Return type -[**ProjectDetailedFailureCategoryApiResult**](ProjectDetailedFailureCategoryApiResult.md) +[**ConfigurationParameterApiResult**](ConfigurationParameterApiResult.md) ### Authorization @@ -391,7 +374,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | +**200** | OK | - | **400** | Bad Request | - | **401** | Unauthorized | - | **403** | Forbidden | - | @@ -401,10 +384,10 @@ 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_projects_project_id_autotests_failure_categories_put** -> api_v2_projects_project_id_autotests_failure_categories_put(project_id) +# **api_v2_configuration_parameters_search_post** +> ConfigurationParameterPreviewApiResultIReply api_v2_configuration_parameters_search_post() -Update failure category +Searches for configuration parameters ### Example @@ -414,10 +397,11 @@ Update failure category ```python import time import testit_api_client -from testit_api_client.api import project_failure_categories_api +from testit_api_client.api import configuration_parameters_api +from testit_api_client.model.configuration_parameter_preview_api_result_i_reply import ConfigurationParameterPreviewApiResultIReply from testit_api_client.model.problem_details import ProblemDetails from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from testit_api_client.model.api_v2_projects_project_id_autotests_failure_categories_put_request import ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest +from testit_api_client.model.api_v2_configuration_parameters_search_post_request import ApiV2ConfigurationParametersSearchPostRequest from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. @@ -445,24 +429,17 @@ configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' # Enter a context with an instance of the API client with testit_api_client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = project_failure_categories_api.ProjectFailureCategoriesApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - api_v2_projects_project_id_autotests_failure_categories_put_request = ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest(None) # ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Update failure category - api_instance.api_v2_projects_project_id_autotests_failure_categories_put(project_id) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_put: %s\n" % e) + api_instance = configuration_parameters_api.ConfigurationParametersApi(api_client) + api_v2_configuration_parameters_search_post_request = ApiV2ConfigurationParametersSearchPostRequest(None) # ApiV2ConfigurationParametersSearchPostRequest | (optional) # example passing only required values which don't have defaults set # and optional values try: - # Update failure category - api_instance.api_v2_projects_project_id_autotests_failure_categories_put(project_id, api_v2_projects_project_id_autotests_failure_categories_put_request=api_v2_projects_project_id_autotests_failure_categories_put_request) + # Searches for configuration parameters + api_response = api_instance.api_v2_configuration_parameters_search_post(api_v2_configuration_parameters_search_post_request=api_v2_configuration_parameters_search_post_request) + pprint(api_response) except testit_api_client.ApiException as e: - print("Exception when calling ProjectFailureCategoriesApi->api_v2_projects_project_id_autotests_failure_categories_put: %s\n" % e) + print("Exception when calling ConfigurationParametersApi->api_v2_configuration_parameters_search_post: %s\n" % e) ``` @@ -470,12 +447,11 @@ with testit_api_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **api_v2_projects_project_id_autotests_failure_categories_put_request** | [**ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest**](ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest.md)| | [optional] + **api_v2_configuration_parameters_search_post_request** | [**ApiV2ConfigurationParametersSearchPostRequest**](ApiV2ConfigurationParametersSearchPostRequest.md)| | [optional] ### Return type -void (empty response body) +[**ConfigurationParameterPreviewApiResultIReply**](ConfigurationParameterPreviewApiResultIReply.md) ### Authorization diff --git a/docs/CreateAndFillByAutoTestsRequest.md b/docs/CreateAndFillByAutoTestsRequest.md index 6132c921..8a9d8795 100644 --- a/docs/CreateAndFillByAutoTestsRequest.md +++ b/docs/CreateAndFillByAutoTestsRequest.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **attachments** | [**[AssignAttachmentApiModel], none_type**](AssignAttachmentApiModel.md) | Collection of attachment ids to relate to the test run | [optional] **links** | [**[CreateLinkApiModel], none_type**](CreateLinkApiModel.md) | Collection of links to relate to the test run | [optional] **tags** | **[str], none_type** | Collection of tags to assign to the test run | [optional] +**option** | [**CreateTestRunAndFillByAutoTestsApiModelOption**](CreateTestRunAndFillByAutoTestsApiModelOption.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/CreateAndFillByConfigurationsRequest.md b/docs/CreateAndFillByConfigurationsRequest.md index 7f7962c9..dd1387d3 100644 --- a/docs/CreateAndFillByConfigurationsRequest.md +++ b/docs/CreateAndFillByConfigurationsRequest.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **attachments** | [**[AssignAttachmentApiModel], none_type**](AssignAttachmentApiModel.md) | Collection of attachment ids to relate to the test run | [optional] **links** | [**[CreateLinkApiModel], none_type**](CreateLinkApiModel.md) | Collection of links to relate to the test run | [optional] **tags** | **[str], none_type** | Collection of tags to assign to the test run | [optional] +**option** | [**CreateTestRunAndFillByAutoTestsApiModelOption**](CreateTestRunAndFillByAutoTestsApiModelOption.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/CreateAndFillByWorkItemsRequest.md b/docs/CreateAndFillByWorkItemsRequest.md index 21106786..f96e86e6 100644 --- a/docs/CreateAndFillByWorkItemsRequest.md +++ b/docs/CreateAndFillByWorkItemsRequest.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **attachments** | [**[AssignAttachmentApiModel], none_type**](AssignAttachmentApiModel.md) | Collection of attachment ids to relate to the test run | [optional] **links** | [**[CreateLinkApiModel], none_type**](CreateLinkApiModel.md) | Collection of links to relate to the test run | [optional] **tags** | **[str], none_type** | Collection of tags to assign to the test run | [optional] +**option** | [**CreateTestRunAndFillByAutoTestsApiModelOption**](CreateTestRunAndFillByAutoTestsApiModelOption.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/CreateTestRunAndFillByAutoTestsApiModel.md b/docs/CreateTestRunAndFillByAutoTestsApiModel.md index 0794f15b..5c730c8c 100644 --- a/docs/CreateTestRunAndFillByAutoTestsApiModel.md +++ b/docs/CreateTestRunAndFillByAutoTestsApiModel.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **attachments** | [**[AssignAttachmentApiModel], none_type**](AssignAttachmentApiModel.md) | Collection of attachment ids to relate to the test run | [optional] **links** | [**[CreateLinkApiModel], none_type**](CreateLinkApiModel.md) | Collection of links to relate to the test run | [optional] **tags** | **[str], none_type** | Collection of tags to assign to the test run | [optional] +**option** | [**CreateTestRunAndFillByAutoTestsApiModelOption**](CreateTestRunAndFillByAutoTestsApiModelOption.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/ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest.md b/docs/CreateTestRunAndFillByAutoTestsApiModelOption.md similarity index 66% rename from docs/ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest.md rename to docs/CreateTestRunAndFillByAutoTestsApiModelOption.md index 93220450..fce8cd50 100644 --- a/docs/ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest.md +++ b/docs/CreateTestRunAndFillByAutoTestsApiModelOption.md @@ -1,10 +1,12 @@ -# ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest +# CreateTestRunAndFillByAutoTestsApiModelOption +Test run launching options. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**settings** | **bool, date, datetime, dict, float, int, list, str, none_type** | External service settings | +**webhook_ids** | **[str]** | Enabled webhooks. | +**custom_parameters** | **{str: (str,)}, none_type** | Customers test run parameters. | [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/CreateTestRunAndFillByConfigurationsApiModel.md b/docs/CreateTestRunAndFillByConfigurationsApiModel.md index 394cb8e2..271b83d1 100644 --- a/docs/CreateTestRunAndFillByConfigurationsApiModel.md +++ b/docs/CreateTestRunAndFillByConfigurationsApiModel.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **attachments** | [**[AssignAttachmentApiModel], none_type**](AssignAttachmentApiModel.md) | Collection of attachment ids to relate to the test run | [optional] **links** | [**[CreateLinkApiModel], none_type**](CreateLinkApiModel.md) | Collection of links to relate to the test run | [optional] **tags** | **[str], none_type** | Collection of tags to assign to the test run | [optional] +**option** | [**CreateTestRunAndFillByAutoTestsApiModelOption**](CreateTestRunAndFillByAutoTestsApiModelOption.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/CreateTestRunAndFillByWorkItemsApiModel.md b/docs/CreateTestRunAndFillByWorkItemsApiModel.md index f03ef897..ae3b0b40 100644 --- a/docs/CreateTestRunAndFillByWorkItemsApiModel.md +++ b/docs/CreateTestRunAndFillByWorkItemsApiModel.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **attachments** | [**[AssignAttachmentApiModel], none_type**](AssignAttachmentApiModel.md) | Collection of attachment ids to relate to the test run | [optional] **links** | [**[CreateLinkApiModel], none_type**](CreateLinkApiModel.md) | Collection of links to relate to the test run | [optional] **tags** | **[str], none_type** | Collection of tags to assign to the test run | [optional] +**option** | [**CreateTestRunAndFillByAutoTestsApiModelOption**](CreateTestRunAndFillByAutoTestsApiModelOption.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/CustomAttributeApiResult.md b/docs/CustomAttributeApiResult.md index f6cc5a7c..57645197 100644 --- a/docs/CustomAttributeApiResult.md +++ b/docs/CustomAttributeApiResult.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **name** | **str** | Name of the attribute | **is_enabled** | **bool** | Indicates if the attribute is enabled | **is_required** | **bool** | Indicates if the attribute value is mandatory to specify | +**is_read_only** | **bool** | Indicates if the attribute value is read-only | **is_global** | **bool** | Indicates if the attribute is available across all projects | **is_system** | **bool** | Indicates if the attribute is system | **targets** | **[str]** | Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans) | diff --git a/docs/ExternalServicesApi.md b/docs/ExternalServicesApi.md deleted file mode 100644 index a83a5d7b..00000000 --- a/docs/ExternalServicesApi.md +++ /dev/null @@ -1,96 +0,0 @@ -# testit_api_client.ExternalServicesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v2_external_services_metadata_get**](ExternalServicesApi.md#api_v2_external_services_metadata_get) | **GET** /api/v2/external-services/metadata | Retrieves the metadata for all available external services - - -# **api_v2_external_services_metadata_get** -> ExternalServicesMetadataApiResult api_v2_external_services_metadata_get() - -Retrieves the metadata for all available external services - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import external_services_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.external_services_metadata_api_result import ExternalServicesMetadataApiResult -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = external_services_api.ExternalServicesApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # Retrieves the metadata for all available external services - api_response = api_instance.api_v2_external_services_metadata_get() - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ExternalServicesApi->api_v2_external_services_metadata_get: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**ExternalServicesMetadataApiResult**](ExternalServicesMetadataApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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) - diff --git a/docs/FailureCategoriesApi.md b/docs/FailureCategoriesApi.md deleted file mode 100644 index 3d7fa92f..00000000 --- a/docs/FailureCategoriesApi.md +++ /dev/null @@ -1,1342 +0,0 @@ -# testit_api_client.FailureCategoriesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v2_autotests_failure_categories_grouping_search_post**](FailureCategoriesApi.md#api_v2_autotests_failure_categories_grouping_search_post) | **POST** /api/v2/autotests/failure-categories/grouping-search | Get failure categories with support for filtering, sorting and grouping -[**api_v2_autotests_failure_categories_id_delete**](FailureCategoriesApi.md#api_v2_autotests_failure_categories_id_delete) | **DELETE** /api/v2/autotests/failure-categories/{id} | Delete failure category -[**api_v2_autotests_failure_categories_id_get**](FailureCategoriesApi.md#api_v2_autotests_failure_categories_id_get) | **GET** /api/v2/autotests/failure-categories/{id} | Get failure category by ID -[**api_v2_autotests_failure_categories_name_name_exists_get**](FailureCategoriesApi.md#api_v2_autotests_failure_categories_name_name_exists_get) | **GET** /api/v2/autotests/failure-categories/name/{name}/exists | Check failure category with the specified name already exists -[**api_v2_autotests_failure_categories_post**](FailureCategoriesApi.md#api_v2_autotests_failure_categories_post) | **POST** /api/v2/autotests/failure-categories | Create failure category -[**api_v2_autotests_failure_categories_put**](FailureCategoriesApi.md#api_v2_autotests_failure_categories_put) | **PUT** /api/v2/autotests/failure-categories | Update failure category -[**api_v2_autotests_failure_categories_search_post**](FailureCategoriesApi.md#api_v2_autotests_failure_categories_search_post) | **POST** /api/v2/autotests/failure-categories/search | -[**api_v2_autotests_result_reasons_grouping_search_post**](FailureCategoriesApi.md#api_v2_autotests_result_reasons_grouping_search_post) | **POST** /api/v2/autotests/resultReasons/grouping-search | Get failure categories with support for filtering, sorting and grouping -[**api_v2_autotests_result_reasons_id_delete**](FailureCategoriesApi.md#api_v2_autotests_result_reasons_id_delete) | **DELETE** /api/v2/autotests/resultReasons/{id} | Delete failure category -[**api_v2_autotests_result_reasons_id_get**](FailureCategoriesApi.md#api_v2_autotests_result_reasons_id_get) | **GET** /api/v2/autotests/resultReasons/{id} | Get failure category by ID -[**api_v2_autotests_result_reasons_name_name_exists_get**](FailureCategoriesApi.md#api_v2_autotests_result_reasons_name_name_exists_get) | **GET** /api/v2/autotests/resultReasons/name/{name}/exists | Check failure category with the specified name already exists -[**api_v2_autotests_result_reasons_post**](FailureCategoriesApi.md#api_v2_autotests_result_reasons_post) | **POST** /api/v2/autotests/resultReasons | Create failure category -[**api_v2_autotests_result_reasons_put**](FailureCategoriesApi.md#api_v2_autotests_result_reasons_put) | **PUT** /api/v2/autotests/resultReasons | Update failure category -[**api_v2_autotests_result_reasons_search_post**](FailureCategoriesApi.md#api_v2_autotests_result_reasons_search_post) | **POST** /api/v2/autotests/resultReasons/search | - - -# **api_v2_autotests_failure_categories_grouping_search_post** -> FailureCategoryGroupItemApiResultReply api_v2_autotests_failure_categories_grouping_search_post() - -Get failure categories with support for filtering, sorting and grouping - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.failure_category_group_item_api_result_reply import FailureCategoryGroupItemApiResultReply -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.api_v2_autotests_result_reasons_grouping_search_post_request import ApiV2AutotestsResultReasonsGroupingSearchPostRequest -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - api_v2_autotests_result_reasons_grouping_search_post_request = ApiV2AutotestsResultReasonsGroupingSearchPostRequest(None) # ApiV2AutotestsResultReasonsGroupingSearchPostRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get failure categories with support for filtering, sorting and grouping - api_response = api_instance.api_v2_autotests_failure_categories_grouping_search_post(api_v2_autotests_result_reasons_grouping_search_post_request=api_v2_autotests_result_reasons_grouping_search_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_grouping_search_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_autotests_result_reasons_grouping_search_post_request** | [**ApiV2AutotestsResultReasonsGroupingSearchPostRequest**](ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md)| | [optional] - -### Return type - -[**FailureCategoryGroupItemApiResultReply**](FailureCategoryGroupItemApiResultReply.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_failure_categories_id_delete** -> api_v2_autotests_failure_categories_id_delete(id) - -Delete failure category - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - id = "id_example" # str | - - # example passing only required values which don't have defaults set - try: - # Delete failure category - api_instance.api_v2_autotests_failure_categories_id_delete(id) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_id_delete: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_failure_categories_id_get** -> FailureCategoryApiResult api_v2_autotests_failure_categories_id_get(id) - -Get failure category by ID - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.failure_category_api_result import FailureCategoryApiResult -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - id = "id_example" # str | - is_deleted = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - # Get failure category by ID - api_response = api_instance.api_v2_autotests_failure_categories_id_get(id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_id_get: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get failure category by ID - api_response = api_instance.api_v2_autotests_failure_categories_id_get(id, is_deleted=is_deleted) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_id_get: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **is_deleted** | **bool**| | [optional] - -### Return type - -[**FailureCategoryApiResult**](FailureCategoryApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_failure_categories_name_name_exists_get** -> bool api_v2_autotests_failure_categories_name_name_exists_get(name) - -Check failure category with the specified name already exists - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - name = "name_example" # str | - - # example passing only required values which don't have defaults set - try: - # Check failure category with the specified name already exists - api_response = api_instance.api_v2_autotests_failure_categories_name_name_exists_get(name) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_name_name_exists_get: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| | - -### Return type - -**bool** - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_failure_categories_post** -> FailureCategoryApiResult api_v2_autotests_failure_categories_post() - -Create failure category - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.failure_category_api_result import FailureCategoryApiResult -from testit_api_client.model.api_v2_autotests_result_reasons_post_request import ApiV2AutotestsResultReasonsPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - api_v2_autotests_result_reasons_post_request = ApiV2AutotestsResultReasonsPostRequest(None) # ApiV2AutotestsResultReasonsPostRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Create failure category - api_response = api_instance.api_v2_autotests_failure_categories_post(api_v2_autotests_result_reasons_post_request=api_v2_autotests_result_reasons_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_autotests_result_reasons_post_request** | [**ApiV2AutotestsResultReasonsPostRequest**](ApiV2AutotestsResultReasonsPostRequest.md)| | [optional] - -### Return type - -[**FailureCategoryApiResult**](FailureCategoryApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_failure_categories_put** -> api_v2_autotests_failure_categories_put() - -Update failure category - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.api_v2_autotests_result_reasons_put_request import ApiV2AutotestsResultReasonsPutRequest -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - api_v2_autotests_result_reasons_put_request = ApiV2AutotestsResultReasonsPutRequest(None) # ApiV2AutotestsResultReasonsPutRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Update failure category - api_instance.api_v2_autotests_failure_categories_put(api_v2_autotests_result_reasons_put_request=api_v2_autotests_result_reasons_put_request) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_put: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_autotests_result_reasons_put_request** | [**ApiV2AutotestsResultReasonsPutRequest**](ApiV2AutotestsResultReasonsPutRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_failure_categories_search_post** -> [AutotestResultReasonShortGetModel] api_v2_autotests_failure_categories_search_post() - - - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.autotest_result_reason_short_get_model import AutotestResultReasonShortGetModel -from testit_api_client.model.api_v2_autotests_result_reasons_search_post_request import ApiV2AutotestsResultReasonsSearchPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - skip = 1 # int | Amount of items to be skipped (offset) (optional) - take = 1 # int | Amount of items to be taken (limit) (optional) - order_by = "OrderBy_example" # str | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) - search_field = "SearchField_example" # str | Property name for searching (optional) - search_value = "SearchValue_example" # str | Value for searching (optional) - api_v2_autotests_result_reasons_search_post_request = ApiV2AutotestsResultReasonsSearchPostRequest(None) # ApiV2AutotestsResultReasonsSearchPostRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.api_v2_autotests_failure_categories_search_post(skip=skip, take=take, order_by=order_by, search_field=search_field, search_value=search_value, api_v2_autotests_result_reasons_search_post_request=api_v2_autotests_result_reasons_search_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_failure_categories_search_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **skip** | **int**| Amount of items to be skipped (offset) | [optional] - **take** | **int**| Amount of items to be taken (limit) | [optional] - **order_by** | **str**| SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] - **search_field** | **str**| Property name for searching | [optional] - **search_value** | **str**| Value for searching | [optional] - **api_v2_autotests_result_reasons_search_post_request** | [**ApiV2AutotestsResultReasonsSearchPostRequest**](ApiV2AutotestsResultReasonsSearchPostRequest.md)| | [optional] - -### Return type - -[**[AutotestResultReasonShortGetModel]**](AutotestResultReasonShortGetModel.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
| -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_result_reasons_grouping_search_post** -> FailureCategoryGroupItemApiResultReply api_v2_autotests_result_reasons_grouping_search_post() - -Get failure categories with support for filtering, sorting and grouping - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.failure_category_group_item_api_result_reply import FailureCategoryGroupItemApiResultReply -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.api_v2_autotests_result_reasons_grouping_search_post_request import ApiV2AutotestsResultReasonsGroupingSearchPostRequest -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - api_v2_autotests_result_reasons_grouping_search_post_request = ApiV2AutotestsResultReasonsGroupingSearchPostRequest(None) # ApiV2AutotestsResultReasonsGroupingSearchPostRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get failure categories with support for filtering, sorting and grouping - api_response = api_instance.api_v2_autotests_result_reasons_grouping_search_post(api_v2_autotests_result_reasons_grouping_search_post_request=api_v2_autotests_result_reasons_grouping_search_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_grouping_search_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_autotests_result_reasons_grouping_search_post_request** | [**ApiV2AutotestsResultReasonsGroupingSearchPostRequest**](ApiV2AutotestsResultReasonsGroupingSearchPostRequest.md)| | [optional] - -### Return type - -[**FailureCategoryGroupItemApiResultReply**](FailureCategoryGroupItemApiResultReply.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_result_reasons_id_delete** -> api_v2_autotests_result_reasons_id_delete(id) - -Delete failure category - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - id = "id_example" # str | - - # example passing only required values which don't have defaults set - try: - # Delete failure category - api_instance.api_v2_autotests_result_reasons_id_delete(id) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_id_delete: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | No Content | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_result_reasons_id_get** -> FailureCategoryApiResult api_v2_autotests_result_reasons_id_get(id) - -Get failure category by ID - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.failure_category_api_result import FailureCategoryApiResult -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - id = "id_example" # str | - is_deleted = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - # Get failure category by ID - api_response = api_instance.api_v2_autotests_result_reasons_id_get(id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_id_get: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get failure category by ID - api_response = api_instance.api_v2_autotests_result_reasons_id_get(id, is_deleted=is_deleted) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_id_get: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| | - **is_deleted** | **bool**| | [optional] - -### Return type - -[**FailureCategoryApiResult**](FailureCategoryApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_result_reasons_name_name_exists_get** -> bool api_v2_autotests_result_reasons_name_name_exists_get(name) - -Check failure category with the specified name already exists - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - name = "name_example" # str | - - # example passing only required values which don't have defaults set - try: - # Check failure category with the specified name already exists - api_response = api_instance.api_v2_autotests_result_reasons_name_name_exists_get(name) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_name_name_exists_get: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **str**| | - -### Return type - -**bool** - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_result_reasons_post** -> FailureCategoryApiResult api_v2_autotests_result_reasons_post() - -Create failure category - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.failure_category_api_result import FailureCategoryApiResult -from testit_api_client.model.api_v2_autotests_result_reasons_post_request import ApiV2AutotestsResultReasonsPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - api_v2_autotests_result_reasons_post_request = ApiV2AutotestsResultReasonsPostRequest(None) # ApiV2AutotestsResultReasonsPostRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Create failure category - api_response = api_instance.api_v2_autotests_result_reasons_post(api_v2_autotests_result_reasons_post_request=api_v2_autotests_result_reasons_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_autotests_result_reasons_post_request** | [**ApiV2AutotestsResultReasonsPostRequest**](ApiV2AutotestsResultReasonsPostRequest.md)| | [optional] - -### Return type - -[**FailureCategoryApiResult**](FailureCategoryApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_result_reasons_put** -> api_v2_autotests_result_reasons_put() - -Update failure category - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.api_v2_autotests_result_reasons_put_request import ApiV2AutotestsResultReasonsPutRequest -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - api_v2_autotests_result_reasons_put_request = ApiV2AutotestsResultReasonsPutRequest(None) # ApiV2AutotestsResultReasonsPutRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Update failure category - api_instance.api_v2_autotests_result_reasons_put(api_v2_autotests_result_reasons_put_request=api_v2_autotests_result_reasons_put_request) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_put: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_autotests_result_reasons_put_request** | [**ApiV2AutotestsResultReasonsPutRequest**](ApiV2AutotestsResultReasonsPutRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_autotests_result_reasons_search_post** -> [AutotestResultReasonShortGetModel] api_v2_autotests_result_reasons_search_post() - - - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import failure_categories_api -from testit_api_client.model.autotest_result_reason_short_get_model import AutotestResultReasonShortGetModel -from testit_api_client.model.api_v2_autotests_result_reasons_search_post_request import ApiV2AutotestsResultReasonsSearchPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = failure_categories_api.FailureCategoriesApi(api_client) - skip = 1 # int | Amount of items to be skipped (offset) (optional) - take = 1 # int | Amount of items to be taken (limit) (optional) - order_by = "OrderBy_example" # str | SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) (optional) - search_field = "SearchField_example" # str | Property name for searching (optional) - search_value = "SearchValue_example" # str | Value for searching (optional) - api_v2_autotests_result_reasons_search_post_request = ApiV2AutotestsResultReasonsSearchPostRequest(None) # ApiV2AutotestsResultReasonsSearchPostRequest | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.api_v2_autotests_result_reasons_search_post(skip=skip, take=take, order_by=order_by, search_field=search_field, search_value=search_value, api_v2_autotests_result_reasons_search_post_request=api_v2_autotests_result_reasons_search_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling FailureCategoriesApi->api_v2_autotests_result_reasons_search_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **skip** | **int**| Amount of items to be skipped (offset) | [optional] - **take** | **int**| Amount of items to be taken (limit) | [optional] - **order_by** | **str**| SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC) | [optional] - **search_field** | **str**| Property name for searching | [optional] - **search_value** | **str**| Value for searching | [optional] - **api_v2_autotests_result_reasons_search_post_request** | [**ApiV2AutotestsResultReasonsSearchPostRequest**](ApiV2AutotestsResultReasonsSearchPostRequest.md)| | [optional] - -### Return type - -[**[AutotestResultReasonShortGetModel]**](AutotestResultReasonShortGetModel.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * Pagination-Skip - Skipped amount of items
* Pagination-Take - Taken items
* Pagination-Pages - Expected number of pages
* Pagination-Total-Items - Total count of items
| -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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) - diff --git a/docs/GroupKey.md b/docs/GroupKey.md index 6bb52c1b..e239d3a3 100644 --- a/docs/GroupKey.md +++ b/docs/GroupKey.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str, none_type** | | +**value** | [**FilterValue**](FilterValue.md) | | **display_value** | **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/ProjectExternalServicesApi.md b/docs/ProjectExternalServicesApi.md deleted file mode 100644 index 43aef7ab..00000000 --- a/docs/ProjectExternalServicesApi.md +++ /dev/null @@ -1,610 +0,0 @@ -# testit_api_client.ProjectExternalServicesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v2_projects_id_external_services_external_service_id_delete**](ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_delete) | **DELETE** /api/v2/projects/{id}/external-services/{externalServiceId} | Disable an external service -[**api_v2_projects_id_external_services_external_service_id_get**](ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_get) | **GET** /api/v2/projects/{id}/external-services/{externalServiceId} | Retrieves settings of an external service -[**api_v2_projects_id_external_services_external_service_id_patch**](ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_patch) | **PATCH** /api/v2/projects/{id}/external-services/{externalServiceId} | Replaces one active external service with another -[**api_v2_projects_id_external_services_external_service_id_put**](ProjectExternalServicesApi.md#api_v2_projects_id_external_services_external_service_id_put) | **PUT** /api/v2/projects/{id}/external-services/{externalServiceId} | Enable an external service -[**api_v2_projects_id_external_services_get**](ProjectExternalServicesApi.md#api_v2_projects_id_external_services_get) | **GET** /api/v2/projects/{id}/external-services | Retrieves information about external services, including their integration status (enabled or not) -[**api_v2_projects_id_external_services_issues_search_post**](ProjectExternalServicesApi.md#api_v2_projects_id_external_services_issues_search_post) | **POST** /api/v2/projects/{id}/external-services/issues/search | Searches for external issues using enabled external services in project - - -# **api_v2_projects_id_external_services_external_service_id_delete** -> api_v2_projects_id_external_services_external_service_id_delete(id, external_service_id) - -Disable an external service - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_external_services_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_external_services_api.ProjectExternalServicesApi(api_client) - id = "id_example" # str | Project ID - external_service_id = "externalServiceId_example" # str | External service ID - - # example passing only required values which don't have defaults set - try: - # Disable an external service - api_instance.api_v2_projects_id_external_services_external_service_id_delete(id, external_service_id) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_external_service_id_delete: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Project ID | - **external_service_id** | **str**| External service ID | - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_id_external_services_external_service_id_get** -> ProjectExternalServiceSettingsApiResult api_v2_projects_id_external_services_external_service_id_get(id, external_service_id) - -Retrieves settings of an external service - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_external_services_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.project_external_service_settings_api_result import ProjectExternalServiceSettingsApiResult -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_external_services_api.ProjectExternalServicesApi(api_client) - id = "id_example" # str | Project ID - external_service_id = "externalServiceId_example" # str | External service ID - - # example passing only required values which don't have defaults set - try: - # Retrieves settings of an external service - api_response = api_instance.api_v2_projects_id_external_services_external_service_id_get(id, external_service_id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_external_service_id_get: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Project ID | - **external_service_id** | **str**| External service ID | - -### Return type - -[**ProjectExternalServiceSettingsApiResult**](ProjectExternalServiceSettingsApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_id_external_services_external_service_id_patch** -> api_v2_projects_id_external_services_external_service_id_patch(id, external_service_id) - -Replaces one active external service with another - -See RFC 6902: JavaScript Object Notation (JSON) Patch for details - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_external_services_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.api_v2_projects_id_external_services_external_service_id_patch_request import ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_external_services_api.ProjectExternalServicesApi(api_client) - id = "id_example" # str | Project ID - external_service_id = "externalServiceId_example" # str | External service ID - api_v2_projects_id_external_services_external_service_id_patch_request = ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest(None) # ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Replaces one active external service with another - api_instance.api_v2_projects_id_external_services_external_service_id_patch(id, external_service_id) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_external_service_id_patch: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Replaces one active external service with another - api_instance.api_v2_projects_id_external_services_external_service_id_patch(id, external_service_id, api_v2_projects_id_external_services_external_service_id_patch_request=api_v2_projects_id_external_services_external_service_id_patch_request) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_external_service_id_patch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Project ID | - **external_service_id** | **str**| External service ID | - **api_v2_projects_id_external_services_external_service_id_patch_request** | [**ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest**](ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_id_external_services_external_service_id_put** -> api_v2_projects_id_external_services_external_service_id_put(id, external_service_id) - -Enable an external service - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_external_services_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from testit_api_client.model.api_v2_projects_id_external_services_external_service_id_put_request import ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_external_services_api.ProjectExternalServicesApi(api_client) - id = "id_example" # str | Project ID - external_service_id = "externalServiceId_example" # str | External service ID - api_v2_projects_id_external_services_external_service_id_put_request = ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest(None) # ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Enable an external service - api_instance.api_v2_projects_id_external_services_external_service_id_put(id, external_service_id) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_external_service_id_put: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Enable an external service - api_instance.api_v2_projects_id_external_services_external_service_id_put(id, external_service_id, api_v2_projects_id_external_services_external_service_id_put_request=api_v2_projects_id_external_services_external_service_id_put_request) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_external_service_id_put: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Project ID | - **external_service_id** | **str**| External service ID | - **api_v2_projects_id_external_services_external_service_id_put_request** | [**ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest**](ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_id_external_services_get** -> ProjectExternalServicesApiResult api_v2_projects_id_external_services_get(id) - -Retrieves information about external services, including their integration status (enabled or not) - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_external_services_api -from testit_api_client.model.api_external_service_category import ApiExternalServiceCategory -from testit_api_client.model.project_external_services_api_result import ProjectExternalServicesApiResult -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_external_services_api.ProjectExternalServicesApi(api_client) - id = "id_example" # str | Project ID - category = None # ApiExternalServiceCategory | (optional) - - # example passing only required values which don't have defaults set - try: - # Retrieves information about external services, including their integration status (enabled or not) - api_response = api_instance.api_v2_projects_id_external_services_get(id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_get: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Retrieves information about external services, including their integration status (enabled or not) - api_response = api_instance.api_v2_projects_id_external_services_get(id, category=category) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_get: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Project ID | - **category** | **ApiExternalServiceCategory**| | [optional] - -### Return type - -[**ProjectExternalServicesApiResult**](ProjectExternalServicesApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_id_external_services_issues_search_post** -> [ExternalIssueApiResult] api_v2_projects_id_external_services_issues_search_post(id) - -Searches for external issues using enabled external services in project - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_external_services_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.external_issue_api_result import ExternalIssueApiResult -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from testit_api_client.model.api_v2_projects_id_external_services_issues_search_post_request import ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_external_services_api.ProjectExternalServicesApi(api_client) - id = "id_example" # str | Internal (UUID) or global (integer) identifier - api_v2_projects_id_external_services_issues_search_post_request = ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest(None) # ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Searches for external issues using enabled external services in project - api_response = api_instance.api_v2_projects_id_external_services_issues_search_post(id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_issues_search_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Searches for external issues using enabled external services in project - api_response = api_instance.api_v2_projects_id_external_services_issues_search_post(id, api_v2_projects_id_external_services_issues_search_post_request=api_v2_projects_id_external_services_issues_search_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectExternalServicesApi->api_v2_projects_id_external_services_issues_search_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **str**| Internal (UUID) or global (integer) identifier | - **api_v2_projects_id_external_services_issues_search_post_request** | [**ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest**](ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest.md)| | [optional] - -### Return type - -[**[ExternalIssueApiResult]**](ExternalIssueApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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) - diff --git a/docs/ProjectTestPlanTestPointsApi.md b/docs/ProjectTestPlanTestPointsApi.md index 015dafe9..a7521b27 100644 --- a/docs/ProjectTestPlanTestPointsApi.md +++ b/docs/ProjectTestPlanTestPointsApi.md @@ -4,118 +4,10 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post**](ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/analytics | Get test points analytics. [**api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post**](ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/rerun | Rerun autotests. [**api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run_post**](ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/autotests/run | Run autotests. -[**api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post**](ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/grouping-search | Search test points in test plan. -[**api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post**](ProjectTestPlanTestPointsApi.md#api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post) | **POST** /api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/testers | Distribute test points between the users. -# **api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post** -> TestPlanTestPointsAnalyticsApiResult api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post(project_id, test_plan_id) - -Get test points analytics. - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_test_plan_test_points_api -from testit_api_client.model.test_plan_test_points_analytics_api_result import TestPlanTestPointsAnalyticsApiResult -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_test_plan_test_points_api.ProjectTestPlanTestPointsApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - test_plan_id = "testPlanId_example" # str | - api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request = ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest(None) # ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Get test points analytics. - api_response = api_instance.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post(project_id, test_plan_id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectTestPlanTestPointsApi->api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Get test points analytics. - api_response = api_instance.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post(project_id, test_plan_id, api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request=api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectTestPlanTestPointsApi->api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **test_plan_id** | **str**| | - **api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request** | [**ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest**](ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest.md)| | [optional] - -### Return type - -[**TestPlanTestPointsAnalyticsApiResult**](TestPlanTestPointsAnalyticsApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post** > api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post(project_id, test_plan_id) @@ -323,210 +215,3 @@ 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_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post** -> TestPlanTestPointsGroupSearchApiResult api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post(project_id, test_plan_id) - -Search test points in test plan. - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_test_plan_test_points_api -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.test_plan_test_points_group_search_api_result import TestPlanTestPointsGroupSearchApiResult -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_test_plan_test_points_api.ProjectTestPlanTestPointsApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - test_plan_id = "testPlanId_example" # str | - api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request = ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest(None) # ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Search test points in test plan. - api_response = api_instance.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post(project_id, test_plan_id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectTestPlanTestPointsApi->api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Search test points in test plan. - api_response = api_instance.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post(project_id, test_plan_id, api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request=api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectTestPlanTestPointsApi->api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **test_plan_id** | **str**| | - **api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request** | [**ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest**](ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest.md)| | [optional] - -### Return type - -[**TestPlanTestPointsGroupSearchApiResult**](TestPlanTestPointsGroupSearchApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_project_id_test_plans_test_plan_id_test_points_testers_post** -> api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post(project_id, test_plan_id) - -Distribute test points between the users. - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_test_plan_test_points_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_test_plan_test_points_api.ProjectTestPlanTestPointsApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - test_plan_id = "testPlanId_example" # str | - api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request = ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest(None) # ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # Distribute test points between the users. - api_instance.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post(project_id, test_plan_id) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectTestPlanTestPointsApi->api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Distribute test points between the users. - api_instance.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post(project_id, test_plan_id, api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request=api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectTestPlanTestPointsApi->api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **test_plan_id** | **str**| | - **api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request** | [**ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest**](ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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) - diff --git a/docs/ProjectWorkItemsApi.md b/docs/ProjectWorkItemsApi.md index 70722b3a..16bf2f37 100644 --- a/docs/ProjectWorkItemsApi.md +++ b/docs/ProjectWorkItemsApi.md @@ -4,8 +4,6 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**api_v2_projects_project_id_work_items_previews_bulk_post**](ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_previews_bulk_post) | **POST** /api/v2/projects/{projectId}/work-items/previews/bulk | -[**api_v2_projects_project_id_work_items_previews_post**](ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_previews_post) | **POST** /api/v2/projects/{projectId}/work-items/previews | [**api_v2_projects_project_id_work_items_search_grouped_post**](ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_search_grouped_post) | **POST** /api/v2/projects/{projectId}/workItems/search/grouped | Search for work items and group results by attribute [**api_v2_projects_project_id_work_items_search_id_post**](ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_search_id_post) | **POST** /api/v2/projects/{projectId}/workItems/search/id | Search for work items and extract IDs only [**api_v2_projects_project_id_work_items_search_post**](ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_search_post) | **POST** /api/v2/projects/{projectId}/workItems/search | Search for work items @@ -14,205 +12,6 @@ Method | HTTP request | Description [**get_work_items_by_project_id**](ProjectWorkItemsApi.md#get_work_items_by_project_id) | **GET** /api/v2/projects/{projectId}/workItems | Get project work items -# **api_v2_projects_project_id_work_items_previews_bulk_post** -> api_v2_projects_project_id_work_items_previews_bulk_post(project_id) - - - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_work_items_api -from testit_api_client.model.api_v2_projects_project_id_work_items_previews_bulk_post_request import ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_work_items_api.ProjectWorkItemsApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - api_v2_projects_project_id_work_items_previews_bulk_post_request = ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest(None) # ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.api_v2_projects_project_id_work_items_previews_bulk_post(project_id) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectWorkItemsApi->api_v2_projects_project_id_work_items_previews_bulk_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.api_v2_projects_project_id_work_items_previews_bulk_post(project_id, api_v2_projects_project_id_work_items_previews_bulk_post_request=api_v2_projects_project_id_work_items_previews_bulk_post_request) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectWorkItemsApi->api_v2_projects_project_id_work_items_previews_bulk_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **api_v2_projects_project_id_work_items_previews_bulk_post_request** | [**ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest**](ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_project_id_work_items_previews_post** -> GenerateWorkItemPreviewsApiResult api_v2_projects_project_id_work_items_previews_post(project_id) - - - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import project_work_items_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.generate_work_item_previews_api_result import GenerateWorkItemPreviewsApiResult -from testit_api_client.model.api_v2_projects_project_id_work_items_previews_post_request import ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = project_work_items_api.ProjectWorkItemsApi(api_client) - project_id = "projectId_example" # str | Internal (UUID) or global (integer) identifier - api_v2_projects_project_id_work_items_previews_post_request = ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest(None) # ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest | (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.api_v2_projects_project_id_work_items_previews_post(project_id) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectWorkItemsApi->api_v2_projects_project_id_work_items_previews_post: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.api_v2_projects_project_id_work_items_previews_post(project_id, api_v2_projects_project_id_work_items_previews_post_request=api_v2_projects_project_id_work_items_previews_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling ProjectWorkItemsApi->api_v2_projects_project_id_work_items_previews_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **project_id** | **str**| Internal (UUID) or global (integer) identifier | - **api_v2_projects_project_id_work_items_previews_post_request** | [**ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest**](ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest.md)| | [optional] - -### Return type - -[**GenerateWorkItemPreviewsApiResult**](GenerateWorkItemPreviewsApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_projects_project_id_work_items_search_grouped_post** > [WorkItemGroupModel] api_v2_projects_project_id_work_items_search_grouped_post(project_id) diff --git a/docs/TestRunsApi.md b/docs/TestRunsApi.md index 4f1584d3..e9fb0802 100644 --- a/docs/TestRunsApi.md +++ b/docs/TestRunsApi.md @@ -4,7 +4,6 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**api_v2_test_runs_by_auto_test_cases_post**](TestRunsApi.md#api_v2_test_runs_by_auto_test_cases_post) | **POST** /api/v2/testRuns/byAutoTestCases | Create TestRun filled with autotests linked to work items of type \"AutoTestCases\" selected by the filter [**api_v2_test_runs_delete**](TestRunsApi.md#api_v2_test_runs_delete) | **DELETE** /api/v2/testRuns | Delete multiple test runs [**api_v2_test_runs_id_auto_tests_namespaces_get**](TestRunsApi.md#api_v2_test_runs_id_auto_tests_namespaces_get) | **GET** /api/v2/testRuns/{id}/autoTestsNamespaces | Get autotest classes and namespaces in test run [**api_v2_test_runs_id_delete**](TestRunsApi.md#api_v2_test_runs_id_delete) | **DELETE** /api/v2/testRuns/{id} | Delete test run @@ -32,99 +31,6 @@ Method | HTTP request | Description [**update_empty**](TestRunsApi.md#update_empty) | **PUT** /api/v2/testRuns | Update empty TestRun -# **api_v2_test_runs_by_auto_test_cases_post** -> TestRunV2ApiResult api_v2_test_runs_by_auto_test_cases_post() - -Create TestRun filled with autotests linked to work items of type \"AutoTestCases\" selected by the filter - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import test_runs_api -from testit_api_client.model.test_run_v2_api_result import TestRunV2ApiResult -from testit_api_client.model.api_v2_test_runs_by_auto_test_cases_post_request import ApiV2TestRunsByAutoTestCasesPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = test_runs_api.TestRunsApi(api_client) - api_v2_test_runs_by_auto_test_cases_post_request = ApiV2TestRunsByAutoTestCasesPostRequest(None) # ApiV2TestRunsByAutoTestCasesPostRequest | Test run model with a filter for work items of type \"AutoTestCases\" and configuration IDs (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Create TestRun filled with autotests linked to work items of type \"AutoTestCases\" selected by the filter - api_response = api_instance.api_v2_test_runs_by_auto_test_cases_post(api_v2_test_runs_by_auto_test_cases_post_request=api_v2_test_runs_by_auto_test_cases_post_request) - pprint(api_response) - except testit_api_client.ApiException as e: - print("Exception when calling TestRunsApi->api_v2_test_runs_by_auto_test_cases_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **api_v2_test_runs_by_auto_test_cases_post_request** | [**ApiV2TestRunsByAutoTestCasesPostRequest**](ApiV2TestRunsByAutoTestCasesPostRequest.md)| Test run model with a filter for work items of type \"AutoTestCases\" and configuration IDs | [optional] - -### Return type - -[**TestRunV2ApiResult**](TestRunV2ApiResult.md) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Created | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_runs_delete** > int api_v2_test_runs_delete() diff --git a/docs/UpdateAutoTestRequest.md b/docs/UpdateAutoTestRequest.md index 69e776e6..90d1f76a 100644 --- a/docs/UpdateAutoTestRequest.md +++ b/docs/UpdateAutoTestRequest.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **project_id** | **str** | Unique ID of the autotest project | **external_id** | **str** | External ID of the autotest | **name** | **str** | Name of the autotest | -**reset_layer** | **bool** | Indicates if the autotest layer should be reset. | **id** | **str, none_type** | Autotest unique internal identifier | [optional] **external_key** | **str, none_type** | External key of the autotest | [optional] **namespace** | **str, none_type** | Name of the autotest namespace | [optional] @@ -15,6 +14,7 @@ Name | Type | Description | Notes **title** | **str, none_type** | Name of the autotest in autotest's card | [optional] **description** | **str, none_type** | Description of the autotest in autotest's card | [optional] **is_flaky** | **bool, none_type** | Indicates if the autotest is marked as flaky | [optional] +**reset_layer** | **bool, none_type** | Indicates if the autotest layer should be reset. | [optional] **steps** | [**[AutoTestStepApiModel], none_type**](AutoTestStepApiModel.md) | Collection of the autotest steps | [optional] **setup** | [**[AutoTestStepApiModel], none_type**](AutoTestStepApiModel.md) | Collection of the autotest setup steps | [optional] **teardown** | [**[AutoTestStepApiModel], none_type**](AutoTestStepApiModel.md) | Collection of the autotest teardown steps | [optional] diff --git a/docs/UserStoragesApi.md b/docs/UserStoragesApi.md deleted file mode 100644 index 146e2697..00000000 --- a/docs/UserStoragesApi.md +++ /dev/null @@ -1,186 +0,0 @@ -# testit_api_client.UserStoragesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**api_v2_user_storages_resource_get**](UserStoragesApi.md#api_v2_user_storages_resource_get) | **GET** /api/v2/user-storages/{resource} | -[**api_v2_user_storages_resource_post**](UserStoragesApi.md#api_v2_user_storages_resource_post) | **POST** /api/v2/user-storages/{resource} | - - -# **api_v2_user_storages_resource_get** -> api_v2_user_storages_resource_get(resource) - - - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import user_storages_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_storages_api.UserStoragesApi(api_client) - resource = "resource_example" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.api_v2_user_storages_resource_get(resource) - except testit_api_client.ApiException as e: - print("Exception when calling UserStoragesApi->api_v2_user_storages_resource_get: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **resource** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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_user_storages_resource_post** -> api_v2_user_storages_resource_post(resource) - - - -### Example - -* Api Key Authentication (PrivateToken): -* Api Key Authentication (Identity.Application): - -```python -import time -import testit_api_client -from testit_api_client.api import user_storages_api -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = testit_api_client.Configuration( - host = "http://localhost" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: PrivateToken -configuration.api_key['PrivateToken'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['PrivateToken'] = 'Bearer' - -# Configure API key authorization: Identity.Application -configuration.api_key['Identity.Application'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Identity.Application'] = 'Bearer' - -# Enter a context with an instance of the API client -with testit_api_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = user_storages_api.UserStoragesApi(api_client) - resource = "resource_example" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.api_v2_user_storages_resource_post(resource) - except testit_api_client.ApiException as e: - print("Exception when calling UserStoragesApi->api_v2_user_storages_resource_post: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **resource** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[PrivateToken](../README.md#PrivateToken), [Identity.Application](../README.md#Identity.Application) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Not Found | - | -**409** | Conflict | - | -**422** | Unprocessable Entity | - | - -[[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) - diff --git a/docs/WorkItemFilterApiModel.md b/docs/WorkItemFilterApiModel.md index 0875944e..6efc9601 100644 --- a/docs/WorkItemFilterApiModel.md +++ b/docs/WorkItemFilterApiModel.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] **links** | [**WorkItemFilterApiModelLinks**](WorkItemFilterApiModelLinks.md) | | [optional] **external_metadata** | [**WorkItemFilterApiModelExternalMetadata**](WorkItemFilterApiModelExternalMetadata.md) | | [optional] +**layers** | **[str], none_type** | Specifies auto test case layers to search for | [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/WorkItemLayerApiResult.md b/docs/WorkItemLayerApiResult.md new file mode 100644 index 00000000..7a593898 --- /dev/null +++ b/docs/WorkItemLayerApiResult.md @@ -0,0 +1,13 @@ +# WorkItemLayerApiResult + +Model of auto test layer for use in responses. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | Name of the test pyramid layer. | +**source** | [**LayerSource**](LayerSource.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/WorkItemSelectApiModelFilter.md b/docs/WorkItemSelectApiModelFilter.md index b71c8aee..3b7e132c 100644 --- a/docs/WorkItemSelectApiModelFilter.md +++ b/docs/WorkItemSelectApiModelFilter.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **work_item_version_ids** | **[str], none_type** | Collection of identifiers work items versions. | [optional] **links** | [**WorkItemFilterApiModelLinks**](WorkItemFilterApiModelLinks.md) | | [optional] **external_metadata** | [**WorkItemFilterApiModelExternalMetadata**](WorkItemFilterApiModelExternalMetadata.md) | | [optional] +**layers** | **[str], none_type** | Specifies auto test case layers to search for | [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/WorkItemShortApiResult.md b/docs/WorkItemShortApiResult.md index ffa5abea..06770b8e 100644 --- a/docs/WorkItemShortApiResult.md +++ b/docs/WorkItemShortApiResult.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **created_date** | **datetime, none_type** | Date and time of Work Item creation | [optional] **modified_date** | **datetime, none_type** | Date and time of the latest modification of Work Item | [optional] **tag_names** | **[str], none_type** | Array of tag names of Work Item | [optional] +**layer** | [**WorkItemShortApiResultLayer**](WorkItemShortApiResultLayer.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/ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest.md b/docs/WorkItemShortApiResultLayer.md similarity index 72% rename from docs/ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest.md rename to docs/WorkItemShortApiResultLayer.md index f8bc7646..2576936b 100644 --- a/docs/ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest.md +++ b/docs/WorkItemShortApiResultLayer.md @@ -1,10 +1,12 @@ -# ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest +# WorkItemShortApiResultLayer +Test pyramid layer of Work Item ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**url** | **str** | Url of external issue | +**name** | **str** | Name of the test pyramid layer. | +**source** | [**LayerSource**](LayerSource.md) | | **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/genConfig.yml b/genConfig.yml index 52b4edb6..231065a6 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.6.1 +packageVersion: 7.7.0 projectName: "testit-api-client" diff --git a/run.sh b/run.sh index 9f4a5b22..da92feb1 100644 --- a/run.sh +++ b/run.sh @@ -2,7 +2,7 @@ # Настройка переменных FILE_NAME="cloud-swagger.json" -NEW_VERSION="7.6.1" +NEW_VERSION="7.7.0" GENERATOR="openapi-generator-cli-6.6.0.jar" if [ ! -f ".swagger/$FILE_NAME" ]; then diff --git a/setup.py b/setup.py index 9efb0b5d..6b13936b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ NAME = "testit-api-client" -VERSION = "7.6.1" +VERSION = "7.7.0" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ diff --git a/src/testit_api_client/__init__.py b/src/testit_api_client/__init__.py index f4f92376..c63d7535 100644 --- a/src/testit_api_client/__init__.py +++ b/src/testit_api_client/__init__.py @@ -10,7 +10,7 @@ """ -__version__ = "7.6.1" +__version__ = "7.7.0" # import ApiClient from testit_api_client.api_client import ApiClient diff --git a/src/testit_api_client/api/__init__.py b/src/testit_api_client/api/__init__.py index 30e3592e..dad211d1 100644 --- a/src/testit_api_client/api/__init__.py +++ b/src/testit_api_client/api/__init__.py @@ -1,3 +1,3 @@ # do not import all apis into this module because that uses a lot of memory and stack frames # if you need the ability to import all apis from one package, import them with -# from testit_api_client.apis import AIServicesAPIApi +# from testit_api_client.apis import AttachmentsApi diff --git a/src/testit_api_client/api/ai_services_api_api.py b/src/testit_api_client/api/ai_services_api_api.py deleted file mode 100644 index 010f62be..00000000 --- a/src/testit_api_client/api/ai_services_api_api.py +++ /dev/null @@ -1,182 +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.api_client import ApiClient, Endpoint as _Endpoint -from testit_api_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from testit_api_client.model.ai_service_model_api_result_i_reply import AIServiceModelApiResultIReply -from testit_api_client.model.api_v2_external_services_id_ai_models_post_request import ApiV2ExternalServicesIdAiModelsPostRequest -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails - - -class AIServicesAPIApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.api_v2_external_services_id_ai_models_post_endpoint = _Endpoint( - settings={ - 'response_type': (AIServiceModelApiResultIReply,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/external-services/{id}/ai/models', - 'operation_id': 'api_v2_external_services_id_ai_models_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'api_v2_external_services_id_ai_models_post_request', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'api_v2_external_services_id_ai_models_post_request': - (ApiV2ExternalServicesIdAiModelsPostRequest,), - }, - 'attribute_map': { - 'id': 'id', - }, - 'location_map': { - 'id': 'path', - 'api_v2_external_services_id_ai_models_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def api_v2_external_services_id_ai_models_post( - self, - id, - **kwargs - ): - """Ask for models with inquiry filter, cached # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_external_services_id_ai_models_post(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): - - Keyword Args: - api_v2_external_services_id_ai_models_post_request (ApiV2ExternalServicesIdAiModelsPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - AIServiceModelApiResultIReply - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.api_v2_external_services_id_ai_models_post_endpoint.call_with_http_info(**kwargs) - diff --git a/src/testit_api_client/api/project_failure_categories_api.py b/src/testit_api_client/api/configuration_parameters_api.py similarity index 72% rename from src/testit_api_client/api/project_failure_categories_api.py rename to src/testit_api_client/api/configuration_parameters_api.py index 98ff039f..29626847 100644 --- a/src/testit_api_client/api/project_failure_categories_api.py +++ b/src/testit_api_client/api/configuration_parameters_api.py @@ -21,16 +21,15 @@ none_type, validate_and_convert_types ) -from testit_api_client.model.api_v2_autotests_result_reasons_grouping_search_post_request import ApiV2AutotestsResultReasonsGroupingSearchPostRequest -from testit_api_client.model.api_v2_projects_project_id_autotests_failure_categories_post_request import ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest -from testit_api_client.model.api_v2_projects_project_id_autotests_failure_categories_put_request import ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest +from testit_api_client.model.api_v2_configuration_parameters_post_request import ApiV2ConfigurationParametersPostRequest +from testit_api_client.model.api_v2_configuration_parameters_search_post_request import ApiV2ConfigurationParametersSearchPostRequest +from testit_api_client.model.configuration_parameter_api_result import ConfigurationParameterApiResult +from testit_api_client.model.configuration_parameter_preview_api_result_i_reply import ConfigurationParameterPreviewApiResultIReply from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.project_detailed_failure_category_api_result import ProjectDetailedFailureCategoryApiResult -from testit_api_client.model.project_failure_category_group_item_api_result_reply import ProjectFailureCategoryGroupItemApiResultReply from testit_api_client.model.validation_problem_details import ValidationProblemDetails -class ProjectFailureCategoriesApi(object): +class ConfigurationParametersApi(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -41,25 +40,24 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.api_v2_projects_project_id_autotests_failure_categories_grouping_search_post_endpoint = _Endpoint( + self.api_v2_configuration_parameters_configuration_parameter_id_delete_endpoint = _Endpoint( settings={ - 'response_type': (ProjectFailureCategoryGroupItemApiResultReply,), + 'response_type': None, 'auth': [ 'PrivateToken', 'Identity.Application' ], - 'endpoint_path': '/api/v2/projects/{projectId}/autotests/failure-categories/grouping-search', - 'operation_id': 'api_v2_projects_project_id_autotests_failure_categories_grouping_search_post', - 'http_method': 'POST', + 'endpoint_path': '/api/v2/configuration-parameters/{configurationParameterId}', + 'operation_id': 'api_v2_configuration_parameters_configuration_parameter_id_delete', + 'http_method': 'DELETE', 'servers': None, }, params_map={ 'all': [ - 'project_id', - 'api_v2_autotests_result_reasons_grouping_search_post_request', + 'configuration_parameter_id', ], 'required': [ - 'project_id', + 'configuration_parameter_id', ], 'nullable': [ ], @@ -74,17 +72,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'project_id': + 'configuration_parameter_id': (str,), - 'api_v2_autotests_result_reasons_grouping_search_post_request': - (ApiV2AutotestsResultReasonsGroupingSearchPostRequest,), }, 'attribute_map': { - 'project_id': 'projectId', + 'configuration_parameter_id': 'configurationParameterId', }, 'location_map': { - 'project_id': 'path', - 'api_v2_autotests_result_reasons_grouping_search_post_request': 'body', + 'configuration_parameter_id': 'path', }, 'collection_format_map': { } @@ -93,32 +88,28 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [ - 'application/json' - ] + 'content_type': [], }, api_client=api_client ) - self.api_v2_projects_project_id_autotests_failure_categories_id_delete_endpoint = _Endpoint( + self.api_v2_configuration_parameters_configuration_parameter_id_get_endpoint = _Endpoint( settings={ - 'response_type': None, + 'response_type': (ConfigurationParameterApiResult,), 'auth': [ 'PrivateToken', 'Identity.Application' ], - 'endpoint_path': '/api/v2/projects/{projectId}/autotests/failure-categories/{id}', - 'operation_id': 'api_v2_projects_project_id_autotests_failure_categories_id_delete', - 'http_method': 'DELETE', + 'endpoint_path': '/api/v2/configuration-parameters/{configurationParameterId}', + 'operation_id': 'api_v2_configuration_parameters_configuration_parameter_id_get', + 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ - 'project_id', - 'id', + 'configuration_parameter_id', ], 'required': [ - 'project_id', - 'id', + 'configuration_parameter_id', ], 'nullable': [ ], @@ -133,18 +124,14 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'project_id': - (str,), - 'id': + 'configuration_parameter_id': (str,), }, 'attribute_map': { - 'project_id': 'projectId', - 'id': 'id', + 'configuration_parameter_id': 'configurationParameterId', }, 'location_map': { - 'project_id': 'path', - 'id': 'path', + 'configuration_parameter_id': 'path', }, 'collection_format_map': { } @@ -157,26 +144,25 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.api_v2_projects_project_id_autotests_failure_categories_id_get_endpoint = _Endpoint( + self.api_v2_configuration_parameters_configuration_parameter_id_put_endpoint = _Endpoint( settings={ - 'response_type': (ProjectDetailedFailureCategoryApiResult,), + 'response_type': None, 'auth': [ 'PrivateToken', 'Identity.Application' ], - 'endpoint_path': '/api/v2/projects/{projectId}/autotests/failure-categories/{id}', - 'operation_id': 'api_v2_projects_project_id_autotests_failure_categories_id_get', - 'http_method': 'GET', + 'endpoint_path': '/api/v2/configuration-parameters/{configurationParameterId}', + 'operation_id': 'api_v2_configuration_parameters_configuration_parameter_id_put', + 'http_method': 'PUT', 'servers': None, }, params_map={ 'all': [ - 'project_id', - 'id', + 'configuration_parameter_id', + 'api_v2_configuration_parameters_post_request', ], 'required': [ - 'project_id', - 'id', + 'configuration_parameter_id', ], 'nullable': [ ], @@ -191,18 +177,17 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'project_id': - (str,), - 'id': + 'configuration_parameter_id': (str,), + 'api_v2_configuration_parameters_post_request': + (ApiV2ConfigurationParametersPostRequest,), }, 'attribute_map': { - 'project_id': 'projectId', - 'id': 'id', + 'configuration_parameter_id': 'configurationParameterId', }, 'location_map': { - 'project_id': 'path', - 'id': 'path', + 'configuration_parameter_id': 'path', + 'api_v2_configuration_parameters_post_request': 'body', }, 'collection_format_map': { } @@ -211,30 +196,29 @@ def __init__(self, api_client=None): 'accept': [ 'application/json' ], - 'content_type': [], + 'content_type': [ + 'application/json' + ] }, api_client=api_client ) - self.api_v2_projects_project_id_autotests_failure_categories_post_endpoint = _Endpoint( + self.api_v2_configuration_parameters_post_endpoint = _Endpoint( settings={ - 'response_type': (ProjectDetailedFailureCategoryApiResult,), + 'response_type': (ConfigurationParameterApiResult,), 'auth': [ 'PrivateToken', 'Identity.Application' ], - 'endpoint_path': '/api/v2/projects/{projectId}/autotests/failure-categories', - 'operation_id': 'api_v2_projects_project_id_autotests_failure_categories_post', + 'endpoint_path': '/api/v2/configuration-parameters', + 'operation_id': 'api_v2_configuration_parameters_post', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'project_id', - 'api_v2_projects_project_id_autotests_failure_categories_post_request', - ], - 'required': [ - 'project_id', + 'api_v2_configuration_parameters_post_request', ], + 'required': [], 'nullable': [ ], 'enum': [ @@ -248,17 +232,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'project_id': - (str,), - 'api_v2_projects_project_id_autotests_failure_categories_post_request': - (ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest,), + 'api_v2_configuration_parameters_post_request': + (ApiV2ConfigurationParametersPostRequest,), }, 'attribute_map': { - 'project_id': 'projectId', }, 'location_map': { - 'project_id': 'path', - 'api_v2_projects_project_id_autotests_failure_categories_post_request': 'body', + 'api_v2_configuration_parameters_post_request': 'body', }, 'collection_format_map': { } @@ -273,26 +253,23 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.api_v2_projects_project_id_autotests_failure_categories_put_endpoint = _Endpoint( + self.api_v2_configuration_parameters_search_post_endpoint = _Endpoint( settings={ - 'response_type': None, + 'response_type': (ConfigurationParameterPreviewApiResultIReply,), 'auth': [ 'PrivateToken', 'Identity.Application' ], - 'endpoint_path': '/api/v2/projects/{projectId}/autotests/failure-categories', - 'operation_id': 'api_v2_projects_project_id_autotests_failure_categories_put', - 'http_method': 'PUT', + 'endpoint_path': '/api/v2/configuration-parameters/search', + 'operation_id': 'api_v2_configuration_parameters_search_post', + 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'project_id', - 'api_v2_projects_project_id_autotests_failure_categories_put_request', - ], - 'required': [ - 'project_id', + 'api_v2_configuration_parameters_search_post_request', ], + 'required': [], 'nullable': [ ], 'enum': [ @@ -306,17 +283,13 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'project_id': - (str,), - 'api_v2_projects_project_id_autotests_failure_categories_put_request': - (ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest,), + 'api_v2_configuration_parameters_search_post_request': + (ApiV2ConfigurationParametersSearchPostRequest,), }, 'attribute_map': { - 'project_id': 'projectId', }, 'location_map': { - 'project_id': 'path', - 'api_v2_projects_project_id_autotests_failure_categories_put_request': 'body', + 'api_v2_configuration_parameters_search_post_request': 'body', }, 'collection_format_map': { } @@ -332,24 +305,23 @@ def __init__(self, api_client=None): api_client=api_client ) - def api_v2_projects_project_id_autotests_failure_categories_grouping_search_post( + def api_v2_configuration_parameters_configuration_parameter_id_delete( self, - project_id, + configuration_parameter_id, **kwargs ): - """Get failure categories with support for filtering, sorting and grouping # noqa: E501 + """Deletes configuration parameter # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.api_v2_projects_project_id_autotests_failure_categories_grouping_search_post(project_id, async_req=True) + >>> thread = api.api_v2_configuration_parameters_configuration_parameter_id_delete(configuration_parameter_id, async_req=True) >>> result = thread.get() Args: - project_id (str): Internal (UUID) or global (integer) identifier + configuration_parameter_id (str): Keyword Args: - api_v2_autotests_result_reasons_grouping_search_post_request (ApiV2AutotestsResultReasonsGroupingSearchPostRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -382,7 +354,7 @@ def api_v2_projects_project_id_autotests_failure_categories_grouping_search_post async_req (bool): execute request asynchronously Returns: - ProjectFailureCategoryGroupItemApiResultReply + None If the method is called asynchronously, returns the request thread. """ @@ -411,27 +383,25 @@ def api_v2_projects_project_id_autotests_failure_categories_grouping_search_post '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - return self.api_v2_projects_project_id_autotests_failure_categories_grouping_search_post_endpoint.call_with_http_info(**kwargs) + kwargs['configuration_parameter_id'] = \ + configuration_parameter_id + return self.api_v2_configuration_parameters_configuration_parameter_id_delete_endpoint.call_with_http_info(**kwargs) - def api_v2_projects_project_id_autotests_failure_categories_id_delete( + def api_v2_configuration_parameters_configuration_parameter_id_get( self, - project_id, - id, + configuration_parameter_id, **kwargs ): - """Delete failure category # noqa: E501 + """Gets configuration parameter by its identifier # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.api_v2_projects_project_id_autotests_failure_categories_id_delete(project_id, id, async_req=True) + >>> thread = api.api_v2_configuration_parameters_configuration_parameter_id_get(configuration_parameter_id, async_req=True) >>> result = thread.get() Args: - project_id (str): Internal (UUID) or global (integer) identifier - id (str): + configuration_parameter_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -466,7 +436,7 @@ def api_v2_projects_project_id_autotests_failure_categories_id_delete( async_req (bool): execute request asynchronously Returns: - None + ConfigurationParameterApiResult If the method is called asynchronously, returns the request thread. """ @@ -495,31 +465,28 @@ def api_v2_projects_project_id_autotests_failure_categories_id_delete( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - kwargs['id'] = \ - id - return self.api_v2_projects_project_id_autotests_failure_categories_id_delete_endpoint.call_with_http_info(**kwargs) + kwargs['configuration_parameter_id'] = \ + configuration_parameter_id + return self.api_v2_configuration_parameters_configuration_parameter_id_get_endpoint.call_with_http_info(**kwargs) - def api_v2_projects_project_id_autotests_failure_categories_id_get( + def api_v2_configuration_parameters_configuration_parameter_id_put( self, - project_id, - id, + configuration_parameter_id, **kwargs ): - """Get failure category by ID # noqa: E501 + """Updates configuration parameter # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.api_v2_projects_project_id_autotests_failure_categories_id_get(project_id, id, async_req=True) + >>> thread = api.api_v2_configuration_parameters_configuration_parameter_id_put(configuration_parameter_id, async_req=True) >>> result = thread.get() Args: - project_id (str): Internal (UUID) or global (integer) identifier - id (str): + configuration_parameter_id (str): Keyword Args: + api_v2_configuration_parameters_post_request (ApiV2ConfigurationParametersPostRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -552,7 +519,7 @@ def api_v2_projects_project_id_autotests_failure_categories_id_get( async_req (bool): execute request asynchronously Returns: - ProjectDetailedFailureCategoryApiResult + None If the method is called asynchronously, returns the request thread. """ @@ -581,30 +548,25 @@ def api_v2_projects_project_id_autotests_failure_categories_id_get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - kwargs['id'] = \ - id - return self.api_v2_projects_project_id_autotests_failure_categories_id_get_endpoint.call_with_http_info(**kwargs) + kwargs['configuration_parameter_id'] = \ + configuration_parameter_id + return self.api_v2_configuration_parameters_configuration_parameter_id_put_endpoint.call_with_http_info(**kwargs) - def api_v2_projects_project_id_autotests_failure_categories_post( + def api_v2_configuration_parameters_post( self, - project_id, **kwargs ): - """Create failure category # noqa: E501 + """Creates new configuration parameter # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.api_v2_projects_project_id_autotests_failure_categories_post(project_id, async_req=True) + >>> thread = api.api_v2_configuration_parameters_post(async_req=True) >>> result = thread.get() - Args: - project_id (str): Internal (UUID) or global (integer) identifier Keyword Args: - api_v2_projects_project_id_autotests_failure_categories_post_request (ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest): [optional] + api_v2_configuration_parameters_post_request (ApiV2ConfigurationParametersPostRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -637,7 +599,7 @@ def api_v2_projects_project_id_autotests_failure_categories_post( async_req (bool): execute request asynchronously Returns: - ProjectDetailedFailureCategoryApiResult + ConfigurationParameterApiResult If the method is called asynchronously, returns the request thread. """ @@ -666,28 +628,23 @@ def api_v2_projects_project_id_autotests_failure_categories_post( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - return self.api_v2_projects_project_id_autotests_failure_categories_post_endpoint.call_with_http_info(**kwargs) + return self.api_v2_configuration_parameters_post_endpoint.call_with_http_info(**kwargs) - def api_v2_projects_project_id_autotests_failure_categories_put( + def api_v2_configuration_parameters_search_post( self, - project_id, **kwargs ): - """Update failure category # noqa: E501 + """Searches for configuration parameters # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.api_v2_projects_project_id_autotests_failure_categories_put(project_id, async_req=True) + >>> thread = api.api_v2_configuration_parameters_search_post(async_req=True) >>> result = thread.get() - Args: - project_id (str): Internal (UUID) or global (integer) identifier Keyword Args: - api_v2_projects_project_id_autotests_failure_categories_put_request (ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest): [optional] + api_v2_configuration_parameters_search_post_request (ApiV2ConfigurationParametersSearchPostRequest): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -720,7 +677,7 @@ def api_v2_projects_project_id_autotests_failure_categories_put( async_req (bool): execute request asynchronously Returns: - None + ConfigurationParameterPreviewApiResultIReply If the method is called asynchronously, returns the request thread. """ @@ -749,7 +706,5 @@ def api_v2_projects_project_id_autotests_failure_categories_put( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - return self.api_v2_projects_project_id_autotests_failure_categories_put_endpoint.call_with_http_info(**kwargs) + return self.api_v2_configuration_parameters_search_post_endpoint.call_with_http_info(**kwargs) diff --git a/src/testit_api_client/api/external_services_api.py b/src/testit_api_client/api/external_services_api.py deleted file mode 100644 index a53f84ae..00000000 --- a/src/testit_api_client/api/external_services_api.py +++ /dev/null @@ -1,162 +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.api_client import ApiClient, Endpoint as _Endpoint -from testit_api_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from testit_api_client.model.external_services_metadata_api_result import ExternalServicesMetadataApiResult -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails - - -class ExternalServicesApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.api_v2_external_services_metadata_get_endpoint = _Endpoint( - settings={ - 'response_type': (ExternalServicesMetadataApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/external-services/metadata', - 'operation_id': 'api_v2_external_services_metadata_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def api_v2_external_services_metadata_get( - self, - **kwargs - ): - """Retrieves the metadata for all available external services # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_external_services_metadata_get(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ExternalServicesMetadataApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_external_services_metadata_get_endpoint.call_with_http_info(**kwargs) - diff --git a/src/testit_api_client/api/failure_categories_api.py b/src/testit_api_client/api/failure_categories_api.py deleted file mode 100644 index 86307f36..00000000 --- a/src/testit_api_client/api/failure_categories_api.py +++ /dev/null @@ -1,1954 +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.api_client import ApiClient, Endpoint as _Endpoint -from testit_api_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from testit_api_client.model.api_v2_autotests_result_reasons_grouping_search_post_request import ApiV2AutotestsResultReasonsGroupingSearchPostRequest -from testit_api_client.model.api_v2_autotests_result_reasons_post_request import ApiV2AutotestsResultReasonsPostRequest -from testit_api_client.model.api_v2_autotests_result_reasons_put_request import ApiV2AutotestsResultReasonsPutRequest -from testit_api_client.model.api_v2_autotests_result_reasons_search_post_request import ApiV2AutotestsResultReasonsSearchPostRequest -from testit_api_client.model.autotest_result_reason_short_get_model import AutotestResultReasonShortGetModel -from testit_api_client.model.failure_category_api_result import FailureCategoryApiResult -from testit_api_client.model.failure_category_group_item_api_result_reply import FailureCategoryGroupItemApiResultReply -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails - - -class FailureCategoriesApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.api_v2_autotests_failure_categories_grouping_search_post_endpoint = _Endpoint( - settings={ - 'response_type': (FailureCategoryGroupItemApiResultReply,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/failure-categories/grouping-search', - 'operation_id': 'api_v2_autotests_failure_categories_grouping_search_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'api_v2_autotests_result_reasons_grouping_search_post_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'api_v2_autotests_result_reasons_grouping_search_post_request': - (ApiV2AutotestsResultReasonsGroupingSearchPostRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'api_v2_autotests_result_reasons_grouping_search_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_autotests_failure_categories_id_delete_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/failure-categories/{id}', - 'operation_id': 'api_v2_autotests_failure_categories_id_delete', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - }, - 'attribute_map': { - 'id': 'id', - }, - 'location_map': { - 'id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_autotests_failure_categories_id_get_endpoint = _Endpoint( - settings={ - 'response_type': (FailureCategoryApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/failure-categories/{id}', - 'operation_id': 'api_v2_autotests_failure_categories_id_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'is_deleted', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'is_deleted': - (bool,), - }, - 'attribute_map': { - 'id': 'id', - 'is_deleted': 'isDeleted', - }, - 'location_map': { - 'id': 'path', - 'is_deleted': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_autotests_failure_categories_name_name_exists_get_endpoint = _Endpoint( - settings={ - 'response_type': (bool,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/failure-categories/name/{name}/exists', - 'operation_id': 'api_v2_autotests_failure_categories_name_name_exists_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'name', - ], - 'required': [ - 'name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'name': - (str,), - }, - 'attribute_map': { - 'name': 'name', - }, - 'location_map': { - 'name': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_autotests_failure_categories_post_endpoint = _Endpoint( - settings={ - 'response_type': (FailureCategoryApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/failure-categories', - 'operation_id': 'api_v2_autotests_failure_categories_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'api_v2_autotests_result_reasons_post_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'api_v2_autotests_result_reasons_post_request': - (ApiV2AutotestsResultReasonsPostRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'api_v2_autotests_result_reasons_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_autotests_failure_categories_put_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/failure-categories', - 'operation_id': 'api_v2_autotests_failure_categories_put', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'api_v2_autotests_result_reasons_put_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'api_v2_autotests_result_reasons_put_request': - (ApiV2AutotestsResultReasonsPutRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'api_v2_autotests_result_reasons_put_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_autotests_failure_categories_search_post_endpoint = _Endpoint( - settings={ - 'response_type': ([AutotestResultReasonShortGetModel],), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/failure-categories/search', - 'operation_id': 'api_v2_autotests_failure_categories_search_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'skip', - 'take', - 'order_by', - 'search_field', - 'search_value', - 'api_v2_autotests_result_reasons_search_post_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'skip': - (int,), - 'take': - (int,), - 'order_by': - (str,), - 'search_field': - (str,), - 'search_value': - (str,), - 'api_v2_autotests_result_reasons_search_post_request': - (ApiV2AutotestsResultReasonsSearchPostRequest,), - }, - 'attribute_map': { - 'skip': 'Skip', - 'take': 'Take', - 'order_by': 'OrderBy', - 'search_field': 'SearchField', - 'search_value': 'SearchValue', - }, - 'location_map': { - 'skip': 'query', - 'take': 'query', - 'order_by': 'query', - 'search_field': 'query', - 'search_value': 'query', - 'api_v2_autotests_result_reasons_search_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_autotests_result_reasons_grouping_search_post_endpoint = _Endpoint( - settings={ - 'response_type': (FailureCategoryGroupItemApiResultReply,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/resultReasons/grouping-search', - 'operation_id': 'api_v2_autotests_result_reasons_grouping_search_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'api_v2_autotests_result_reasons_grouping_search_post_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'api_v2_autotests_result_reasons_grouping_search_post_request': - (ApiV2AutotestsResultReasonsGroupingSearchPostRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'api_v2_autotests_result_reasons_grouping_search_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_autotests_result_reasons_id_delete_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/resultReasons/{id}', - 'operation_id': 'api_v2_autotests_result_reasons_id_delete', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - }, - 'attribute_map': { - 'id': 'id', - }, - 'location_map': { - 'id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_autotests_result_reasons_id_get_endpoint = _Endpoint( - settings={ - 'response_type': (FailureCategoryApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/resultReasons/{id}', - 'operation_id': 'api_v2_autotests_result_reasons_id_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'is_deleted', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'is_deleted': - (bool,), - }, - 'attribute_map': { - 'id': 'id', - 'is_deleted': 'isDeleted', - }, - 'location_map': { - 'id': 'path', - 'is_deleted': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_autotests_result_reasons_name_name_exists_get_endpoint = _Endpoint( - settings={ - 'response_type': (bool,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/resultReasons/name/{name}/exists', - 'operation_id': 'api_v2_autotests_result_reasons_name_name_exists_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'name', - ], - 'required': [ - 'name', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'name': - (str,), - }, - 'attribute_map': { - 'name': 'name', - }, - 'location_map': { - 'name': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_autotests_result_reasons_post_endpoint = _Endpoint( - settings={ - 'response_type': (FailureCategoryApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/resultReasons', - 'operation_id': 'api_v2_autotests_result_reasons_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'api_v2_autotests_result_reasons_post_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'api_v2_autotests_result_reasons_post_request': - (ApiV2AutotestsResultReasonsPostRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'api_v2_autotests_result_reasons_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_autotests_result_reasons_put_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/resultReasons', - 'operation_id': 'api_v2_autotests_result_reasons_put', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'api_v2_autotests_result_reasons_put_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'api_v2_autotests_result_reasons_put_request': - (ApiV2AutotestsResultReasonsPutRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'api_v2_autotests_result_reasons_put_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_autotests_result_reasons_search_post_endpoint = _Endpoint( - settings={ - 'response_type': ([AutotestResultReasonShortGetModel],), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/autotests/resultReasons/search', - 'operation_id': 'api_v2_autotests_result_reasons_search_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'skip', - 'take', - 'order_by', - 'search_field', - 'search_value', - 'api_v2_autotests_result_reasons_search_post_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'skip': - (int,), - 'take': - (int,), - 'order_by': - (str,), - 'search_field': - (str,), - 'search_value': - (str,), - 'api_v2_autotests_result_reasons_search_post_request': - (ApiV2AutotestsResultReasonsSearchPostRequest,), - }, - 'attribute_map': { - 'skip': 'Skip', - 'take': 'Take', - 'order_by': 'OrderBy', - 'search_field': 'SearchField', - 'search_value': 'SearchValue', - }, - 'location_map': { - 'skip': 'query', - 'take': 'query', - 'order_by': 'query', - 'search_field': 'query', - 'search_value': 'query', - 'api_v2_autotests_result_reasons_search_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def api_v2_autotests_failure_categories_grouping_search_post( - self, - **kwargs - ): - """Get failure categories with support for filtering, sorting and grouping # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_failure_categories_grouping_search_post(async_req=True) - >>> result = thread.get() - - - Keyword Args: - api_v2_autotests_result_reasons_grouping_search_post_request (ApiV2AutotestsResultReasonsGroupingSearchPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - FailureCategoryGroupItemApiResultReply - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_failure_categories_grouping_search_post_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_failure_categories_id_delete( - self, - id, - **kwargs - ): - """Delete failure category # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_failure_categories_id_delete(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.api_v2_autotests_failure_categories_id_delete_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_failure_categories_id_get( - self, - id, - **kwargs - ): - """Get failure category by ID # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_failure_categories_id_get(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): - - Keyword Args: - is_deleted (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - FailureCategoryApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.api_v2_autotests_failure_categories_id_get_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_failure_categories_name_name_exists_get( - self, - name, - **kwargs - ): - """Check failure category with the specified name already exists # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_failure_categories_name_name_exists_get(name, async_req=True) - >>> result = thread.get() - - Args: - name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - bool - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['name'] = \ - name - return self.api_v2_autotests_failure_categories_name_name_exists_get_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_failure_categories_post( - self, - **kwargs - ): - """Create failure category # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_failure_categories_post(async_req=True) - >>> result = thread.get() - - - Keyword Args: - api_v2_autotests_result_reasons_post_request (ApiV2AutotestsResultReasonsPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - FailureCategoryApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_failure_categories_post_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_failure_categories_put( - self, - **kwargs - ): - """Update failure category # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_failure_categories_put(async_req=True) - >>> result = thread.get() - - - Keyword Args: - api_v2_autotests_result_reasons_put_request (ApiV2AutotestsResultReasonsPutRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_failure_categories_put_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_failure_categories_search_post( - self, - **kwargs - ): - """api_v2_autotests_failure_categories_search_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_failure_categories_search_post(async_req=True) - >>> result = thread.get() - - - Keyword Args: - skip (int): Amount of items to be skipped (offset). [optional] - take (int): Amount of items to be taken (limit). [optional] - order_by (str): SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC). [optional] - search_field (str): Property name for searching. [optional] - search_value (str): Value for searching. [optional] - api_v2_autotests_result_reasons_search_post_request (ApiV2AutotestsResultReasonsSearchPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [AutotestResultReasonShortGetModel] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_failure_categories_search_post_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_result_reasons_grouping_search_post( - self, - **kwargs - ): - """Get failure categories with support for filtering, sorting and grouping # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_result_reasons_grouping_search_post(async_req=True) - >>> result = thread.get() - - - Keyword Args: - api_v2_autotests_result_reasons_grouping_search_post_request (ApiV2AutotestsResultReasonsGroupingSearchPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - FailureCategoryGroupItemApiResultReply - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_result_reasons_grouping_search_post_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_result_reasons_id_delete( - self, - id, - **kwargs - ): - """Delete failure category # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_result_reasons_id_delete(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.api_v2_autotests_result_reasons_id_delete_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_result_reasons_id_get( - self, - id, - **kwargs - ): - """Get failure category by ID # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_result_reasons_id_get(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): - - Keyword Args: - is_deleted (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - FailureCategoryApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.api_v2_autotests_result_reasons_id_get_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_result_reasons_name_name_exists_get( - self, - name, - **kwargs - ): - """Check failure category with the specified name already exists # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_result_reasons_name_name_exists_get(name, async_req=True) - >>> result = thread.get() - - Args: - name (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - bool - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['name'] = \ - name - return self.api_v2_autotests_result_reasons_name_name_exists_get_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_result_reasons_post( - self, - **kwargs - ): - """Create failure category # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_result_reasons_post(async_req=True) - >>> result = thread.get() - - - Keyword Args: - api_v2_autotests_result_reasons_post_request (ApiV2AutotestsResultReasonsPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - FailureCategoryApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_result_reasons_post_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_result_reasons_put( - self, - **kwargs - ): - """Update failure category # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_result_reasons_put(async_req=True) - >>> result = thread.get() - - - Keyword Args: - api_v2_autotests_result_reasons_put_request (ApiV2AutotestsResultReasonsPutRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_result_reasons_put_endpoint.call_with_http_info(**kwargs) - - def api_v2_autotests_result_reasons_search_post( - self, - **kwargs - ): - """api_v2_autotests_result_reasons_search_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_autotests_result_reasons_search_post(async_req=True) - >>> result = thread.get() - - - Keyword Args: - skip (int): Amount of items to be skipped (offset). [optional] - take (int): Amount of items to be taken (limit). [optional] - order_by (str): SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC). [optional] - search_field (str): Property name for searching. [optional] - search_value (str): Value for searching. [optional] - api_v2_autotests_result_reasons_search_post_request (ApiV2AutotestsResultReasonsSearchPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [AutotestResultReasonShortGetModel] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_autotests_result_reasons_search_post_endpoint.call_with_http_info(**kwargs) - diff --git a/src/testit_api_client/api/project_external_services_api.py b/src/testit_api_client/api/project_external_services_api.py deleted file mode 100644 index dc05a345..00000000 --- a/src/testit_api_client/api/project_external_services_api.py +++ /dev/null @@ -1,918 +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.api_client import ApiClient, Endpoint as _Endpoint -from testit_api_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from testit_api_client.model.api_external_service_category import ApiExternalServiceCategory -from testit_api_client.model.api_v2_projects_id_external_services_external_service_id_patch_request import ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest -from testit_api_client.model.api_v2_projects_id_external_services_external_service_id_put_request import ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest -from testit_api_client.model.api_v2_projects_id_external_services_issues_search_post_request import ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest -from testit_api_client.model.external_issue_api_result import ExternalIssueApiResult -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.project_external_service_settings_api_result import ProjectExternalServiceSettingsApiResult -from testit_api_client.model.project_external_services_api_result import ProjectExternalServicesApiResult -from testit_api_client.model.validation_problem_details import ValidationProblemDetails - - -class ProjectExternalServicesApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.api_v2_projects_id_external_services_external_service_id_delete_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{id}/external-services/{externalServiceId}', - 'operation_id': 'api_v2_projects_id_external_services_external_service_id_delete', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'external_service_id', - ], - 'required': [ - 'id', - 'external_service_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'external_service_id': - (str,), - }, - 'attribute_map': { - 'id': 'id', - 'external_service_id': 'externalServiceId', - }, - 'location_map': { - 'id': 'path', - 'external_service_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_projects_id_external_services_external_service_id_get_endpoint = _Endpoint( - settings={ - 'response_type': (ProjectExternalServiceSettingsApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{id}/external-services/{externalServiceId}', - 'operation_id': 'api_v2_projects_id_external_services_external_service_id_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'external_service_id', - ], - 'required': [ - 'id', - 'external_service_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'external_service_id': - (str,), - }, - 'attribute_map': { - 'id': 'id', - 'external_service_id': 'externalServiceId', - }, - 'location_map': { - 'id': 'path', - 'external_service_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_projects_id_external_services_external_service_id_patch_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{id}/external-services/{externalServiceId}', - 'operation_id': 'api_v2_projects_id_external_services_external_service_id_patch', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'external_service_id', - 'api_v2_projects_id_external_services_external_service_id_patch_request', - ], - 'required': [ - 'id', - 'external_service_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'external_service_id': - (str,), - 'api_v2_projects_id_external_services_external_service_id_patch_request': - (ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest,), - }, - 'attribute_map': { - 'id': 'id', - 'external_service_id': 'externalServiceId', - }, - 'location_map': { - 'id': 'path', - 'external_service_id': 'path', - 'api_v2_projects_id_external_services_external_service_id_patch_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_projects_id_external_services_external_service_id_put_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{id}/external-services/{externalServiceId}', - 'operation_id': 'api_v2_projects_id_external_services_external_service_id_put', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'external_service_id', - 'api_v2_projects_id_external_services_external_service_id_put_request', - ], - 'required': [ - 'id', - 'external_service_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'external_service_id': - (str,), - 'api_v2_projects_id_external_services_external_service_id_put_request': - (ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest,), - }, - 'attribute_map': { - 'id': 'id', - 'external_service_id': 'externalServiceId', - }, - 'location_map': { - 'id': 'path', - 'external_service_id': 'path', - 'api_v2_projects_id_external_services_external_service_id_put_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_projects_id_external_services_get_endpoint = _Endpoint( - settings={ - 'response_type': (ProjectExternalServicesApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{id}/external-services', - 'operation_id': 'api_v2_projects_id_external_services_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'category', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'category': - (ApiExternalServiceCategory,), - }, - 'attribute_map': { - 'id': 'id', - 'category': 'category', - }, - 'location_map': { - 'id': 'path', - 'category': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_projects_id_external_services_issues_search_post_endpoint = _Endpoint( - settings={ - 'response_type': ([ExternalIssueApiResult],), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{id}/external-services/issues/search', - 'operation_id': 'api_v2_projects_id_external_services_issues_search_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'id', - 'api_v2_projects_id_external_services_issues_search_post_request', - ], - 'required': [ - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'id': - (str,), - 'api_v2_projects_id_external_services_issues_search_post_request': - (ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest,), - }, - 'attribute_map': { - 'id': 'id', - }, - 'location_map': { - 'id': 'path', - 'api_v2_projects_id_external_services_issues_search_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def api_v2_projects_id_external_services_external_service_id_delete( - self, - id, - external_service_id, - **kwargs - ): - """Disable an external service # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_id_external_services_external_service_id_delete(id, external_service_id, async_req=True) - >>> result = thread.get() - - Args: - id (str): Project ID - external_service_id (str): External service ID - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['external_service_id'] = \ - external_service_id - return self.api_v2_projects_id_external_services_external_service_id_delete_endpoint.call_with_http_info(**kwargs) - - def api_v2_projects_id_external_services_external_service_id_get( - self, - id, - external_service_id, - **kwargs - ): - """Retrieves settings of an external service # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_id_external_services_external_service_id_get(id, external_service_id, async_req=True) - >>> result = thread.get() - - Args: - id (str): Project ID - external_service_id (str): External service ID - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ProjectExternalServiceSettingsApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['external_service_id'] = \ - external_service_id - return self.api_v2_projects_id_external_services_external_service_id_get_endpoint.call_with_http_info(**kwargs) - - def api_v2_projects_id_external_services_external_service_id_patch( - self, - id, - external_service_id, - **kwargs - ): - """Replaces one active external service with another # noqa: E501 - - See RFC 6902: JavaScript Object Notation (JSON) Patch for details # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_id_external_services_external_service_id_patch(id, external_service_id, async_req=True) - >>> result = thread.get() - - Args: - id (str): Project ID - external_service_id (str): External service ID - - Keyword Args: - api_v2_projects_id_external_services_external_service_id_patch_request (ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['external_service_id'] = \ - external_service_id - return self.api_v2_projects_id_external_services_external_service_id_patch_endpoint.call_with_http_info(**kwargs) - - def api_v2_projects_id_external_services_external_service_id_put( - self, - id, - external_service_id, - **kwargs - ): - """Enable an external service # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_id_external_services_external_service_id_put(id, external_service_id, async_req=True) - >>> result = thread.get() - - Args: - id (str): Project ID - external_service_id (str): External service ID - - Keyword Args: - api_v2_projects_id_external_services_external_service_id_put_request (ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - kwargs['external_service_id'] = \ - external_service_id - return self.api_v2_projects_id_external_services_external_service_id_put_endpoint.call_with_http_info(**kwargs) - - def api_v2_projects_id_external_services_get( - self, - id, - **kwargs - ): - """Retrieves information about external services, including their integration status (enabled or not) # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_id_external_services_get(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): Project ID - - Keyword Args: - category (ApiExternalServiceCategory): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - ProjectExternalServicesApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.api_v2_projects_id_external_services_get_endpoint.call_with_http_info(**kwargs) - - def api_v2_projects_id_external_services_issues_search_post( - self, - id, - **kwargs - ): - """Searches for external issues using enabled external services in project # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_id_external_services_issues_search_post(id, async_req=True) - >>> result = thread.get() - - Args: - id (str): Internal (UUID) or global (integer) identifier - - Keyword Args: - api_v2_projects_id_external_services_issues_search_post_request (ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - [ExternalIssueApiResult] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['id'] = \ - id - return self.api_v2_projects_id_external_services_issues_search_post_endpoint.call_with_http_info(**kwargs) - diff --git a/src/testit_api_client/api/project_test_plan_test_points_api.py b/src/testit_api_client/api/project_test_plan_test_points_api.py index 77fbe672..2e7e2f55 100644 --- a/src/testit_api_client/api/project_test_plan_test_points_api.py +++ b/src/testit_api_client/api/project_test_plan_test_points_api.py @@ -21,14 +21,9 @@ none_type, validate_and_convert_types ) -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRerunPostRequest from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRunPostRequest -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.test_plan_test_points_analytics_api_result import TestPlanTestPointsAnalyticsApiResult -from testit_api_client.model.test_plan_test_points_group_search_api_result import TestPlanTestPointsGroupSearchApiResult from testit_api_client.model.test_run_name_api_result import TestRunNameApiResult from testit_api_client.model.validation_problem_details import ValidationProblemDetails @@ -44,70 +39,6 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_endpoint = _Endpoint( - settings={ - 'response_type': (TestPlanTestPointsAnalyticsApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/analytics', - 'operation_id': 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'project_id', - 'test_plan_id', - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request', - ], - 'required': [ - 'project_id', - 'test_plan_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'project_id': - (str,), - 'test_plan_id': - (str,), - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request': - (ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest,), - }, - 'attribute_map': { - 'project_id': 'projectId', - 'test_plan_id': 'testPlanId', - }, - 'location_map': { - 'project_id': 'path', - 'test_plan_id': 'path', - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post_endpoint = _Endpoint( settings={ 'response_type': None, @@ -236,221 +167,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_endpoint = _Endpoint( - settings={ - 'response_type': (TestPlanTestPointsGroupSearchApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/grouping-search', - 'operation_id': 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'project_id', - 'test_plan_id', - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request', - ], - 'required': [ - 'project_id', - 'test_plan_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'project_id': - (str,), - 'test_plan_id': - (str,), - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request': - (ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest,), - }, - 'attribute_map': { - 'project_id': 'projectId', - 'test_plan_id': 'testPlanId', - }, - 'location_map': { - 'project_id': 'path', - 'test_plan_id': 'path', - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{projectId}/test-plans/{testPlanId}/test-points/testers', - 'operation_id': 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'project_id', - 'test_plan_id', - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request', - ], - 'required': [ - 'project_id', - 'test_plan_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'project_id': - (str,), - 'test_plan_id': - (str,), - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request': - (ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest,), - }, - 'attribute_map': { - 'project_id': 'projectId', - 'test_plan_id': 'testPlanId', - }, - 'location_map': { - 'project_id': 'path', - 'test_plan_id': 'path', - 'api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post( - self, - project_id, - test_plan_id, - **kwargs - ): - """Get test points analytics. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post(project_id, test_plan_id, async_req=True) - >>> result = thread.get() - - Args: - project_id (str): Internal (UUID) or global (integer) identifier - test_plan_id (str): - - Keyword Args: - api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request (ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - TestPlanTestPointsAnalyticsApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - kwargs['test_plan_id'] = \ - test_plan_id - return self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_endpoint.call_with_http_info(**kwargs) def api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post( self, @@ -626,177 +342,3 @@ def api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run test_plan_id return self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run_post_endpoint.call_with_http_info(**kwargs) - def api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post( - self, - project_id, - test_plan_id, - **kwargs - ): - """Search test points in test plan. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post(project_id, test_plan_id, async_req=True) - >>> result = thread.get() - - Args: - project_id (str): Internal (UUID) or global (integer) identifier - test_plan_id (str): - - Keyword Args: - api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request (ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - TestPlanTestPointsGroupSearchApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - kwargs['test_plan_id'] = \ - test_plan_id - return self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_endpoint.call_with_http_info(**kwargs) - - def api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post( - self, - project_id, - test_plan_id, - **kwargs - ): - """Distribute test points between the users. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post(project_id, test_plan_id, async_req=True) - >>> result = thread.get() - - Args: - project_id (str): Internal (UUID) or global (integer) identifier - test_plan_id (str): - - Keyword Args: - api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request (ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - kwargs['test_plan_id'] = \ - test_plan_id - return self.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_endpoint.call_with_http_info(**kwargs) - diff --git a/src/testit_api_client/api/project_work_items_api.py b/src/testit_api_client/api/project_work_items_api.py index 04d88179..c93535b3 100644 --- a/src/testit_api_client/api/project_work_items_api.py +++ b/src/testit_api_client/api/project_work_items_api.py @@ -21,12 +21,9 @@ none_type, validate_and_convert_types ) -from testit_api_client.model.api_v2_projects_project_id_work_items_previews_bulk_post_request import ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest -from testit_api_client.model.api_v2_projects_project_id_work_items_previews_post_request import ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest from testit_api_client.model.api_v2_projects_project_id_work_items_search_grouped_post_request import ApiV2ProjectsProjectIdWorkItemsSearchGroupedPostRequest from testit_api_client.model.api_v2_projects_project_id_work_items_search_id_post_request import ApiV2ProjectsProjectIdWorkItemsSearchIdPostRequest from testit_api_client.model.api_v2_projects_project_id_work_items_search_post_request import ApiV2ProjectsProjectIdWorkItemsSearchPostRequest -from testit_api_client.model.generate_work_item_previews_api_result import GenerateWorkItemPreviewsApiResult from testit_api_client.model.problem_details import ProblemDetails from testit_api_client.model.tag_short_api_result import TagShortApiResult from testit_api_client.model.validation_problem_details import ValidationProblemDetails @@ -47,122 +44,6 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.api_v2_projects_project_id_work_items_previews_bulk_post_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{projectId}/work-items/previews/bulk', - 'operation_id': 'api_v2_projects_project_id_work_items_previews_bulk_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'project_id', - 'api_v2_projects_project_id_work_items_previews_bulk_post_request', - ], - 'required': [ - 'project_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'project_id': - (str,), - 'api_v2_projects_project_id_work_items_previews_bulk_post_request': - (ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest,), - }, - 'attribute_map': { - 'project_id': 'projectId', - }, - 'location_map': { - 'project_id': 'path', - 'api_v2_projects_project_id_work_items_previews_bulk_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.api_v2_projects_project_id_work_items_previews_post_endpoint = _Endpoint( - settings={ - 'response_type': (GenerateWorkItemPreviewsApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/projects/{projectId}/work-items/previews', - 'operation_id': 'api_v2_projects_project_id_work_items_previews_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'project_id', - 'api_v2_projects_project_id_work_items_previews_post_request', - ], - 'required': [ - 'project_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'project_id': - (str,), - 'api_v2_projects_project_id_work_items_previews_post_request': - (ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest,), - }, - 'attribute_map': { - 'project_id': 'projectId', - }, - 'location_map': { - 'project_id': 'path', - 'api_v2_projects_project_id_work_items_previews_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) self.api_v2_projects_project_id_work_items_search_grouped_post_endpoint = _Endpoint( settings={ 'response_type': ([WorkItemGroupModel],), @@ -652,172 +533,6 @@ def __init__(self, api_client=None): api_client=api_client ) - def api_v2_projects_project_id_work_items_previews_bulk_post( - self, - project_id, - **kwargs - ): - """api_v2_projects_project_id_work_items_previews_bulk_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_project_id_work_items_previews_bulk_post(project_id, async_req=True) - >>> result = thread.get() - - Args: - project_id (str): Internal (UUID) or global (integer) identifier - - Keyword Args: - api_v2_projects_project_id_work_items_previews_bulk_post_request (ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - return self.api_v2_projects_project_id_work_items_previews_bulk_post_endpoint.call_with_http_info(**kwargs) - - def api_v2_projects_project_id_work_items_previews_post( - self, - project_id, - **kwargs - ): - """api_v2_projects_project_id_work_items_previews_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_projects_project_id_work_items_previews_post(project_id, async_req=True) - >>> result = thread.get() - - Args: - project_id (str): Internal (UUID) or global (integer) identifier - - Keyword Args: - api_v2_projects_project_id_work_items_previews_post_request (ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - GenerateWorkItemPreviewsApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['project_id'] = \ - project_id - return self.api_v2_projects_project_id_work_items_previews_post_endpoint.call_with_http_info(**kwargs) - def api_v2_projects_project_id_work_items_search_grouped_post( self, project_id, diff --git a/src/testit_api_client/api/test_runs_api.py b/src/testit_api_client/api/test_runs_api.py index 1a55a033..bff3e9f6 100644 --- a/src/testit_api_client/api/test_runs_api.py +++ b/src/testit_api_client/api/test_runs_api.py @@ -21,7 +21,6 @@ none_type, validate_and_convert_types ) -from testit_api_client.model.api_v2_test_runs_by_auto_test_cases_post_request import ApiV2TestRunsByAutoTestCasesPostRequest from testit_api_client.model.api_v2_test_runs_delete_request import ApiV2TestRunsDeleteRequest from testit_api_client.model.api_v2_test_runs_id_reruns_post_request import ApiV2TestRunsIdRerunsPostRequest from testit_api_client.model.api_v2_test_runs_id_statistics_filter_post_request import ApiV2TestRunsIdStatisticsFilterPostRequest @@ -56,57 +55,6 @@ def __init__(self, api_client=None): if api_client is None: api_client = ApiClient() self.api_client = api_client - self.api_v2_test_runs_by_auto_test_cases_post_endpoint = _Endpoint( - settings={ - 'response_type': (TestRunV2ApiResult,), - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/testRuns/byAutoTestCases', - 'operation_id': 'api_v2_test_runs_by_auto_test_cases_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'api_v2_test_runs_by_auto_test_cases_post_request', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'api_v2_test_runs_by_auto_test_cases_post_request': - (ApiV2TestRunsByAutoTestCasesPostRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'api_v2_test_runs_by_auto_test_cases_post_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) self.api_v2_test_runs_delete_endpoint = _Endpoint( settings={ 'response_type': (int,), @@ -1453,84 +1401,6 @@ def __init__(self, api_client=None): api_client=api_client ) - def api_v2_test_runs_by_auto_test_cases_post( - self, - **kwargs - ): - """Create TestRun filled with autotests linked to work items of type \"AutoTestCases\" selected by the filter # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_test_runs_by_auto_test_cases_post(async_req=True) - >>> result = thread.get() - - - Keyword Args: - api_v2_test_runs_by_auto_test_cases_post_request (ApiV2TestRunsByAutoTestCasesPostRequest): Test run model with a filter for work items of type \"AutoTestCases\" and configuration IDs. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - TestRunV2ApiResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - return self.api_v2_test_runs_by_auto_test_cases_post_endpoint.call_with_http_info(**kwargs) - def api_v2_test_runs_delete( self, **kwargs diff --git a/src/testit_api_client/api/user_storages_api.py b/src/testit_api_client/api/user_storages_api.py deleted file mode 100644 index 2c50f750..00000000 --- a/src/testit_api_client/api/user_storages_api.py +++ /dev/null @@ -1,315 +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.api_client import ApiClient, Endpoint as _Endpoint -from testit_api_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from testit_api_client.model.problem_details import ProblemDetails -from testit_api_client.model.validation_problem_details import ValidationProblemDetails - - -class UserStoragesApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.api_v2_user_storages_resource_get_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/user-storages/{resource}', - 'operation_id': 'api_v2_user_storages_resource_get', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'resource', - ], - 'required': [ - 'resource', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'resource', - ] - }, - root_map={ - 'validations': { - ('resource',): { - 'max_length': 128, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'resource': - (str,), - }, - 'attribute_map': { - 'resource': 'resource', - }, - 'location_map': { - 'resource': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.api_v2_user_storages_resource_post_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'PrivateToken', - 'Identity.Application' - ], - 'endpoint_path': '/api/v2/user-storages/{resource}', - 'operation_id': 'api_v2_user_storages_resource_post', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'resource', - ], - 'required': [ - 'resource', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'resource', - ] - }, - root_map={ - 'validations': { - ('resource',): { - 'max_length': 128, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'resource': - (str,), - }, - 'attribute_map': { - 'resource': 'resource', - }, - 'location_map': { - 'resource': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def api_v2_user_storages_resource_get( - self, - resource, - **kwargs - ): - """api_v2_user_storages_resource_get # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_user_storages_resource_get(resource, async_req=True) - >>> result = thread.get() - - Args: - resource (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['resource'] = \ - resource - return self.api_v2_user_storages_resource_get_endpoint.call_with_http_info(**kwargs) - - def api_v2_user_storages_resource_post( - self, - resource, - **kwargs - ): - """api_v2_user_storages_resource_post # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.api_v2_user_storages_resource_post(resource, async_req=True) - >>> result = thread.get() - - Args: - resource (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['resource'] = \ - resource - return self.api_v2_user_storages_resource_post_endpoint.call_with_http_info(**kwargs) - diff --git a/src/testit_api_client/api_client.py b/src/testit_api_client/api_client.py index 45c2a3fe..8e25f3d2 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.6.1/python' + self.user_agent = 'OpenAPI-Generator/7.7.0/python' def __enter__(self): return self @@ -803,11 +803,11 @@ def __call__(self, *args, **kwargs): """ This method is invoked when endpoints are called Example: - api_instance = AIServicesAPIApi() - api_instance.api_v2_external_services_id_ai_models_post # this is an instance of the class Endpoint - api_instance.api_v2_external_services_id_ai_models_post() # this invokes api_instance.api_v2_external_services_id_ai_models_post.__call__() + api_instance = AttachmentsApi() + api_instance.api_v2_attachments_id_delete # this is an instance of the class Endpoint + api_instance.api_v2_attachments_id_delete() # this invokes api_instance.api_v2_attachments_id_delete.__call__() which then invokes the callable functions stored in that endpoint at - api_instance.api_v2_external_services_id_ai_models_post.callable or self.callable in this class + api_instance.api_v2_attachments_id_delete.callable or self.callable in this class """ return self.callable(self, *args, **kwargs) diff --git a/src/testit_api_client/apis/__init__.py b/src/testit_api_client/apis/__init__.py index 15a6f741..f2238c1c 100644 --- a/src/testit_api_client/apis/__init__.py +++ b/src/testit_api_client/apis/__init__.py @@ -6,7 +6,7 @@ # raise a `RecursionError`. # In order to avoid this, import only the API that you directly need like: # -# from testit_api_client.api.ai_services_api_api import AIServicesAPIApi +# from testit_api_client.api.attachments_api import AttachmentsApi # # or import this package, but before doing it, use: # @@ -14,24 +14,20 @@ # sys.setrecursionlimit(n) # Import APIs into API package: -from testit_api_client.api.ai_services_api_api import AIServicesAPIApi from testit_api_client.api.attachments_api import AttachmentsApi from testit_api_client.api.auto_tests_api import AutoTestsApi from testit_api_client.api.background_jobs_api import BackgroundJobsApi +from testit_api_client.api.configuration_parameters_api import ConfigurationParametersApi from testit_api_client.api.configurations_api import ConfigurationsApi from testit_api_client.api.custom_attribute_templates_api import CustomAttributeTemplatesApi from testit_api_client.api.custom_attributes_api import CustomAttributesApi from testit_api_client.api.external_issues_api import ExternalIssuesApi -from testit_api_client.api.external_services_api import ExternalServicesApi -from testit_api_client.api.failure_categories_api import FailureCategoriesApi from testit_api_client.api.notifications_api import NotificationsApi from testit_api_client.api.open_id_connections_api import OpenIdConnectionsApi from testit_api_client.api.parameters_api import ParametersApi from testit_api_client.api.project_attribute_templates_api import ProjectAttributeTemplatesApi from testit_api_client.api.project_attributes_api import ProjectAttributesApi from testit_api_client.api.project_configurations_api import ProjectConfigurationsApi -from testit_api_client.api.project_external_services_api import ProjectExternalServicesApi -from testit_api_client.api.project_failure_categories_api import ProjectFailureCategoriesApi from testit_api_client.api.project_sections_api import ProjectSectionsApi from testit_api_client.api.project_settings_api import ProjectSettingsApi from testit_api_client.api.project_test_plan_attributes_api import ProjectTestPlanAttributesApi @@ -47,7 +43,6 @@ from testit_api_client.api.test_runs_api import TestRunsApi from testit_api_client.api.test_statuses_api import TestStatusesApi from testit_api_client.api.test_suites_api import TestSuitesApi -from testit_api_client.api.user_storages_api import UserStoragesApi from testit_api_client.api.users_api import UsersApi from testit_api_client.api.webhooks_api import WebhooksApi from testit_api_client.api.webhooks_logs_api import WebhooksLogsApi diff --git a/src/testit_api_client/configuration.py b/src/testit_api_client/configuration.py index 115e802f..82b8ddb5 100644 --- a/src/testit_api_client/configuration.py +++ b/src/testit_api_client/configuration.py @@ -422,7 +422,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v2.0\n"\ - "SDK Package Version: 7.6.1".\ + "SDK Package Version: 7.7.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/src/testit_api_client/model/ai_service_model_api_result_group_key.py b/src/testit_api_client/model/ai_service_model_api_result_group_key.py index 71a81334..5dc0223a 100644 --- a/src/testit_api_client/model/ai_service_model_api_result_group_key.py +++ b/src/testit_api_client/model/ai_service_model_api_result_group_key.py @@ -30,7 +30,9 @@ def lazy_import(): + from testit_api_client.model.filter_value import FilterValue from testit_api_client.model.group_key import GroupKey + globals()['FilterValue'] = FilterValue globals()['GroupKey'] = GroupKey @@ -87,7 +89,7 @@ def openapi_types(): """ lazy_import() return { - 'value': (str, none_type,), # noqa: E501 + 'value': (FilterValue,), # noqa: E501 'display_value': (str, none_type,), # noqa: E501 } @@ -110,7 +112,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """AIServiceModelApiResultGroupKey - a model defined in OpenAPI Keyword Args: - value (str, none_type): + value (FilterValue): _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. @@ -215,7 +217,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 """AIServiceModelApiResultGroupKey - a model defined in OpenAPI Keyword Args: - value (str, none_type): + value (FilterValue): _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. diff --git a/src/testit_api_client/model/api_v2_autotests_result_reasons_post_request.py b/src/testit_api_client/model/api_v2_autotests_result_reasons_post_request.py deleted file mode 100644 index 1e969eb3..00000000 --- a/src/testit_api_client/model/api_v2_autotests_result_reasons_post_request.py +++ /dev/null @@ -1,338 +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.create_failure_category_api_model import CreateFailureCategoryApiModel - from testit_api_client.model.create_failure_class_regex_api_model import CreateFailureClassRegexApiModel - from testit_api_client.model.failure_category import FailureCategory - globals()['CreateFailureCategoryApiModel'] = CreateFailureCategoryApiModel - globals()['CreateFailureClassRegexApiModel'] = CreateFailureClassRegexApiModel - globals()['FailureCategory'] = FailureCategory - - -class ApiV2AutotestsResultReasonsPostRequest(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 = { - ('name',): { - 'min_length': 1, - }, - } - - @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 { - 'name': (str,), # noqa: E501 - 'failure_category': (FailureCategory,), # noqa: E501 - 'failure_class_regexes': ([CreateFailureClassRegexApiModel], none_type,), # noqa: E501 - 'project_ids': ([str], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'failure_category': 'failureCategory', # noqa: E501 - 'failure_class_regexes': 'failureClassRegexes', # noqa: E501 - 'project_ids': 'projectIds', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2AutotestsResultReasonsPostRequest - a model defined in OpenAPI - - Keyword Args: - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([CreateFailureClassRegexApiModel], none_type): Failure category regexes. [optional] # noqa: E501 - project_ids ([str], none_type): Projects identifiers. [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 - """ApiV2AutotestsResultReasonsPostRequest - a model defined in OpenAPI - - Keyword Args: - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([CreateFailureClassRegexApiModel], none_type): Failure category regexes. [optional] # noqa: E501 - project_ids ([str], none_type): Projects identifiers. [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': [ - CreateFailureCategoryApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_autotests_result_reasons_put_request.py b/src/testit_api_client/model/api_v2_autotests_result_reasons_put_request.py deleted file mode 100644 index 0f823077..00000000 --- a/src/testit_api_client/model/api_v2_autotests_result_reasons_put_request.py +++ /dev/null @@ -1,342 +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.failure_category import FailureCategory - from testit_api_client.model.update_failure_category_api_model import UpdateFailureCategoryApiModel - from testit_api_client.model.update_failure_class_regex_api_model import UpdateFailureClassRegexApiModel - globals()['FailureCategory'] = FailureCategory - globals()['UpdateFailureCategoryApiModel'] = UpdateFailureCategoryApiModel - globals()['UpdateFailureClassRegexApiModel'] = UpdateFailureClassRegexApiModel - - -class ApiV2AutotestsResultReasonsPutRequest(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 = { - ('name',): { - 'min_length': 1, - }, - } - - @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 - 'name': (str,), # noqa: E501 - 'failure_category': (FailureCategory,), # noqa: E501 - 'failure_class_regexes': ([UpdateFailureClassRegexApiModel], none_type,), # noqa: E501 - 'project_ids': ([str], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'name': 'name', # noqa: E501 - 'failure_category': 'failureCategory', # noqa: E501 - 'failure_class_regexes': 'failureClassRegexes', # noqa: E501 - 'project_ids': 'projectIds', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2AutotestsResultReasonsPutRequest - a model defined in OpenAPI - - Keyword Args: - id (str): Failure category identifier - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([UpdateFailureClassRegexApiModel], none_type): Failure category regexes. [optional] # noqa: E501 - project_ids ([str], none_type): Projects identifiers. [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 - """ApiV2AutotestsResultReasonsPutRequest - a model defined in OpenAPI - - Keyword Args: - id (str): Failure category identifier - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([UpdateFailureClassRegexApiModel], none_type): Failure category regexes. [optional] # noqa: E501 - project_ids ([str], none_type): Projects identifiers. [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': [ - UpdateFailureCategoryApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_autotests_result_reasons_search_post_request.py b/src/testit_api_client/model/api_v2_configuration_parameters_post_request.py similarity index 87% rename from src/testit_api_client/model/api_v2_autotests_result_reasons_search_post_request.py rename to src/testit_api_client/model/api_v2_configuration_parameters_post_request.py index d3c54057..9f9165bb 100644 --- a/src/testit_api_client/model/api_v2_autotests_result_reasons_search_post_request.py +++ b/src/testit_api_client/model/api_v2_configuration_parameters_post_request.py @@ -30,15 +30,15 @@ def lazy_import(): - from testit_api_client.model.autotest_result_reason_filter_model import AutotestResultReasonFilterModel - from testit_api_client.model.available_failure_category import AvailableFailureCategory - from testit_api_client.model.int32_range_selector_model import Int32RangeSelectorModel - globals()['AutotestResultReasonFilterModel'] = AutotestResultReasonFilterModel - globals()['AvailableFailureCategory'] = AvailableFailureCategory - globals()['Int32RangeSelectorModel'] = Int32RangeSelectorModel + from testit_api_client.model.configuration_parameter_api_model import ConfigurationParameterApiModel + from testit_api_client.model.configuration_parameter_project_api_model import ConfigurationParameterProjectApiModel + from testit_api_client.model.configuration_parameter_value_api_model import ConfigurationParameterValueApiModel + globals()['ConfigurationParameterApiModel'] = ConfigurationParameterApiModel + globals()['ConfigurationParameterProjectApiModel'] = ConfigurationParameterProjectApiModel + globals()['ConfigurationParameterValueApiModel'] = ConfigurationParameterValueApiModel -class ApiV2AutotestsResultReasonsSearchPostRequest(ModelComposed): +class ApiV2ConfigurationParametersPostRequest(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -66,12 +66,13 @@ class ApiV2AutotestsResultReasonsSearchPostRequest(ModelComposed): } validations = { - ('failure_categories',): { - }, ('name',): { 'max_length': 255, 'min_length': 0, }, + ('values',): { + 'min_items': 1, + }, } @cached_property @@ -97,10 +98,9 @@ def openapi_types(): """ lazy_import() return { - 'failure_categories': ([AvailableFailureCategory], none_type,), # noqa: E501 - 'name': (str, none_type,), # noqa: E501 - 'regex_count': (Int32RangeSelectorModel,), # noqa: E501 - 'is_deleted': (bool, none_type,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'values': ([ConfigurationParameterValueApiModel],), # noqa: E501 + 'projects': ([ConfigurationParameterProjectApiModel], none_type,), # noqa: E501 } @cached_property @@ -109,10 +109,9 @@ def discriminator(): attribute_map = { - 'failure_categories': 'failureCategories', # noqa: E501 'name': 'name', # noqa: E501 - 'regex_count': 'regexCount', # noqa: E501 - 'is_deleted': 'isDeleted', # noqa: E501 + 'values': 'values', # noqa: E501 + 'projects': 'projects', # noqa: E501 } read_only_vars = { @@ -121,9 +120,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2AutotestsResultReasonsSearchPostRequest - a model defined in OpenAPI + """ApiV2ConfigurationParametersPostRequest - a model defined in OpenAPI Keyword Args: + name (str): Name of the configuration parameter, must be unique + values ([ConfigurationParameterValueApiModel]): List of possible configuration parameter values _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. @@ -154,10 +155,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - failure_categories ([AvailableFailureCategory], none_type): [optional] # noqa: E501 - name (str, none_type): [optional] # noqa: E501 - regex_count (Int32RangeSelectorModel): [optional] # noqa: E501 - is_deleted (bool, none_type): [optional] # noqa: E501 + projects ([ConfigurationParameterProjectApiModel], none_type): List of projects to which configuration parameter should be assigned. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -228,9 +226,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ApiV2AutotestsResultReasonsSearchPostRequest - a model defined in OpenAPI + """ApiV2ConfigurationParametersPostRequest - a model defined in OpenAPI Keyword Args: + name (str): Name of the configuration parameter, must be unique + values ([ConfigurationParameterValueApiModel]): List of possible configuration parameter values _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. @@ -261,10 +261,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - failure_categories ([AvailableFailureCategory], none_type): [optional] # noqa: E501 - name (str, none_type): [optional] # noqa: E501 - regex_count (Int32RangeSelectorModel): [optional] # noqa: E501 - is_deleted (bool, none_type): [optional] # noqa: E501 + projects ([ConfigurationParameterProjectApiModel], none_type): List of projects to which configuration parameter should be assigned. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -334,7 +331,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - AutotestResultReasonFilterModel, + ConfigurationParameterApiModel, ], 'oneOf': [ ], diff --git a/src/testit_api_client/model/api_v2_autotests_result_reasons_grouping_search_post_request.py b/src/testit_api_client/model/api_v2_configuration_parameters_search_post_request.py similarity index 88% rename from src/testit_api_client/model/api_v2_autotests_result_reasons_grouping_search_post_request.py rename to src/testit_api_client/model/api_v2_configuration_parameters_search_post_request.py index 44deb7f9..5f70c3da 100644 --- a/src/testit_api_client/model/api_v2_autotests_result_reasons_grouping_search_post_request.py +++ b/src/testit_api_client/model/api_v2_configuration_parameters_search_post_request.py @@ -30,15 +30,15 @@ def lazy_import(): - from testit_api_client.model.failure_category_group_search_api_model import FailureCategoryGroupSearchApiModel - from testit_api_client.model.failure_category_group_search_api_model_group import FailureCategoryGroupSearchApiModelGroup - from testit_api_client.model.failure_category_group_search_api_model_inquiry import FailureCategoryGroupSearchApiModelInquiry - globals()['FailureCategoryGroupSearchApiModel'] = FailureCategoryGroupSearchApiModel - globals()['FailureCategoryGroupSearchApiModelGroup'] = FailureCategoryGroupSearchApiModelGroup - globals()['FailureCategoryGroupSearchApiModelInquiry'] = FailureCategoryGroupSearchApiModelInquiry + from testit_api_client.model.field_filter import FieldFilter + from testit_api_client.model.inquiry import Inquiry + from testit_api_client.model.search_configuration_parameters_api_model import SearchConfigurationParametersApiModel + globals()['FieldFilter'] = FieldFilter + globals()['Inquiry'] = Inquiry + globals()['SearchConfigurationParametersApiModel'] = SearchConfigurationParametersApiModel -class ApiV2AutotestsResultReasonsGroupingSearchPostRequest(ModelComposed): +class ApiV2ConfigurationParametersSearchPostRequest(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -91,8 +91,10 @@ def openapi_types(): """ lazy_import() return { - 'inquiry': (FailureCategoryGroupSearchApiModelInquiry,), # noqa: E501 - 'group': (FailureCategoryGroupSearchApiModelGroup,), # noqa: E501 + 'project_ids': ([str], none_type,), # noqa: E501 + 'inquiry': (Inquiry,), # noqa: E501 + 'values_filters': ([FieldFilter], none_type,), # noqa: E501 + 'projects_filters': ([FieldFilter], none_type,), # noqa: E501 } @cached_property @@ -101,8 +103,10 @@ def discriminator(): attribute_map = { + 'project_ids': 'projectIds', # noqa: E501 'inquiry': 'inquiry', # noqa: E501 - 'group': 'group', # noqa: E501 + 'values_filters': 'valuesFilters', # noqa: E501 + 'projects_filters': 'projectsFilters', # noqa: E501 } read_only_vars = { @@ -111,10 +115,9 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2AutotestsResultReasonsGroupingSearchPostRequest - a model defined in OpenAPI + """ApiV2ConfigurationParametersSearchPostRequest - a model defined in OpenAPI Keyword Args: - inquiry (FailureCategoryGroupSearchApiModelInquiry): _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. @@ -145,7 +148,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - group (FailureCategoryGroupSearchApiModelGroup): [optional] # noqa: E501 + project_ids ([str], none_type): [optional] # noqa: E501 + inquiry (Inquiry): [optional] # noqa: E501 + values_filters ([FieldFilter], none_type): [optional] # noqa: E501 + projects_filters ([FieldFilter], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -216,10 +222,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ApiV2AutotestsResultReasonsGroupingSearchPostRequest - a model defined in OpenAPI + """ApiV2ConfigurationParametersSearchPostRequest - a model defined in OpenAPI Keyword Args: - inquiry (FailureCategoryGroupSearchApiModelInquiry): _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. @@ -250,7 +255,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - group (FailureCategoryGroupSearchApiModelGroup): [optional] # noqa: E501 + project_ids ([str], none_type): [optional] # noqa: E501 + inquiry (Inquiry): [optional] # noqa: E501 + values_filters ([FieldFilter], none_type): [optional] # noqa: E501 + projects_filters ([FieldFilter], none_type): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -320,7 +328,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - FailureCategoryGroupSearchApiModel, + SearchConfigurationParametersApiModel, ], 'oneOf': [ ], diff --git a/src/testit_api_client/model/api_v2_projects_id_external_services_external_service_id_patch_request.py b/src/testit_api_client/model/api_v2_projects_id_external_services_external_service_id_patch_request.py deleted file mode 100644 index bf4d706f..00000000 --- a/src/testit_api_client/model/api_v2_projects_id_external_services_external_service_id_patch_request.py +++ /dev/null @@ -1,323 +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.replace_project_external_service_api_model import ReplaceProjectExternalServiceApiModel - globals()['ReplaceProjectExternalServiceApiModel'] = ReplaceProjectExternalServiceApiModel - - -class ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest(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 { - 'new_external_service_id': (str,), # noqa: E501 - 'settings': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'new_external_service_id': 'newExternalServiceId', # noqa: E501 - 'settings': 'settings', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest - a model defined in OpenAPI - - Keyword Args: - new_external_service_id (str): The unique ID of the new external service that will replace the current one - settings (bool, date, datetime, dict, float, int, list, str, none_type): External service settings - _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 - """ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest - a model defined in OpenAPI - - Keyword Args: - new_external_service_id (str): The unique ID of the new external service that will replace the current one - settings (bool, date, datetime, dict, float, int, list, str, none_type): External service settings - _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': [ - ReplaceProjectExternalServiceApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_post_request.py b/src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_post_request.py deleted file mode 100644 index baa80064..00000000 --- a/src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_post_request.py +++ /dev/null @@ -1,334 +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.create_failure_class_regex_api_model import CreateFailureClassRegexApiModel - from testit_api_client.model.create_project_failure_category_api_model import CreateProjectFailureCategoryApiModel - from testit_api_client.model.failure_category import FailureCategory - globals()['CreateFailureClassRegexApiModel'] = CreateFailureClassRegexApiModel - globals()['CreateProjectFailureCategoryApiModel'] = CreateProjectFailureCategoryApiModel - globals()['FailureCategory'] = FailureCategory - - -class ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest(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 = { - ('name',): { - 'min_length': 1, - }, - } - - @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 { - 'name': (str,), # noqa: E501 - 'failure_category': (FailureCategory,), # noqa: E501 - 'failure_class_regexes': ([CreateFailureClassRegexApiModel], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'failure_category': 'failureCategory', # noqa: E501 - 'failure_class_regexes': 'failureClassRegexes', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest - a model defined in OpenAPI - - Keyword Args: - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([CreateFailureClassRegexApiModel], none_type): Failure category regexes. [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 - """ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest - a model defined in OpenAPI - - Keyword Args: - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([CreateFailureClassRegexApiModel], none_type): Failure category regexes. [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': [ - CreateProjectFailureCategoryApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_put_request.py b/src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_put_request.py deleted file mode 100644 index 587a2362..00000000 --- a/src/testit_api_client/model/api_v2_projects_project_id_autotests_failure_categories_put_request.py +++ /dev/null @@ -1,338 +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.failure_category import FailureCategory - from testit_api_client.model.update_failure_category_project_api_model import UpdateFailureCategoryProjectApiModel - from testit_api_client.model.update_failure_class_regex_api_model import UpdateFailureClassRegexApiModel - globals()['FailureCategory'] = FailureCategory - globals()['UpdateFailureCategoryProjectApiModel'] = UpdateFailureCategoryProjectApiModel - globals()['UpdateFailureClassRegexApiModel'] = UpdateFailureClassRegexApiModel - - -class ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest(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 = { - ('name',): { - 'min_length': 1, - }, - } - - @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 - 'name': (str,), # noqa: E501 - 'failure_category': (FailureCategory,), # noqa: E501 - 'failure_class_regexes': ([UpdateFailureClassRegexApiModel], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'name': 'name', # noqa: E501 - 'failure_category': 'failureCategory', # noqa: E501 - 'failure_class_regexes': 'failureClassRegexes', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest - a model defined in OpenAPI - - Keyword Args: - id (str): Failure category identifier - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([UpdateFailureClassRegexApiModel], none_type): Failure category regexes. [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 - """ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest - a model defined in OpenAPI - - Keyword Args: - id (str): Failure category identifier - name (str): Failure category name - failure_category (FailureCategory): - _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,) - failure_class_regexes ([UpdateFailureClassRegexApiModel], none_type): Failure category regexes. [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': [ - UpdateFailureCategoryProjectApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request.py b/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request.py deleted file mode 100644 index 10b41def..00000000 --- a/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request.py +++ /dev/null @@ -1,327 +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.test_plan_test_points_analytics_api_model import TestPlanTestPointsAnalyticsApiModel - from testit_api_client.model.test_plan_test_points_extraction_api_model import TestPlanTestPointsExtractionApiModel - from testit_api_client.model.test_plan_test_points_search_api_model import TestPlanTestPointsSearchApiModel - globals()['TestPlanTestPointsAnalyticsApiModel'] = TestPlanTestPointsAnalyticsApiModel - globals()['TestPlanTestPointsExtractionApiModel'] = TestPlanTestPointsExtractionApiModel - globals()['TestPlanTestPointsSearchApiModel'] = TestPlanTestPointsSearchApiModel - - -class ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest(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 { - 'filter': (TestPlanTestPointsSearchApiModel,), # noqa: E501 - 'extraction_model': (TestPlanTestPointsExtractionApiModel,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'filter': 'filter', # noqa: E501 - 'extraction_model': 'extractionModel', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest - a model defined in OpenAPI - - 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,) - filter (TestPlanTestPointsSearchApiModel): [optional] # noqa: E501 - extraction_model (TestPlanTestPointsExtractionApiModel): [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 - """ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest - a model defined in OpenAPI - - 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,) - filter (TestPlanTestPointsSearchApiModel): [optional] # noqa: E501 - extraction_model (TestPlanTestPointsExtractionApiModel): [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': [ - TestPlanTestPointsAnalyticsApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request.py b/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request.py deleted file mode 100644 index 6ed206f6..00000000 --- a/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request.py +++ /dev/null @@ -1,333 +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.test_plan_test_points_api_model import TestPlanTestPointsApiModel - from testit_api_client.model.test_plan_test_points_group_api_model import TestPlanTestPointsGroupApiModel - from testit_api_client.model.test_plan_test_points_inquiry_api_model import TestPlanTestPointsInquiryApiModel - from testit_api_client.model.test_plan_test_points_search_api_model import TestPlanTestPointsSearchApiModel - globals()['TestPlanTestPointsApiModel'] = TestPlanTestPointsApiModel - globals()['TestPlanTestPointsGroupApiModel'] = TestPlanTestPointsGroupApiModel - globals()['TestPlanTestPointsInquiryApiModel'] = TestPlanTestPointsInquiryApiModel - globals()['TestPlanTestPointsSearchApiModel'] = TestPlanTestPointsSearchApiModel - - -class ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest(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 { - 'filter': (TestPlanTestPointsSearchApiModel,), # noqa: E501 - 'group': (TestPlanTestPointsGroupApiModel,), # noqa: E501 - 'inquiry': (TestPlanTestPointsInquiryApiModel,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'filter': 'filter', # noqa: E501 - 'group': 'group', # noqa: E501 - 'inquiry': 'inquiry', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest - a model defined in OpenAPI - - 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,) - filter (TestPlanTestPointsSearchApiModel): [optional] # noqa: E501 - group (TestPlanTestPointsGroupApiModel): [optional] # noqa: E501 - inquiry (TestPlanTestPointsInquiryApiModel): [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 - """ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest - a model defined in OpenAPI - - 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,) - filter (TestPlanTestPointsSearchApiModel): [optional] # noqa: E501 - group (TestPlanTestPointsGroupApiModel): [optional] # noqa: E501 - inquiry (TestPlanTestPointsInquiryApiModel): [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': [ - TestPlanTestPointsApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request.py b/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request.py deleted file mode 100644 index 12338ca7..00000000 --- a/src/testit_api_client/model/api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request.py +++ /dev/null @@ -1,334 +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.test_plan_test_points_extraction_api_model import TestPlanTestPointsExtractionApiModel - from testit_api_client.model.test_plan_test_points_search_api_model import TestPlanTestPointsSearchApiModel - from testit_api_client.model.test_plan_test_points_set_testers_api_model import TestPlanTestPointsSetTestersApiModel - globals()['TestPlanTestPointsExtractionApiModel'] = TestPlanTestPointsExtractionApiModel - globals()['TestPlanTestPointsSearchApiModel'] = TestPlanTestPointsSearchApiModel - globals()['TestPlanTestPointsSetTestersApiModel'] = TestPlanTestPointsSetTestersApiModel - - -class ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest(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 = { - ('tester_ids',): { - 'min_items': 1, - }, - } - - @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 { - 'tester_ids': ([str],), # noqa: E501 - 'filter': (TestPlanTestPointsSearchApiModel,), # noqa: E501 - 'extraction_model': (TestPlanTestPointsExtractionApiModel,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'tester_ids': 'testerIds', # noqa: E501 - 'filter': 'filter', # noqa: E501 - 'extraction_model': 'extractionModel', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest - a model defined in OpenAPI - - Keyword Args: - tester_ids ([str]): - _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,) - filter (TestPlanTestPointsSearchApiModel): [optional] # noqa: E501 - extraction_model (TestPlanTestPointsExtractionApiModel): [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 - """ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest - a model defined in OpenAPI - - Keyword Args: - tester_ids ([str]): - _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,) - filter (TestPlanTestPointsSearchApiModel): [optional] # noqa: E501 - extraction_model (TestPlanTestPointsExtractionApiModel): [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': [ - TestPlanTestPointsSetTestersApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_bulk_post_request.py b/src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_bulk_post_request.py deleted file mode 100644 index 475acb37..00000000 --- a/src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_bulk_post_request.py +++ /dev/null @@ -1,335 +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.create_work_item_previews_api_model import CreateWorkItemPreviewsApiModel - from testit_api_client.model.previews_issue_link_api_model import PreviewsIssueLinkApiModel - from testit_api_client.model.work_item_preview_api_model import WorkItemPreviewApiModel - globals()['CreateWorkItemPreviewsApiModel'] = CreateWorkItemPreviewsApiModel - globals()['PreviewsIssueLinkApiModel'] = PreviewsIssueLinkApiModel - globals()['WorkItemPreviewApiModel'] = WorkItemPreviewApiModel - - -class ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest(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 { - 'section_id': (str,), # noqa: E501 - 'previews': ([WorkItemPreviewApiModel],), # noqa: E501 - 'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501 - 'link': (PreviewsIssueLinkApiModel,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'section_id': 'sectionId', # noqa: E501 - 'previews': 'previews', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 - 'link': 'link', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest - a model defined in OpenAPI - - Keyword Args: - section_id (str): - previews ([WorkItemPreviewApiModel]): - _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,) - attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): [optional] # noqa: E501 - link (PreviewsIssueLinkApiModel): [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 - """ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest - a model defined in OpenAPI - - Keyword Args: - section_id (str): - previews ([WorkItemPreviewApiModel]): - _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,) - attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): [optional] # noqa: E501 - link (PreviewsIssueLinkApiModel): [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': [ - CreateWorkItemPreviewsApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_post_request.py b/src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_post_request.py deleted file mode 100644 index 8bc5df63..00000000 --- a/src/testit_api_client/model/api_v2_projects_project_id_work_items_previews_post_request.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.generate_work_item_previews_api_model import GenerateWorkItemPreviewsApiModel - globals()['GenerateWorkItemPreviewsApiModel'] = GenerateWorkItemPreviewsApiModel - - -class ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest(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 = { - ('temperature',): { - 'inclusive_maximum': 1, - 'inclusive_minimum': 0, - }, - ('preview_limit',): { - 'inclusive_maximum': 30, - 'inclusive_minimum': 1, - }, - ('issue_key',): { - 'max_length': 255, - 'min_length': 0, - }, - ('user_context',): { - 'max_length': 30000, - 'min_length': 0, - }, - } - - @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 { - 'external_service_id': (str,), # noqa: E501 - 'temperature': (float,), # noqa: E501 - 'preview_limit': (int,), # noqa: E501 - 'issue_key': (str, none_type,), # noqa: E501 - 'user_context': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'external_service_id': 'externalServiceId', # noqa: E501 - 'temperature': 'temperature', # noqa: E501 - 'preview_limit': 'previewLimit', # noqa: E501 - 'issue_key': 'issueKey', # noqa: E501 - 'user_context': 'userContext', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest - a model defined in OpenAPI - - Keyword Args: - external_service_id (str): The ID of the external AI service to be used for generation. - temperature (float): Controls randomness of the AI model output. - preview_limit (int): Number of work item previews to generate. - _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,) - issue_key (str, none_type): The key of the issue in an issue tracker (e.g., JIRA-123).. [optional] # noqa: E501 - user_context (str, none_type): Additional user context or description of the issue if no issue key is provided.. [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 - """ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest - a model defined in OpenAPI - - Keyword Args: - external_service_id (str): The ID of the external AI service to be used for generation. - temperature (float): Controls randomness of the AI model output. - preview_limit (int): Number of work item previews to generate. - _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,) - issue_key (str, none_type): The key of the issue in an issue tracker (e.g., JIRA-123).. [optional] # noqa: E501 - user_context (str, none_type): Additional user context or description of the issue if no issue key is provided.. [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': [ - GenerateWorkItemPreviewsApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/api_v2_test_runs_by_auto_test_cases_post_request.py b/src/testit_api_client/model/api_v2_test_runs_by_auto_test_cases_post_request.py deleted file mode 100644 index a26a8fbb..00000000 --- a/src/testit_api_client/model/api_v2_test_runs_by_auto_test_cases_post_request.py +++ /dev/null @@ -1,354 +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.create_test_run_and_fill_by_auto_test_cases_api_model import CreateTestRunAndFillByAutoTestCasesApiModel - from testit_api_client.model.create_test_run_and_fill_by_auto_test_cases_api_model_filter import CreateTestRunAndFillByAutoTestCasesApiModelFilter - from testit_api_client.model.create_test_run_and_fill_by_auto_test_cases_api_model_option import CreateTestRunAndFillByAutoTestCasesApiModelOption - globals()['CreateTestRunAndFillByAutoTestCasesApiModel'] = CreateTestRunAndFillByAutoTestCasesApiModel - globals()['CreateTestRunAndFillByAutoTestCasesApiModelFilter'] = CreateTestRunAndFillByAutoTestCasesApiModelFilter - globals()['CreateTestRunAndFillByAutoTestCasesApiModelOption'] = CreateTestRunAndFillByAutoTestCasesApiModelOption - - -class ApiV2TestRunsByAutoTestCasesPostRequest(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 = { - ('configuration_ids',): { - 'min_items': 1, - }, - } - - @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 { - 'project_id': (str,), # noqa: E501 - 'configuration_ids': ([str],), # noqa: E501 - 'option': (CreateTestRunAndFillByAutoTestCasesApiModelOption,), # noqa: E501 - 'filter': (CreateTestRunAndFillByAutoTestCasesApiModelFilter,), # noqa: E501 - 'name': (str, none_type,), # noqa: E501 - 'description': (str, none_type,), # noqa: E501 - 'launch_source': (str, none_type,), # noqa: E501 - 'tags': ([str], none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'project_id': 'projectId', # noqa: E501 - 'configuration_ids': 'configurationIds', # noqa: E501 - 'option': 'option', # noqa: E501 - 'filter': 'filter', # noqa: E501 - 'name': 'name', # noqa: E501 - 'description': 'description', # noqa: E501 - 'launch_source': 'launchSource', # noqa: E501 - 'tags': 'tags', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2TestRunsByAutoTestCasesPostRequest - a model defined in OpenAPI - - Keyword Args: - project_id (str): Specifies the GUID of the project, in which a test run will be created. - configuration_ids ([str]): Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs. - option (CreateTestRunAndFillByAutoTestCasesApiModelOption): - _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,) - filter (CreateTestRunAndFillByAutoTestCasesApiModelFilter): [optional] # noqa: E501 - name (str, none_type): Specifies the name of the test run.. [optional] # noqa: E501 - description (str, none_type): Specifies the test run description.. [optional] # noqa: E501 - launch_source (str, none_type): Specifies the test run launch source.. [optional] # noqa: E501 - tags ([str], none_type): Collection of tags to assign to the test run. [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 - """ApiV2TestRunsByAutoTestCasesPostRequest - a model defined in OpenAPI - - Keyword Args: - project_id (str): Specifies the GUID of the project, in which a test run will be created. - configuration_ids ([str]): Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs. - option (CreateTestRunAndFillByAutoTestCasesApiModelOption): - _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,) - filter (CreateTestRunAndFillByAutoTestCasesApiModelFilter): [optional] # noqa: E501 - name (str, none_type): Specifies the name of the test run.. [optional] # noqa: E501 - description (str, none_type): Specifies the test run description.. [optional] # noqa: E501 - launch_source (str, none_type): Specifies the test run launch source.. [optional] # noqa: E501 - tags ([str], none_type): Collection of tags to assign to the test run. [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': [ - CreateTestRunAndFillByAutoTestCasesApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/auto_test_update_api_model.py b/src/testit_api_client/model/auto_test_update_api_model.py index af7be3bd..f685d335 100644 --- a/src/testit_api_client/model/auto_test_update_api_model.py +++ b/src/testit_api_client/model/auto_test_update_api_model.py @@ -93,7 +93,6 @@ def openapi_types(): 'project_id': (str,), # noqa: E501 'external_id': (str,), # noqa: E501 'name': (str,), # noqa: E501 - 'reset_layer': (bool,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'external_key': (str, none_type,), # noqa: E501 'namespace': (str, none_type,), # noqa: E501 @@ -101,6 +100,7 @@ def openapi_types(): 'title': (str, none_type,), # noqa: E501 'description': (str, none_type,), # noqa: E501 'is_flaky': (bool, none_type,), # noqa: E501 + 'reset_layer': (bool, none_type,), # noqa: E501 'steps': ([AutoTestStepApiModel], none_type,), # noqa: E501 'setup': ([AutoTestStepApiModel], none_type,), # noqa: E501 'teardown': ([AutoTestStepApiModel], none_type,), # noqa: E501 @@ -120,7 +120,6 @@ def discriminator(): 'project_id': 'projectId', # noqa: E501 'external_id': 'externalId', # noqa: E501 'name': 'name', # noqa: E501 - 'reset_layer': 'resetLayer', # noqa: E501 'id': 'id', # noqa: E501 'external_key': 'externalKey', # noqa: E501 'namespace': 'namespace', # noqa: E501 @@ -128,6 +127,7 @@ def discriminator(): 'title': 'title', # noqa: E501 'description': 'description', # noqa: E501 'is_flaky': 'isFlaky', # noqa: E501 + 'reset_layer': 'resetLayer', # noqa: E501 'steps': 'steps', # noqa: E501 'setup': 'setup', # noqa: E501 'teardown': 'teardown', # noqa: E501 @@ -145,14 +145,13 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, project_id, external_id, name, reset_layer, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, project_id, external_id, name, *args, **kwargs): # noqa: E501 """AutoTestUpdateApiModel - a model defined in OpenAPI Args: project_id (str): Unique ID of the autotest project external_id (str): External ID of the autotest name (str): Name of the autotest - reset_layer (bool): Indicates if the autotest layer should be reset. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -192,6 +191,7 @@ def _from_openapi_data(cls, project_id, external_id, name, reset_layer, *args, * title (str, none_type): Name of the autotest in autotest's card. [optional] # noqa: E501 description (str, none_type): Description of the autotest in autotest's card. [optional] # noqa: E501 is_flaky (bool, none_type): Indicates if the autotest is marked as flaky. [optional] # noqa: E501 + reset_layer (bool, none_type): Indicates if the autotest layer should be reset.. [optional] # noqa: E501 steps ([AutoTestStepApiModel], none_type): Collection of the autotest steps. [optional] # noqa: E501 setup ([AutoTestStepApiModel], none_type): Collection of the autotest setup steps. [optional] # noqa: E501 teardown ([AutoTestStepApiModel], none_type): Collection of the autotest teardown steps. [optional] # noqa: E501 @@ -234,7 +234,6 @@ def _from_openapi_data(cls, project_id, external_id, name, reset_layer, *args, * self.project_id = project_id self.external_id = external_id self.name = name - self.reset_layer = reset_layer for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -255,14 +254,13 @@ def _from_openapi_data(cls, project_id, external_id, name, reset_layer, *args, * ]) @convert_js_args_to_python_args - def __init__(self, project_id, external_id, name, reset_layer, *args, **kwargs): # noqa: E501 + def __init__(self, project_id, external_id, name, *args, **kwargs): # noqa: E501 """AutoTestUpdateApiModel - a model defined in OpenAPI Args: project_id (str): Unique ID of the autotest project external_id (str): External ID of the autotest name (str): Name of the autotest - reset_layer (bool): Indicates if the autotest layer should be reset. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -302,6 +300,7 @@ def __init__(self, project_id, external_id, name, reset_layer, *args, **kwargs): title (str, none_type): Name of the autotest in autotest's card. [optional] # noqa: E501 description (str, none_type): Description of the autotest in autotest's card. [optional] # noqa: E501 is_flaky (bool, none_type): Indicates if the autotest is marked as flaky. [optional] # noqa: E501 + reset_layer (bool, none_type): Indicates if the autotest layer should be reset.. [optional] # noqa: E501 steps ([AutoTestStepApiModel], none_type): Collection of the autotest steps. [optional] # noqa: E501 setup ([AutoTestStepApiModel], none_type): Collection of the autotest setup steps. [optional] # noqa: E501 teardown ([AutoTestStepApiModel], none_type): Collection of the autotest teardown steps. [optional] # noqa: E501 @@ -342,7 +341,6 @@ def __init__(self, project_id, external_id, name, reset_layer, *args, **kwargs): self.project_id = project_id self.external_id = external_id self.name = name - self.reset_layer = reset_layer 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/create_and_fill_by_auto_tests_request.py b/src/testit_api_client/model/create_and_fill_by_auto_tests_request.py index c5fb3653..5e63223a 100644 --- a/src/testit_api_client/model/create_and_fill_by_auto_tests_request.py +++ b/src/testit_api_client/model/create_and_fill_by_auto_tests_request.py @@ -33,9 +33,11 @@ def lazy_import(): from testit_api_client.model.assign_attachment_api_model import AssignAttachmentApiModel from testit_api_client.model.create_link_api_model import CreateLinkApiModel from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model import CreateTestRunAndFillByAutoTestsApiModel + from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model_option import CreateTestRunAndFillByAutoTestsApiModelOption globals()['AssignAttachmentApiModel'] = AssignAttachmentApiModel globals()['CreateLinkApiModel'] = CreateLinkApiModel globals()['CreateTestRunAndFillByAutoTestsApiModel'] = CreateTestRunAndFillByAutoTestsApiModel + globals()['CreateTestRunAndFillByAutoTestsApiModelOption'] = CreateTestRunAndFillByAutoTestsApiModelOption class CreateAndFillByAutoTestsRequest(ModelComposed): @@ -106,6 +108,7 @@ def openapi_types(): 'attachments': ([AssignAttachmentApiModel], none_type,), # noqa: E501 'links': ([CreateLinkApiModel], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'option': (CreateTestRunAndFillByAutoTestsApiModelOption,), # noqa: E501 } @cached_property @@ -123,6 +126,7 @@ def discriminator(): 'attachments': 'attachments', # noqa: E501 'links': 'links', # noqa: E501 'tags': 'tags', # noqa: E501 + 'option': 'option', # noqa: E501 } read_only_vars = { @@ -173,6 +177,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -285,6 +290,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/create_and_fill_by_configurations_request.py b/src/testit_api_client/model/create_and_fill_by_configurations_request.py index a4808867..1a0f883c 100644 --- a/src/testit_api_client/model/create_and_fill_by_configurations_request.py +++ b/src/testit_api_client/model/create_and_fill_by_configurations_request.py @@ -32,10 +32,12 @@ def lazy_import(): from testit_api_client.model.assign_attachment_api_model import AssignAttachmentApiModel from testit_api_client.model.create_link_api_model import CreateLinkApiModel + from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model_option import CreateTestRunAndFillByAutoTestsApiModelOption from testit_api_client.model.create_test_run_and_fill_by_configurations_api_model import CreateTestRunAndFillByConfigurationsApiModel from testit_api_client.model.test_point_selector import TestPointSelector globals()['AssignAttachmentApiModel'] = AssignAttachmentApiModel globals()['CreateLinkApiModel'] = CreateLinkApiModel + globals()['CreateTestRunAndFillByAutoTestsApiModelOption'] = CreateTestRunAndFillByAutoTestsApiModelOption globals()['CreateTestRunAndFillByConfigurationsApiModel'] = CreateTestRunAndFillByConfigurationsApiModel globals()['TestPointSelector'] = TestPointSelector @@ -102,6 +104,7 @@ def openapi_types(): 'attachments': ([AssignAttachmentApiModel], none_type,), # noqa: E501 'links': ([CreateLinkApiModel], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'option': (CreateTestRunAndFillByAutoTestsApiModelOption,), # noqa: E501 } @cached_property @@ -119,6 +122,7 @@ def discriminator(): 'attachments': 'attachments', # noqa: E501 'links': 'links', # noqa: E501 'tags': 'tags', # noqa: E501 + 'option': 'option', # noqa: E501 } read_only_vars = { @@ -169,6 +173,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -281,6 +286,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/create_and_fill_by_work_items_request.py b/src/testit_api_client/model/create_and_fill_by_work_items_request.py index a901a15f..6346a316 100644 --- a/src/testit_api_client/model/create_and_fill_by_work_items_request.py +++ b/src/testit_api_client/model/create_and_fill_by_work_items_request.py @@ -32,9 +32,11 @@ def lazy_import(): from testit_api_client.model.assign_attachment_api_model import AssignAttachmentApiModel from testit_api_client.model.create_link_api_model import CreateLinkApiModel + from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model_option import CreateTestRunAndFillByAutoTestsApiModelOption from testit_api_client.model.create_test_run_and_fill_by_work_items_api_model import CreateTestRunAndFillByWorkItemsApiModel globals()['AssignAttachmentApiModel'] = AssignAttachmentApiModel globals()['CreateLinkApiModel'] = CreateLinkApiModel + globals()['CreateTestRunAndFillByAutoTestsApiModelOption'] = CreateTestRunAndFillByAutoTestsApiModelOption globals()['CreateTestRunAndFillByWorkItemsApiModel'] = CreateTestRunAndFillByWorkItemsApiModel @@ -107,6 +109,7 @@ def openapi_types(): 'attachments': ([AssignAttachmentApiModel], none_type,), # noqa: E501 'links': ([CreateLinkApiModel], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'option': (CreateTestRunAndFillByAutoTestsApiModelOption,), # noqa: E501 } @cached_property @@ -125,6 +128,7 @@ def discriminator(): 'attachments': 'attachments', # noqa: E501 'links': 'links', # noqa: E501 'tags': 'tags', # noqa: E501 + 'option': 'option', # noqa: E501 } read_only_vars = { @@ -176,6 +180,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -289,6 +294,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/create_test_run_and_fill_by_auto_tests_api_model.py b/src/testit_api_client/model/create_test_run_and_fill_by_auto_tests_api_model.py index 6c959337..93bef2d3 100644 --- a/src/testit_api_client/model/create_test_run_and_fill_by_auto_tests_api_model.py +++ b/src/testit_api_client/model/create_test_run_and_fill_by_auto_tests_api_model.py @@ -32,8 +32,10 @@ def lazy_import(): from testit_api_client.model.assign_attachment_api_model import AssignAttachmentApiModel from testit_api_client.model.create_link_api_model import CreateLinkApiModel + from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model_option import CreateTestRunAndFillByAutoTestsApiModelOption globals()['AssignAttachmentApiModel'] = AssignAttachmentApiModel globals()['CreateLinkApiModel'] = CreateLinkApiModel + globals()['CreateTestRunAndFillByAutoTestsApiModelOption'] = CreateTestRunAndFillByAutoTestsApiModelOption class CreateTestRunAndFillByAutoTestsApiModel(ModelNormal): @@ -97,6 +99,7 @@ def openapi_types(): 'attachments': ([AssignAttachmentApiModel], none_type,), # noqa: E501 'links': ([CreateLinkApiModel], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'option': (CreateTestRunAndFillByAutoTestsApiModelOption,), # noqa: E501 } @cached_property @@ -114,6 +117,7 @@ def discriminator(): 'attachments': 'attachments', # noqa: E501 'links': 'links', # noqa: E501 'tags': 'tags', # noqa: E501 + 'option': 'option', # noqa: E501 } read_only_vars = { @@ -168,6 +172,7 @@ def _from_openapi_data(cls, project_id, configuration_ids, auto_test_external_id attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -267,6 +272,7 @@ def __init__(self, project_id, configuration_ids, auto_test_external_ids, *args, attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/api_v2_projects_id_external_services_external_service_id_put_request.py b/src/testit_api_client/model/create_test_run_and_fill_by_auto_tests_api_model_option.py similarity index 92% rename from src/testit_api_client/model/api_v2_projects_id_external_services_external_service_id_put_request.py rename to src/testit_api_client/model/create_test_run_and_fill_by_auto_tests_api_model_option.py index eae92a2e..c367c777 100644 --- a/src/testit_api_client/model/api_v2_projects_id_external_services_external_service_id_put_request.py +++ b/src/testit_api_client/model/create_test_run_and_fill_by_auto_tests_api_model_option.py @@ -30,11 +30,11 @@ def lazy_import(): - from testit_api_client.model.enable_project_external_service_api_model import EnableProjectExternalServiceApiModel - globals()['EnableProjectExternalServiceApiModel'] = EnableProjectExternalServiceApiModel + from testit_api_client.model.test_run_launch_option_api_model import TestRunLaunchOptionApiModel + globals()['TestRunLaunchOptionApiModel'] = TestRunLaunchOptionApiModel -class ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest(ModelComposed): +class CreateTestRunAndFillByAutoTestsApiModelOption(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -73,7 +73,7 @@ def additional_properties_type(): lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - _nullable = False + _nullable = True @cached_property def openapi_types(): @@ -87,7 +87,8 @@ def openapi_types(): """ lazy_import() return { - 'settings': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + 'webhook_ids': ([str],), # noqa: E501 + 'custom_parameters': ({str: (str,)}, none_type,), # noqa: E501 } @cached_property @@ -96,7 +97,8 @@ def discriminator(): attribute_map = { - 'settings': 'settings', # noqa: E501 + 'webhook_ids': 'webhookIds', # noqa: E501 + 'custom_parameters': 'customParameters', # noqa: E501 } read_only_vars = { @@ -105,10 +107,10 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest - a model defined in OpenAPI + """CreateTestRunAndFillByAutoTestsApiModelOption - a model defined in OpenAPI Keyword Args: - settings (bool, date, datetime, dict, float, int, list, str, none_type): External service settings + webhook_ids ([str]): Enabled webhooks. _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. @@ -139,6 +141,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + custom_parameters ({str: (str,)}, none_type): Customers test run parameters.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -209,10 +212,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest - a model defined in OpenAPI + """CreateTestRunAndFillByAutoTestsApiModelOption - a model defined in OpenAPI Keyword Args: - settings (bool, date, datetime, dict, float, int, list, str, none_type): External service settings + webhook_ids ([str]): Enabled webhooks. _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. @@ -243,6 +246,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + custom_parameters ({str: (str,)}, none_type): Customers test run parameters.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -312,7 +316,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - EnableProjectExternalServiceApiModel, + TestRunLaunchOptionApiModel, ], 'oneOf': [ ], diff --git a/src/testit_api_client/model/create_test_run_and_fill_by_configurations_api_model.py b/src/testit_api_client/model/create_test_run_and_fill_by_configurations_api_model.py index a3855dde..a21a7bb3 100644 --- a/src/testit_api_client/model/create_test_run_and_fill_by_configurations_api_model.py +++ b/src/testit_api_client/model/create_test_run_and_fill_by_configurations_api_model.py @@ -32,9 +32,11 @@ def lazy_import(): from testit_api_client.model.assign_attachment_api_model import AssignAttachmentApiModel from testit_api_client.model.create_link_api_model import CreateLinkApiModel + from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model_option import CreateTestRunAndFillByAutoTestsApiModelOption from testit_api_client.model.test_point_selector import TestPointSelector globals()['AssignAttachmentApiModel'] = AssignAttachmentApiModel globals()['CreateLinkApiModel'] = CreateLinkApiModel + globals()['CreateTestRunAndFillByAutoTestsApiModelOption'] = CreateTestRunAndFillByAutoTestsApiModelOption globals()['TestPointSelector'] = TestPointSelector @@ -93,6 +95,7 @@ def openapi_types(): 'attachments': ([AssignAttachmentApiModel], none_type,), # noqa: E501 'links': ([CreateLinkApiModel], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'option': (CreateTestRunAndFillByAutoTestsApiModelOption,), # noqa: E501 } @cached_property @@ -110,6 +113,7 @@ def discriminator(): 'attachments': 'attachments', # noqa: E501 'links': 'links', # noqa: E501 'tags': 'tags', # noqa: E501 + 'option': 'option', # noqa: E501 } read_only_vars = { @@ -164,6 +168,7 @@ def _from_openapi_data(cls, project_id, test_plan_id, test_point_selectors, *arg attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -263,6 +268,7 @@ def __init__(self, project_id, test_plan_id, test_point_selectors, *args, **kwar attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/create_test_run_and_fill_by_work_items_api_model.py b/src/testit_api_client/model/create_test_run_and_fill_by_work_items_api_model.py index 52bb2655..baafbc0a 100644 --- a/src/testit_api_client/model/create_test_run_and_fill_by_work_items_api_model.py +++ b/src/testit_api_client/model/create_test_run_and_fill_by_work_items_api_model.py @@ -32,8 +32,10 @@ def lazy_import(): from testit_api_client.model.assign_attachment_api_model import AssignAttachmentApiModel from testit_api_client.model.create_link_api_model import CreateLinkApiModel + from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model_option import CreateTestRunAndFillByAutoTestsApiModelOption globals()['AssignAttachmentApiModel'] = AssignAttachmentApiModel globals()['CreateLinkApiModel'] = CreateLinkApiModel + globals()['CreateTestRunAndFillByAutoTestsApiModelOption'] = CreateTestRunAndFillByAutoTestsApiModelOption class CreateTestRunAndFillByWorkItemsApiModel(ModelNormal): @@ -98,6 +100,7 @@ def openapi_types(): 'attachments': ([AssignAttachmentApiModel], none_type,), # noqa: E501 'links': ([CreateLinkApiModel], none_type,), # noqa: E501 'tags': ([str], none_type,), # noqa: E501 + 'option': (CreateTestRunAndFillByAutoTestsApiModelOption,), # noqa: E501 } @cached_property @@ -116,6 +119,7 @@ def discriminator(): 'attachments': 'attachments', # noqa: E501 'links': 'links', # noqa: E501 'tags': 'tags', # noqa: E501 + 'option': 'option', # noqa: E501 } read_only_vars = { @@ -171,6 +175,7 @@ def _from_openapi_data(cls, project_id, test_plan_id, configuration_ids, work_it attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -272,6 +277,7 @@ def __init__(self, project_id, test_plan_id, configuration_ids, work_item_ids, * attachments ([AssignAttachmentApiModel], none_type): Collection of attachment ids to relate to the test run. [optional] # noqa: E501 links ([CreateLinkApiModel], none_type): Collection of links to relate to the test run. [optional] # noqa: E501 tags ([str], none_type): Collection of tags to assign to the test run. [optional] # noqa: E501 + option (CreateTestRunAndFillByAutoTestsApiModelOption): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/custom_attribute_api_result.py b/src/testit_api_client/model/custom_attribute_api_result.py index d5f7f275..f288ed54 100644 --- a/src/testit_api_client/model/custom_attribute_api_result.py +++ b/src/testit_api_client/model/custom_attribute_api_result.py @@ -89,6 +89,7 @@ def openapi_types(): 'name': (str,), # noqa: E501 'is_enabled': (bool,), # noqa: E501 'is_required': (bool,), # noqa: E501 + 'is_read_only': (bool,), # noqa: E501 'is_global': (bool,), # noqa: E501 'is_system': (bool,), # noqa: E501 'targets': ([str],), # noqa: E501 @@ -107,6 +108,7 @@ def discriminator(): 'name': 'name', # noqa: E501 'is_enabled': 'isEnabled', # noqa: E501 'is_required': 'isRequired', # noqa: E501 + 'is_read_only': 'isReadOnly', # noqa: E501 'is_global': 'isGlobal', # noqa: E501 'is_system': 'isSystem', # noqa: E501 'targets': 'targets', # noqa: E501 @@ -119,7 +121,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_required, is_global, is_system, targets, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_required, is_read_only, is_global, is_system, targets, *args, **kwargs): # noqa: E501 """CustomAttributeApiResult - a model defined in OpenAPI Args: @@ -130,6 +132,7 @@ def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_ name (str): Name of the attribute is_enabled (bool): Indicates if the attribute is enabled is_required (bool): Indicates if the attribute value is mandatory to specify + is_read_only (bool): Indicates if the attribute value is read-only is_global (bool): Indicates if the attribute is available across all projects is_system (bool): Indicates if the attribute is system targets ([str]): Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans) @@ -203,6 +206,7 @@ def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_ self.name = name self.is_enabled = is_enabled self.is_required = is_required + self.is_read_only = is_read_only self.is_global = is_global self.is_system = is_system self.targets = targets @@ -226,7 +230,7 @@ def _from_openapi_data(cls, id, options, type, is_deleted, name, is_enabled, is_ ]) @convert_js_args_to_python_args - def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required, is_global, is_system, targets, *args, **kwargs): # noqa: E501 + def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required, is_read_only, is_global, is_system, targets, *args, **kwargs): # noqa: E501 """CustomAttributeApiResult - a model defined in OpenAPI Args: @@ -237,6 +241,7 @@ def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required, name (str): Name of the attribute is_enabled (bool): Indicates if the attribute is enabled is_required (bool): Indicates if the attribute value is mandatory to specify + is_read_only (bool): Indicates if the attribute value is read-only is_global (bool): Indicates if the attribute is available across all projects is_system (bool): Indicates if the attribute is system targets ([str]): Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans) @@ -308,6 +313,7 @@ def __init__(self, id, options, type, is_deleted, name, is_enabled, is_required, self.name = name self.is_enabled = is_enabled self.is_required = is_required + self.is_read_only = is_read_only self.is_global = is_global self.is_system = is_system self.targets = targets diff --git a/src/testit_api_client/model/group_key.py b/src/testit_api_client/model/group_key.py index 62be64b1..d049a192 100644 --- a/src/testit_api_client/model/group_key.py +++ b/src/testit_api_client/model/group_key.py @@ -29,6 +29,10 @@ from testit_api_client.exceptions import ApiAttributeError +def lazy_import(): + from testit_api_client.model.filter_value import FilterValue + globals()['FilterValue'] = FilterValue + class GroupKey(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. @@ -74,8 +78,9 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ + lazy_import() return { - 'value': (str, none_type,), # noqa: E501 + 'value': (FilterValue,), # noqa: E501 'display_value': (str, none_type,), # noqa: E501 } @@ -100,7 +105,7 @@ def _from_openapi_data(cls, value, *args, **kwargs): # noqa: E501 """GroupKey - a model defined in OpenAPI Args: - value (str, none_type): + value (FilterValue): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -190,7 +195,7 @@ def __init__(self, value, *args, **kwargs): # noqa: E501 """GroupKey - a model defined in OpenAPI Args: - value (str, none_type): + value (FilterValue): Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/src/testit_api_client/model/update_auto_test_request.py b/src/testit_api_client/model/update_auto_test_request.py index 913f7fee..8385bd2a 100644 --- a/src/testit_api_client/model/update_auto_test_request.py +++ b/src/testit_api_client/model/update_auto_test_request.py @@ -102,7 +102,6 @@ def openapi_types(): 'project_id': (str,), # noqa: E501 'external_id': (str,), # noqa: E501 'name': (str,), # noqa: E501 - 'reset_layer': (bool,), # noqa: E501 'id': (str, none_type,), # noqa: E501 'external_key': (str, none_type,), # noqa: E501 'namespace': (str, none_type,), # noqa: E501 @@ -110,6 +109,7 @@ def openapi_types(): 'title': (str, none_type,), # noqa: E501 'description': (str, none_type,), # noqa: E501 'is_flaky': (bool, none_type,), # noqa: E501 + 'reset_layer': (bool, none_type,), # noqa: E501 'steps': ([AutoTestStepApiModel], none_type,), # noqa: E501 'setup': ([AutoTestStepApiModel], none_type,), # noqa: E501 'teardown': ([AutoTestStepApiModel], none_type,), # noqa: E501 @@ -129,7 +129,6 @@ def discriminator(): 'project_id': 'projectId', # noqa: E501 'external_id': 'externalId', # noqa: E501 'name': 'name', # noqa: E501 - 'reset_layer': 'resetLayer', # noqa: E501 'id': 'id', # noqa: E501 'external_key': 'externalKey', # noqa: E501 'namespace': 'namespace', # noqa: E501 @@ -137,6 +136,7 @@ def discriminator(): 'title': 'title', # noqa: E501 'description': 'description', # noqa: E501 'is_flaky': 'isFlaky', # noqa: E501 + 'reset_layer': 'resetLayer', # noqa: E501 'steps': 'steps', # noqa: E501 'setup': 'setup', # noqa: E501 'teardown': 'teardown', # noqa: E501 @@ -159,7 +159,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 project_id (str): Unique ID of the autotest project external_id (str): External ID of the autotest name (str): Name of the autotest - reset_layer (bool): Indicates if the autotest layer should be reset. _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. @@ -197,6 +196,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 title (str, none_type): Name of the autotest in autotest's card. [optional] # noqa: E501 description (str, none_type): Description of the autotest in autotest's card. [optional] # noqa: E501 is_flaky (bool, none_type): Indicates if the autotest is marked as flaky. [optional] # noqa: E501 + reset_layer (bool, none_type): Indicates if the autotest layer should be reset.. [optional] # noqa: E501 steps ([AutoTestStepApiModel], none_type): Collection of the autotest steps. [optional] # noqa: E501 setup ([AutoTestStepApiModel], none_type): Collection of the autotest setup steps. [optional] # noqa: E501 teardown ([AutoTestStepApiModel], none_type): Collection of the autotest teardown steps. [optional] # noqa: E501 @@ -281,7 +281,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 project_id (str): Unique ID of the autotest project external_id (str): External ID of the autotest name (str): Name of the autotest - reset_layer (bool): Indicates if the autotest layer should be reset. _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. @@ -319,6 +318,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 title (str, none_type): Name of the autotest in autotest's card. [optional] # noqa: E501 description (str, none_type): Description of the autotest in autotest's card. [optional] # noqa: E501 is_flaky (bool, none_type): Indicates if the autotest is marked as flaky. [optional] # noqa: E501 + reset_layer (bool, none_type): Indicates if the autotest layer should be reset.. [optional] # noqa: E501 steps ([AutoTestStepApiModel], none_type): Collection of the autotest steps. [optional] # noqa: E501 setup ([AutoTestStepApiModel], none_type): Collection of the autotest setup steps. [optional] # noqa: E501 teardown ([AutoTestStepApiModel], none_type): Collection of the autotest teardown steps. [optional] # noqa: E501 diff --git a/src/testit_api_client/model/work_item_filter_api_model.py b/src/testit_api_client/model/work_item_filter_api_model.py index 4c8d995c..58c3463a 100644 --- a/src/testit_api_client/model/work_item_filter_api_model.py +++ b/src/testit_api_client/model/work_item_filter_api_model.py @@ -114,6 +114,8 @@ class WorkItemFilterApiModel(ModelNormal): }, ('auto_test_ids',): { }, + ('layers',): { + }, } additional_properties_type = None @@ -159,6 +161,7 @@ def openapi_types(): 'work_item_version_ids': ([str], none_type,), # noqa: E501 'links': (WorkItemFilterApiModelLinks,), # noqa: E501 'external_metadata': (WorkItemFilterApiModelExternalMetadata,), # noqa: E501 + 'layers': ([str], none_type,), # noqa: E501 } @cached_property @@ -194,6 +197,7 @@ def discriminator(): 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 'links': 'links', # noqa: E501 'external_metadata': 'externalMetadata', # noqa: E501 + 'layers': 'layers', # noqa: E501 } read_only_vars = { @@ -264,6 +268,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 links (WorkItemFilterApiModelLinks): [optional] # noqa: E501 external_metadata (WorkItemFilterApiModelExternalMetadata): [optional] # noqa: E501 + layers ([str], none_type): Specifies auto test case layers to search for. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -376,6 +381,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 links (WorkItemFilterApiModelLinks): [optional] # noqa: E501 external_metadata (WorkItemFilterApiModelExternalMetadata): [optional] # noqa: E501 + layers ([str], none_type): Specifies auto test case layers to search for. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/api_v2_projects_id_external_services_issues_search_post_request.py b/src/testit_api_client/model/work_item_layer_api_result.py similarity index 75% rename from src/testit_api_client/model/api_v2_projects_id_external_services_issues_search_post_request.py rename to src/testit_api_client/model/work_item_layer_api_result.py index 1b708886..71d34e06 100644 --- a/src/testit_api_client/model/api_v2_projects_id_external_services_issues_search_post_request.py +++ b/src/testit_api_client/model/work_item_layer_api_result.py @@ -30,11 +30,11 @@ def lazy_import(): - from testit_api_client.model.search_external_issues_api_model import SearchExternalIssuesApiModel - globals()['SearchExternalIssuesApiModel'] = SearchExternalIssuesApiModel + from testit_api_client.model.layer_source import LayerSource + globals()['LayerSource'] = LayerSource -class ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest(ModelComposed): +class WorkItemLayerApiResult(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -62,19 +62,9 @@ class ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest(ModelComposed): } validations = { - ('url',): { - 'min_length': 1, - }, } - @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 + additional_properties_type = None _nullable = False @@ -90,7 +80,8 @@ def openapi_types(): """ lazy_import() return { - 'url': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'source': (LayerSource,), # noqa: E501 } @cached_property @@ -99,19 +90,25 @@ def discriminator(): attribute_map = { - 'url': 'url', # noqa: E501 + 'name': 'name', # noqa: E501 + 'source': 'source', # noqa: E501 } read_only_vars = { } + _composed_schemas = {} + @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest - a model defined in OpenAPI + def _from_openapi_data(cls, name, source, *args, **kwargs): # noqa: E501 + """WorkItemLayerApiResult - a model defined in OpenAPI + + Args: + name (str): Name of the test pyramid layer. + source (LayerSource): Keyword Args: - url (str): Url of external issue _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. @@ -145,7 +142,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _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', ()) @@ -173,29 +170,16 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 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] - + self.name = name + self.source = source for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ + if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: + self.additional_properties_type is None: # discard variable. continue setattr(self, var_name, var_value) - return self required_properties = set([ @@ -205,17 +189,17 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 '_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 - """ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest - a model defined in OpenAPI + def __init__(self, name, source, *args, **kwargs): # noqa: E501 + """WorkItemLayerApiResult - a model defined in OpenAPI + + Args: + name (str): Name of the test pyramid layer. + source (LayerSource): Keyword Args: - url (str): Url of external issue _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. @@ -275,48 +259,16 @@ def __init__(self, *args, **kwargs): # noqa: E501 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] - + self.name = name + self.source = source for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ + if var_name not in self.attribute_map and \ self._configuration is not None and \ self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: + 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.") - - @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': [ - SearchExternalIssuesApiModel, - ], - 'oneOf': [ - ], - } diff --git a/src/testit_api_client/model/work_item_select_api_model_filter.py b/src/testit_api_client/model/work_item_select_api_model_filter.py index c2e1831f..fc3ec27d 100644 --- a/src/testit_api_client/model/work_item_select_api_model_filter.py +++ b/src/testit_api_client/model/work_item_select_api_model_filter.py @@ -116,6 +116,8 @@ class WorkItemSelectApiModelFilter(ModelComposed): }, ('auto_test_ids',): { }, + ('layers',): { + }, } @cached_property @@ -168,6 +170,7 @@ def openapi_types(): 'work_item_version_ids': ([str], none_type,), # noqa: E501 'links': (WorkItemFilterApiModelLinks,), # noqa: E501 'external_metadata': (WorkItemFilterApiModelExternalMetadata,), # noqa: E501 + 'layers': ([str], none_type,), # noqa: E501 } @cached_property @@ -203,6 +206,7 @@ def discriminator(): 'work_item_version_ids': 'workItemVersionIds', # noqa: E501 'links': 'links', # noqa: E501 'external_metadata': 'externalMetadata', # noqa: E501 + 'layers': 'layers', # noqa: E501 } read_only_vars = { @@ -271,6 +275,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 links (WorkItemFilterApiModelLinks): [optional] # noqa: E501 external_metadata (WorkItemFilterApiModelExternalMetadata): [optional] # noqa: E501 + layers ([str], none_type): Specifies auto test case layers to search for. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -401,6 +406,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 work_item_version_ids ([str], none_type): Collection of identifiers work items versions.. [optional] # noqa: E501 links (WorkItemFilterApiModelLinks): [optional] # noqa: E501 external_metadata (WorkItemFilterApiModelExternalMetadata): [optional] # noqa: E501 + layers ([str], none_type): Specifies auto test case layers to search for. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/work_item_short_api_result.py b/src/testit_api_client/model/work_item_short_api_result.py index 03f3d014..82bca04a 100644 --- a/src/testit_api_client/model/work_item_short_api_result.py +++ b/src/testit_api_client/model/work_item_short_api_result.py @@ -33,11 +33,13 @@ def lazy_import(): from testit_api_client.model.iteration_api_result import IterationApiResult from testit_api_client.model.link_short_api_result import LinkShortApiResult from testit_api_client.model.work_item_priority_model import WorkItemPriorityModel + from testit_api_client.model.work_item_short_api_result_layer import WorkItemShortApiResultLayer from testit_api_client.model.work_item_source_type_model import WorkItemSourceTypeModel from testit_api_client.model.work_item_states import WorkItemStates globals()['IterationApiResult'] = IterationApiResult globals()['LinkShortApiResult'] = LinkShortApiResult globals()['WorkItemPriorityModel'] = WorkItemPriorityModel + globals()['WorkItemShortApiResultLayer'] = WorkItemShortApiResultLayer globals()['WorkItemSourceTypeModel'] = WorkItemSourceTypeModel globals()['WorkItemStates'] = WorkItemStates @@ -112,6 +114,7 @@ def openapi_types(): 'created_date': (datetime, none_type,), # noqa: E501 'modified_date': (datetime, none_type,), # noqa: E501 'tag_names': ([str], none_type,), # noqa: E501 + 'layer': (WorkItemShortApiResultLayer,), # noqa: E501 } @cached_property @@ -144,6 +147,7 @@ def discriminator(): 'created_date': 'createdDate', # noqa: E501 'modified_date': 'modifiedDate', # noqa: E501 'tag_names': 'tagNames', # noqa: E501 + 'layer': 'layer', # noqa: E501 } read_only_vars = { @@ -213,6 +217,7 @@ def _from_openapi_data(cls, id, version_id, version_number, name, entity_type_na created_date (datetime, none_type): Date and time of Work Item creation. [optional] # noqa: E501 modified_date (datetime, none_type): Date and time of the latest modification of Work Item. [optional] # noqa: E501 tag_names ([str], none_type): Array of tag names of Work Item. [optional] # noqa: E501 + layer (WorkItemShortApiResultLayer): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -342,6 +347,7 @@ def __init__(self, id, version_id, version_number, name, entity_type_name, proje created_date (datetime, none_type): Date and time of Work Item creation. [optional] # noqa: E501 modified_date (datetime, none_type): Date and time of the latest modification of Work Item. [optional] # noqa: E501 tag_names ([str], none_type): Array of tag names of Work Item. [optional] # noqa: E501 + layer (WorkItemShortApiResultLayer): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/testit_api_client/model/api_v2_external_services_id_ai_models_post_request.py b/src/testit_api_client/model/work_item_short_api_result_layer.py similarity index 93% rename from src/testit_api_client/model/api_v2_external_services_id_ai_models_post_request.py rename to src/testit_api_client/model/work_item_short_api_result_layer.py index 0ae4b1ae..cb554b3e 100644 --- a/src/testit_api_client/model/api_v2_external_services_id_ai_models_post_request.py +++ b/src/testit_api_client/model/work_item_short_api_result_layer.py @@ -30,13 +30,13 @@ def lazy_import(): - from testit_api_client.model.get_ai_service_models_api_model import GetAIServiceModelsApiModel - from testit_api_client.model.inquiry import Inquiry - globals()['GetAIServiceModelsApiModel'] = GetAIServiceModelsApiModel - globals()['Inquiry'] = Inquiry + from testit_api_client.model.layer_source import LayerSource + from testit_api_client.model.work_item_layer_api_result import WorkItemLayerApiResult + globals()['LayerSource'] = LayerSource + globals()['WorkItemLayerApiResult'] = WorkItemLayerApiResult -class ApiV2ExternalServicesIdAiModelsPostRequest(ModelComposed): +class WorkItemShortApiResultLayer(ModelComposed): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -75,7 +75,7 @@ def additional_properties_type(): lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - _nullable = False + _nullable = True @cached_property def openapi_types(): @@ -89,7 +89,8 @@ def openapi_types(): """ lazy_import() return { - 'inquiry': (Inquiry,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'source': (LayerSource,), # noqa: E501 } @cached_property @@ -98,7 +99,8 @@ def discriminator(): attribute_map = { - 'inquiry': 'inquiry', # noqa: E501 + 'name': 'name', # noqa: E501 + 'source': 'source', # noqa: E501 } read_only_vars = { @@ -107,9 +109,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ApiV2ExternalServicesIdAiModelsPostRequest - a model defined in OpenAPI + """WorkItemShortApiResultLayer - a model defined in OpenAPI Keyword Args: + name (str): Name of the test pyramid layer. + source (LayerSource): _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. @@ -140,7 +144,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - inquiry (Inquiry): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -211,9 +214,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """ApiV2ExternalServicesIdAiModelsPostRequest - a model defined in OpenAPI + """WorkItemShortApiResultLayer - a model defined in OpenAPI Keyword Args: + name (str): Name of the test pyramid layer. + source (LayerSource): _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. @@ -244,7 +249,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - inquiry (Inquiry): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -314,7 +318,7 @@ def _composed_schemas(): 'anyOf': [ ], 'allOf': [ - GetAIServiceModelsApiModel, + WorkItemLayerApiResult, ], 'oneOf': [ ], diff --git a/src/testit_api_client/models/__init__.py b/src/testit_api_client/models/__init__.py index d3f69045..5d901887 100644 --- a/src/testit_api_client/models/__init__.py +++ b/src/testit_api_client/models/__init__.py @@ -22,11 +22,9 @@ from testit_api_client.model.api_v2_auto_tests_flaky_bulk_post_request import ApiV2AutoTestsFlakyBulkPostRequest from testit_api_client.model.api_v2_auto_tests_id_test_results_search_post_request import ApiV2AutoTestsIdTestResultsSearchPostRequest from testit_api_client.model.api_v2_auto_tests_search_post_request import ApiV2AutoTestsSearchPostRequest -from testit_api_client.model.api_v2_autotests_result_reasons_grouping_search_post_request import ApiV2AutotestsResultReasonsGroupingSearchPostRequest -from testit_api_client.model.api_v2_autotests_result_reasons_post_request import ApiV2AutotestsResultReasonsPostRequest -from testit_api_client.model.api_v2_autotests_result_reasons_put_request import ApiV2AutotestsResultReasonsPutRequest -from testit_api_client.model.api_v2_autotests_result_reasons_search_post_request import ApiV2AutotestsResultReasonsSearchPostRequest from testit_api_client.model.api_v2_background_jobs_search_post_request import ApiV2BackgroundJobsSearchPostRequest +from testit_api_client.model.api_v2_configuration_parameters_post_request import ApiV2ConfigurationParametersPostRequest +from testit_api_client.model.api_v2_configuration_parameters_search_post_request import ApiV2ConfigurationParametersSearchPostRequest from testit_api_client.model.api_v2_configurations_create_by_parameters_post_request import ApiV2ConfigurationsCreateByParametersPostRequest from testit_api_client.model.api_v2_configurations_delete_bulk_post_request import ApiV2ConfigurationsDeleteBulkPostRequest from testit_api_client.model.api_v2_configurations_purge_bulk_post_request import ApiV2ConfigurationsPurgeBulkPostRequest @@ -39,26 +37,15 @@ from testit_api_client.model.api_v2_custom_attributes_templates_put_request import ApiV2CustomAttributesTemplatesPutRequest from testit_api_client.model.api_v2_custom_attributes_templates_search_post_request import ApiV2CustomAttributesTemplatesSearchPostRequest from testit_api_client.model.api_v2_external_issues_suggestions_post_request import ApiV2ExternalIssuesSuggestionsPostRequest -from testit_api_client.model.api_v2_external_services_id_ai_models_post_request import ApiV2ExternalServicesIdAiModelsPostRequest from testit_api_client.model.api_v2_notifications_search_post_request import ApiV2NotificationsSearchPostRequest from testit_api_client.model.api_v2_parameters_search_groups_post_request import ApiV2ParametersSearchGroupsPostRequest from testit_api_client.model.api_v2_parameters_search_post_request import ApiV2ParametersSearchPostRequest -from testit_api_client.model.api_v2_projects_id_external_services_external_service_id_patch_request import ApiV2ProjectsIdExternalServicesExternalServiceIdPatchRequest -from testit_api_client.model.api_v2_projects_id_external_services_external_service_id_put_request import ApiV2ProjectsIdExternalServicesExternalServiceIdPutRequest -from testit_api_client.model.api_v2_projects_id_external_services_issues_search_post_request import ApiV2ProjectsIdExternalServicesIssuesSearchPostRequest from testit_api_client.model.api_v2_projects_project_id_attributes_templates_search_post_request import ApiV2ProjectsProjectIdAttributesTemplatesSearchPostRequest -from testit_api_client.model.api_v2_projects_project_id_autotests_failure_categories_post_request import ApiV2ProjectsProjectIdAutotestsFailureCategoriesPostRequest -from testit_api_client.model.api_v2_projects_project_id_autotests_failure_categories_put_request import ApiV2ProjectsProjectIdAutotestsFailureCategoriesPutRequest from testit_api_client.model.api_v2_projects_project_id_settings_autotests_post_request import ApiV2ProjectsProjectIdSettingsAutotestsPostRequest from testit_api_client.model.api_v2_projects_project_id_test_plans_delete_bulk_post_request import ApiV2ProjectsProjectIdTestPlansDeleteBulkPostRequest from testit_api_client.model.api_v2_projects_project_id_test_plans_search_post_request import ApiV2ProjectsProjectIdTestPlansSearchPostRequest -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_analytics_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAnalyticsPostRequest from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_rerun_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRerunPostRequest from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_autotests_run_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsAutotestsRunPostRequest -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_grouping_search_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsGroupingSearchPostRequest -from testit_api_client.model.api_v2_projects_project_id_test_plans_test_plan_id_test_points_testers_post_request import ApiV2ProjectsProjectIdTestPlansTestPlanIdTestPointsTestersPostRequest -from testit_api_client.model.api_v2_projects_project_id_work_items_previews_bulk_post_request import ApiV2ProjectsProjectIdWorkItemsPreviewsBulkPostRequest -from testit_api_client.model.api_v2_projects_project_id_work_items_previews_post_request import ApiV2ProjectsProjectIdWorkItemsPreviewsPostRequest from testit_api_client.model.api_v2_projects_project_id_work_items_search_grouped_post_request import ApiV2ProjectsProjectIdWorkItemsSearchGroupedPostRequest from testit_api_client.model.api_v2_projects_project_id_work_items_search_id_post_request import ApiV2ProjectsProjectIdWorkItemsSearchIdPostRequest from testit_api_client.model.api_v2_projects_project_id_work_items_search_post_request import ApiV2ProjectsProjectIdWorkItemsSearchPostRequest @@ -76,7 +63,6 @@ from testit_api_client.model.api_v2_test_results_external_projects_external_project_id_defects_post_request import ApiV2TestResultsExternalProjectsExternalProjectIdDefectsPostRequest from testit_api_client.model.api_v2_test_results_id_put_request import ApiV2TestResultsIdPutRequest from testit_api_client.model.api_v2_test_results_search_post_request import ApiV2TestResultsSearchPostRequest -from testit_api_client.model.api_v2_test_runs_by_auto_test_cases_post_request import ApiV2TestRunsByAutoTestCasesPostRequest from testit_api_client.model.api_v2_test_runs_delete_request import ApiV2TestRunsDeleteRequest from testit_api_client.model.api_v2_test_runs_id_reruns_post_request import ApiV2TestRunsIdRerunsPostRequest from testit_api_client.model.api_v2_test_runs_id_statistics_filter_post_request import ApiV2TestRunsIdStatisticsFilterPostRequest @@ -252,6 +238,7 @@ from testit_api_client.model.create_test_run_and_fill_by_auto_test_cases_api_model_filter import CreateTestRunAndFillByAutoTestCasesApiModelFilter from testit_api_client.model.create_test_run_and_fill_by_auto_test_cases_api_model_option import CreateTestRunAndFillByAutoTestCasesApiModelOption from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model import CreateTestRunAndFillByAutoTestsApiModel +from testit_api_client.model.create_test_run_and_fill_by_auto_tests_api_model_option import CreateTestRunAndFillByAutoTestsApiModelOption from testit_api_client.model.create_test_run_and_fill_by_configurations_api_model import CreateTestRunAndFillByConfigurationsApiModel 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 @@ -759,6 +746,7 @@ from testit_api_client.model.work_item_group_type import WorkItemGroupType from testit_api_client.model.work_item_id_api_model import WorkItemIdApiModel from testit_api_client.model.work_item_index_api_result import WorkItemIndexApiResult +from testit_api_client.model.work_item_layer_api_result import WorkItemLayerApiResult from testit_api_client.model.work_item_like_model import WorkItemLikeModel from testit_api_client.model.work_item_link_change_view_model import WorkItemLinkChangeViewModel from testit_api_client.model.work_item_link_change_view_model_array_changed_field_view_model import WorkItemLinkChangeViewModelArrayChangedFieldViewModel @@ -790,6 +778,7 @@ from testit_api_client.model.work_item_select_model import WorkItemSelectModel from testit_api_client.model.work_item_select_model_filter import WorkItemSelectModelFilter from testit_api_client.model.work_item_short_api_result import WorkItemShortApiResult +from testit_api_client.model.work_item_short_api_result_layer import WorkItemShortApiResultLayer from testit_api_client.model.work_item_short_model import WorkItemShortModel from testit_api_client.model.work_item_source_type_api_model import WorkItemSourceTypeApiModel from testit_api_client.model.work_item_source_type_model import WorkItemSourceTypeModel