diff --git a/.swagger/cloud-swagger.json b/.swagger/cloud-swagger.json
index a0dc855..c951f75 100644
--- a/.swagger/cloud-swagger.json
+++ b/.swagger/cloud-swagger.json
@@ -21707,7 +21707,8 @@
}
}
}
- }
+ },
+ "deprecated": true
}
},
"/api/v2/testPlans/{id}/test-points/withSections": {
@@ -21809,7 +21810,8 @@
}
}
}
- }
+ },
+ "deprecated": true
}
},
"/api/v2/testPlans/{id}/autobalance": {
@@ -26596,19 +26598,20 @@
}
}
},
- "/api/v2/testRuns/updateMultiple": {
+ "/api/v2/testRuns/byAutoTestCases": {
"post": {
"tags": [
"TestRuns"
],
- "summary": "Update multiple test runs",
+ "summary": "Create TestRun filled with autotests linked to work items of type \"AutoTestCases\" selected by the filter",
"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/UpdateMultipleTestRunsApiModel"
+ "$ref": "#/components/schemas/CreateTestRunAndFillByAutoTestCasesApiModel"
}
]
}
@@ -26616,8 +26619,15 @@
}
},
"responses": {
- "204": {
- "description": "No Content"
+ "201": {
+ "description": "Created",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TestRunV2ApiResult"
+ }
+ }
+ }
},
"400": {
"description": "Bad Request",
@@ -26682,34 +26692,21 @@
}
}
},
- "/api/v2/testRuns/{id}": {
- "patch": {
+ "/api/v2/testRuns/updateMultiple": {
+ "post": {
"tags": [
"TestRuns"
],
- "summary": "Patch test run",
- "description": "See RFC 6902: JavaScript Object Notation (JSON) Patch for details",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "Test Run internal identifier (GUID format)",
- "required": true,
- "schema": {
- "type": "string",
- "format": "uuid"
- },
- "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
- }
- ],
+ "summary": "Update multiple test runs",
"requestBody": {
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Operation"
- }
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/UpdateMultipleTestRunsApiModel"
+ }
+ ]
}
}
}
@@ -26739,7 +26736,7 @@
}
},
"403": {
- "description": "Update permission for test library required",
+ "description": "Forbidden",
"content": {
"application/json": {
"schema": {
@@ -26779,14 +26776,15 @@
}
}
}
- },
- "get": {
+ }
+ },
+ "/api/v2/testRuns/{id}": {
+ "patch": {
"tags": [
"TestRuns"
],
- "summary": "Get TestRun by Id",
- "description": "\nUse case\n\nUser sets test run identifier\n\nUser runs method execution\n\nSystem finds test run\n\nSystem returns test run",
- "operationId": "GetTestRunById",
+ "summary": "Patch test run",
+ "description": "See RFC 6902: JavaScript Object Notation (JSON) Patch for details",
"parameters": [
{
"name": "id",
@@ -26800,103 +26798,24 @@
"example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
- "responses": {
- "200": {
- "description": "Successful operation",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TestRunV2ApiResult"
- }
- }
- }
- },
- "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 result required",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProblemDetails"
- }
- }
- }
- },
- "404": {
- "description": "\nTestRun with ID '{id}' does 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"
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Operation"
}
}
}
}
- }
- },
- "delete": {
- "tags": [
- "TestRuns"
- ],
- "summary": "Delete test run",
- "description": "\nUse case\n\nUser sets test run internal (guid format) identifier\n\nSystem search and delete test run",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "Test run internal (UUID) identifier",
- "required": true,
- "schema": {
- "type": "string",
- "format": "uuid"
- }
- }
- ],
+ },
"responses": {
"204": {
"description": "No Content"
},
"400": {
- "description": "\n- ID is not valid\n\n- Project was archived and cannot be edited anymore",
+ "description": "Bad Request",
"content": {
"application/json": {
"schema": {
@@ -26916,7 +26835,7 @@
}
},
"403": {
- "description": "Forbidden",
+ "description": "Update permission for test library required",
"content": {
"application/json": {
"schema": {
@@ -26926,7 +26845,7 @@
}
},
"404": {
- "description": "Test run with provided ID cannot be found",
+ "description": "Not Found",
"content": {
"application/json": {
"schema": {
@@ -26956,16 +26875,14 @@
}
}
}
- }
- },
- "/api/v2/testRuns/{id}/start": {
- "post": {
+ },
+ "get": {
"tags": [
"TestRuns"
],
- "summary": "Start TestRun",
- "description": "\nUse case\n\nUser sets test run identifier\n\nUser runs method execution\n\nSystem starts test run\n\nSystem returns no content response",
- "operationId": "StartTestRun",
+ "summary": "Get TestRun by Id",
+ "description": "\nUse case\n\nUser sets test run identifier\n\nUser runs method execution\n\nSystem finds test run\n\nSystem returns test run",
+ "operationId": "GetTestRunById",
"parameters": [
{
"name": "id",
@@ -26980,99 +26897,18 @@
}
],
"responses": {
- "204": {
- "description": "Successful operation"
- },
- "400": {
- "description": "\nField is required\n\nthe StateName is already InProgress\n\nthe StateName is already Stopped\n\nthe StateName is already Completed",
- "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 result required",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProblemDetails"
- }
- }
- }
- },
- "404": {
- "description": "\nCan't find a TestRun with id!",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProblemDetails"
- }
- }
- }
- },
- "409": {
- "description": "Conflict",
+ "200": {
+ "description": "Successful operation",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ProblemDetails"
+ "$ref": "#/components/schemas/TestRunV2ApiResult"
}
}
}
},
- "422": {
- "description": "Unprocessable Entity",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProblemDetails"
- }
- }
- }
- }
- }
- }
- },
- "/api/v2/testRuns/{id}/stop": {
- "post": {
- "tags": [
- "TestRuns"
- ],
- "summary": "Stop TestRun",
- "description": "\nUse case\n\nUser sets test run identifier\n\nUser runs method execution\n\nSystem stops test run\n\nSystem returns no content response",
- "operationId": "StopTestRun",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "Test Run internal identifier (GUID format)",
- "required": true,
- "schema": {
- "type": "string",
- "format": "uuid"
- },
- "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
- }
- ],
- "responses": {
- "204": {
- "description": "Successful operation"
- },
"400": {
- "description": "\nField is required\n\nthe StateName is already Stopped\n\nthe StateName is already Completed",
+ "description": "Bad Request",
"content": {
"application/json": {
"schema": {
@@ -27092,7 +26928,7 @@
}
},
"403": {
- "description": "Update permission for test result required",
+ "description": "Read permission for test result required",
"content": {
"application/json": {
"schema": {
@@ -27102,7 +26938,267 @@
}
},
"404": {
- "description": "\nCan't find a TestRun with id!",
+ "description": "\nTestRun with ID '{id}' does 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"
+ }
+ }
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "TestRuns"
+ ],
+ "summary": "Delete test run",
+ "description": "\nUse case\n\nUser sets test run internal (guid format) identifier\n\nSystem search and delete test run",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "Test run internal (UUID) identifier",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No Content"
+ },
+ "400": {
+ "description": "\n- ID is not valid\n\n- Project was archived and cannot be edited anymore",
+ "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": "Test run with provided ID cannot be 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/testRuns/{id}/start": {
+ "post": {
+ "tags": [
+ "TestRuns"
+ ],
+ "summary": "Start TestRun",
+ "description": "\nUse case\n\nUser sets test run identifier\n\nUser runs method execution\n\nSystem starts test run\n\nSystem returns no content response",
+ "operationId": "StartTestRun",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "Test Run internal identifier (GUID format)",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Successful operation"
+ },
+ "400": {
+ "description": "\nField is required\n\nthe StateName is already InProgress\n\nthe StateName is already Stopped\n\nthe StateName is already Completed",
+ "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 result required",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "\nCan't find a TestRun with id!",
+ "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/{id}/stop": {
+ "post": {
+ "tags": [
+ "TestRuns"
+ ],
+ "summary": "Stop TestRun",
+ "description": "\nUse case\n\nUser sets test run identifier\n\nUser runs method execution\n\nSystem stops test run\n\nSystem returns no content response",
+ "operationId": "StopTestRun",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "Test Run internal identifier (GUID format)",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Successful operation"
+ },
+ "400": {
+ "description": "\nField is required\n\nthe StateName is already Stopped\n\nthe StateName is already Completed",
+ "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 result required",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "\nCan't find a TestRun with id!",
"content": {
"application/json": {
"schema": {
@@ -37050,6 +37146,15 @@
"format": "int64",
"nullable": true
},
+ "layer": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LayerApiResult"
+ }
+ ],
+ "description": "Model of auto test layer for use in responses.",
+ "nullable": true
+ },
"links": {
"type": "array",
"items": {
@@ -39054,7 +39159,8 @@
"required": [
"externalId",
"name",
- "projectId"
+ "projectId",
+ "resetLayer"
],
"type": "object",
"properties": {
@@ -39109,6 +39215,10 @@
"description": "Indicates if the autotest is marked as flaky",
"nullable": true
},
+ "resetLayer": {
+ "type": "boolean",
+ "description": "Indicates if the autotest layer should be reset."
+ },
"steps": {
"type": "array",
"items": {
@@ -39496,7 +39606,8 @@
"PurgeEntities",
"DeleteCompletedJobs",
"CopySections",
- "DeleteSection"
+ "DeleteSection",
+ "ImportAutoTestsReport"
],
"type": "string"
},
@@ -39836,6 +39947,344 @@
},
"additionalProperties": false
},
+ "ConfigurationParameterApiModel": {
+ "required": [
+ "name",
+ "values"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 255,
+ "minLength": 0,
+ "type": "string",
+ "description": "Name of the configuration parameter, must be unique"
+ },
+ "values": {
+ "minItems": 1,
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ConfigurationParameterValueApiModel"
+ },
+ "description": "List of possible configuration parameter values"
+ },
+ "projects": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ConfigurationParameterProjectApiModel"
+ },
+ "description": "List of projects to which configuration parameter should be assigned",
+ "nullable": true
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterApiResult": {
+ "required": [
+ "createdById",
+ "createdDate",
+ "id",
+ "isDeleted",
+ "modifiedById",
+ "modifiedDate",
+ "name",
+ "projects",
+ "values"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Identifier of the configuration parameter",
+ "format": "uuid"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the configuration parameter"
+ },
+ "isDeleted": {
+ "type": "boolean",
+ "description": "Is configuration parameter deleted?"
+ },
+ "createdDate": {
+ "type": "string",
+ "description": "Date of configuration parameter creation",
+ "format": "date-time"
+ },
+ "createdById": {
+ "type": "string",
+ "description": "Identifier of user who created configuration parameter",
+ "format": "uuid"
+ },
+ "modifiedDate": {
+ "type": "string",
+ "description": "Date of configuration parameter modification",
+ "format": "date-time"
+ },
+ "modifiedById": {
+ "type": "string",
+ "description": "Identifier of user who modified configuration parameter",
+ "format": "uuid"
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ConfigurationParameterValueApiResult"
+ },
+ "description": "List of configuration parameter values"
+ },
+ "projects": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ProjectNameApiResult"
+ },
+ "description": "List of assigned projects"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterPreviewApiResult": {
+ "required": [
+ "createdById",
+ "createdDate",
+ "id",
+ "isDeleted",
+ "modifiedById",
+ "modifiedDate",
+ "name",
+ "projects",
+ "values"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Identifier of the configuration parameter",
+ "format": "uuid"
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the configuration parameter"
+ },
+ "isDeleted": {
+ "type": "boolean",
+ "description": "Is configuration parameter deleted?"
+ },
+ "createdDate": {
+ "type": "string",
+ "description": "Date of configuration parameter creation",
+ "format": "date-time"
+ },
+ "createdById": {
+ "type": "string",
+ "description": "Identifier of user who created configuration parameter",
+ "format": "uuid"
+ },
+ "modifiedDate": {
+ "type": "string",
+ "description": "Date of configuration parameter modification",
+ "format": "date-time"
+ },
+ "modifiedById": {
+ "type": "string",
+ "description": "Identifier of user who modified configuration parameter",
+ "format": "uuid"
+ },
+ "values": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ConfigurationParameterValueApiResultApiCollectionPreview"
+ }
+ ],
+ "description": "Preview of configuration parameter values"
+ },
+ "projects": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ProjectNameApiResultApiCollectionPreview"
+ }
+ ],
+ "description": "Preview of assigned projects"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterPreviewApiResultCountReply": {
+ "required": [
+ "totalCount"
+ ],
+ "type": "object",
+ "properties": {
+ "totalCount": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterPreviewApiResultGroup": {
+ "required": [
+ "data",
+ "key",
+ "totalCount"
+ ],
+ "type": "object",
+ "properties": {
+ "key": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/GroupKey"
+ }
+ ]
+ },
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ConfigurationParameterPreviewApiResult"
+ }
+ },
+ "totalCount": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterPreviewApiResultGroupedReply": {
+ "required": [
+ "groups",
+ "totalCount"
+ ],
+ "type": "object",
+ "properties": {
+ "groups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ConfigurationParameterPreviewApiResultGroup"
+ }
+ },
+ "totalCount": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterPreviewApiResultIReply": {
+ "required": [
+ "totalCount"
+ ],
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/components/schemas/ConfigurationParameterPreviewApiResultReply"
+ },
+ {
+ "$ref": "#/components/schemas/ConfigurationParameterPreviewApiResultGroupedReply"
+ },
+ {
+ "$ref": "#/components/schemas/ConfigurationParameterPreviewApiResultCountReply"
+ }
+ ],
+ "properties": {
+ "totalCount": {
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterPreviewApiResultReply": {
+ "required": [
+ "data",
+ "totalCount"
+ ],
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ConfigurationParameterPreviewApiResult"
+ }
+ },
+ "totalCount": {
+ "type": "integer",
+ "format": "int32"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterProjectApiModel": {
+ "required": [
+ "id"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Identifier of project",
+ "format": "uuid"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterValueApiModel": {
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "value": {
+ "maxLength": 255,
+ "minLength": 0,
+ "type": "string",
+ "description": "Value of the configuration parameter"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterValueApiResult": {
+ "required": [
+ "id",
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Identifier of the configuration parameter value",
+ "format": "uuid"
+ },
+ "value": {
+ "type": "string",
+ "description": "Value of the configuration parameter"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ConfigurationParameterValueApiResultApiCollectionPreview": {
+ "required": [
+ "data",
+ "totalCount"
+ ],
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ConfigurationParameterValueApiResult"
+ },
+ "description": "Preview items"
+ },
+ "totalCount": {
+ "type": "integer",
+ "description": "Total count",
+ "format": "int32"
+ }
+ },
+ "additionalProperties": false
+ },
"ConfigurationPostModel": {
"required": [
"isDefault",
@@ -40425,6 +40874,71 @@
},
"additionalProperties": false
},
+ "CreateTestRunAndFillByAutoTestCasesApiModel": {
+ "required": [
+ "configurationIds",
+ "option",
+ "projectId"
+ ],
+ "type": "object",
+ "properties": {
+ "projectId": {
+ "type": "string",
+ "description": "Specifies the GUID of the project, in which a test run will be created.",
+ "format": "uuid"
+ },
+ "filter": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/CompositeFilter"
+ }
+ ],
+ "description": "Specifies the filter for selecting autotests, from which test points are created.",
+ "nullable": true
+ },
+ "name": {
+ "type": "string",
+ "description": "Specifies the name of the test run.",
+ "nullable": true
+ },
+ "configurationIds": {
+ "minItems": 1,
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "description": "Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs."
+ },
+ "description": {
+ "type": "string",
+ "description": "Specifies the test run description.",
+ "nullable": true
+ },
+ "launchSource": {
+ "type": "string",
+ "description": "Specifies the test run launch source.",
+ "nullable": true
+ },
+ "option": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/TestRunLaunchOptionApiModel"
+ }
+ ],
+ "description": "Specifies the test run launch options."
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Collection of tags to assign to the test run",
+ "nullable": true
+ }
+ },
+ "additionalProperties": false
+ },
"CreateTestRunAndFillByAutoTestsApiModel": {
"required": [
"autoTestExternalIds",
@@ -41712,30 +42226,30 @@
"workItemsCount": {
"type": "integer",
"description": "Number of work items in the project",
- "format": "int32"
+ "format": "int64"
},
"testCasesCount": {
"type": "integer",
"description": "Number of test cases in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"sharedStepsCount": {
"type": "integer",
"description": "Number of shared steps in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"checkListsCount": {
"type": "integer",
"description": "Number of checklists in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"autoTestsCount": {
"type": "integer",
"description": "Number of autotests in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"isDeleted": {
@@ -42758,10 +43272,10 @@
},
"additionalProperties": false
},
- "Filter": {
+ "FieldFilter": {
"required": [
- "field",
- "operator"
+ "operator",
+ "value"
],
"type": "object",
"properties": {
@@ -42775,6 +43289,31 @@
"value": {
"type": "string",
"nullable": true
+ }
+ },
+ "additionalProperties": false
+ },
+ "Filter": {
+ "required": [
+ "field",
+ "operator",
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "operator": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/FilterOperator"
+ }
+ ]
+ },
+ "value": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/JsonElement"
+ }
+ ]
},
"field": {
"type": "string",
@@ -43462,6 +44001,36 @@
},
"additionalProperties": false
},
+ "JsonElement": {
+ "required": [
+ "valueKind"
+ ],
+ "type": "object",
+ "properties": {
+ "valueKind": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/JsonValueKind"
+ }
+ ],
+ "readOnly": true
+ }
+ },
+ "additionalProperties": false
+ },
+ "JsonValueKind": {
+ "enum": [
+ "Undefined",
+ "Object",
+ "Array",
+ "String",
+ "Number",
+ "True",
+ "False",
+ "Null"
+ ],
+ "type": "string"
+ },
"Label": {
"required": [
"globalId",
@@ -43627,6 +44196,62 @@
},
"additionalProperties": false
},
+ "LayerApiModel": {
+ "required": [
+ "name",
+ "source"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "minLength": 1,
+ "type": "string",
+ "description": "Name of the test pyramid layer.\n \nAvailable layers:\n \n* Unit\n* Component\n* API\n* UI\n* E2E\n* Contract"
+ },
+ "source": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/LayerSource"
+ }
+ ],
+ "description": "Source of the test pyramid layer."
+ }
+ },
+ "additionalProperties": false,
+ "description": "Model of auto test layer for use in requests."
+ },
+ "LayerApiResult": {
+ "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."
+ },
+ "LayerSource": {
+ "enum": [
+ "Manual",
+ "Report",
+ "Run",
+ "Rule"
+ ],
+ "type": "string"
+ },
"LinkApiResult": {
"required": [
"hasInfo",
@@ -44637,30 +45262,30 @@
"workItemsCount": {
"type": "integer",
"description": "Number of work items in the project",
- "format": "int32"
+ "format": "int64"
},
"testCasesCount": {
"type": "integer",
"description": "Number of test cases in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"sharedStepsCount": {
"type": "integer",
"description": "Number of shared steps in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"checkListsCount": {
"type": "integer",
"description": "Number of checklists in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"autoTestsCount": {
"type": "integer",
"description": "Number of autotests in the project",
- "format": "int32",
+ "format": "int64",
"nullable": true
},
"isDeleted": {
@@ -45076,6 +45701,28 @@
},
"additionalProperties": false
},
+ "ProjectNameApiResultApiCollectionPreview": {
+ "required": [
+ "data",
+ "totalCount"
+ ],
+ "type": "object",
+ "properties": {
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ProjectNameApiResult"
+ },
+ "description": "Preview items"
+ },
+ "totalCount": {
+ "type": "integer",
+ "description": "Total count",
+ "format": "int32"
+ }
+ },
+ "additionalProperties": false
+ },
"ProjectSelectModel": {
"type": "object",
"properties": {
@@ -45457,7 +46104,7 @@
"testCasesCount": {
"allOf": [
{
- "$ref": "#/components/schemas/Int32RangeSelectorModel"
+ "$ref": "#/components/schemas/Int64RangeSelectorModel"
}
],
"description": "Specifies a project range of test cases count to search for",
@@ -45466,7 +46113,7 @@
"checklistsCount": {
"allOf": [
{
- "$ref": "#/components/schemas/Int32RangeSelectorModel"
+ "$ref": "#/components/schemas/Int64RangeSelectorModel"
}
],
"description": "Specifies a project range of checklists count to search for",
@@ -45475,7 +46122,7 @@
"sharedStepsCount": {
"allOf": [
{
- "$ref": "#/components/schemas/Int32RangeSelectorModel"
+ "$ref": "#/components/schemas/Int64RangeSelectorModel"
}
],
"description": "Specifies a project range of shared steps count to search for",
@@ -45484,7 +46131,7 @@
"autotestsCount": {
"allOf": [
{
- "$ref": "#/components/schemas/Int32RangeSelectorModel"
+ "$ref": "#/components/schemas/Int64RangeSelectorModel"
}
],
"description": "Specifies a project range of autotests count to search for",
@@ -45627,6 +46274,86 @@
},
"additionalProperties": false
},
+ "ScheduleAutoTestsReportImportApiModel": {
+ "required": [
+ "attachmentId"
+ ],
+ "type": "object",
+ "properties": {
+ "attachmentId": {
+ "type": "string",
+ "description": "Identifier of attachment with JUnit XML to import",
+ "format": "uuid"
+ },
+ "configurationId": {
+ "type": "string",
+ "description": "Identifier of configuration. Uses default configuration in project if omitted.",
+ "format": "uuid",
+ "nullable": true
+ },
+ "layerName": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string",
+ "description": "Name of test pyramid layer to set. Uses rules if omitted.",
+ "nullable": true
+ }
+ },
+ "additionalProperties": false
+ },
+ "ScheduleAutoTestsReportImportsApiModel": {
+ "required": [
+ "reports"
+ ],
+ "type": "object",
+ "properties": {
+ "reports": {
+ "minItems": 1,
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ScheduleAutoTestsReportImportApiModel"
+ },
+ "description": "Collection of reports to import."
+ }
+ },
+ "additionalProperties": false
+ },
+ "SearchConfigurationParametersApiModel": {
+ "type": "object",
+ "properties": {
+ "projectIds": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "nullable": true
+ },
+ "inquiry": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Inquiry"
+ }
+ ],
+ "nullable": true
+ },
+ "valuesFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/FieldFilter"
+ },
+ "nullable": true
+ },
+ "projectsFilters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/FieldFilter"
+ },
+ "nullable": true
+ }
+ },
+ "additionalProperties": false
+ },
"SearchCustomAttributeTemplateGetModel": {
"required": [
"customAttributeModels",
@@ -52651,6 +53378,31 @@
},
"additionalProperties": false
},
+ "TestRunLaunchOptionApiModel": {
+ "required": [
+ "webhookIds"
+ ],
+ "type": "object",
+ "properties": {
+ "customParameters": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Customers test run parameters.",
+ "nullable": true
+ },
+ "webhookIds": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "description": "Enabled webhooks."
+ }
+ },
+ "additionalProperties": false
+ },
"TestRunNameApiResult": {
"required": [
"id",
@@ -59004,12 +59756,18 @@
{
"name": "Attachments"
},
+ {
+ "name": "Auto tests - Project"
+ },
{
"name": "AutoTests"
},
{
"name": "BackgroundJobs"
},
+ {
+ "name": "ConfigurationParameters"
+ },
{
"name": "Configurations"
},
diff --git a/README.md b/README.md
index abd4b6b..02ccf1f 100644
--- a/README.md
+++ b/README.md
@@ -318,6 +318,7 @@ 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
@@ -490,6 +491,7 @@ 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)
@@ -531,6 +533,7 @@ Class | Method | HTTP request | Description
- [AuditApiResult](docs/AuditApiResult.md)
- [AutoTest](docs/AutoTest.md)
- [AutoTestApiResult](docs/AutoTestApiResult.md)
+ - [AutoTestApiResultLayer](docs/AutoTestApiResultLayer.md)
- [AutoTestAverageDurationApiResult](docs/AutoTestAverageDurationApiResult.md)
- [AutoTestBulkDeleteApiModel](docs/AutoTestBulkDeleteApiModel.md)
- [AutoTestBulkDeleteApiModelAutoTestSelect](docs/AutoTestBulkDeleteApiModelAutoTestSelect.md)
@@ -612,6 +615,20 @@ Class | Method | HTTP request | Description
- [ConfigurationFilterApiModel](docs/ConfigurationFilterApiModel.md)
- [ConfigurationFilterModel](docs/ConfigurationFilterModel.md)
- [ConfigurationModel](docs/ConfigurationModel.md)
+ - [ConfigurationParameterApiModel](docs/ConfigurationParameterApiModel.md)
+ - [ConfigurationParameterApiResult](docs/ConfigurationParameterApiResult.md)
+ - [ConfigurationParameterPreviewApiResult](docs/ConfigurationParameterPreviewApiResult.md)
+ - [ConfigurationParameterPreviewApiResultCountReply](docs/ConfigurationParameterPreviewApiResultCountReply.md)
+ - [ConfigurationParameterPreviewApiResultGroup](docs/ConfigurationParameterPreviewApiResultGroup.md)
+ - [ConfigurationParameterPreviewApiResultGroupedReply](docs/ConfigurationParameterPreviewApiResultGroupedReply.md)
+ - [ConfigurationParameterPreviewApiResultIReply](docs/ConfigurationParameterPreviewApiResultIReply.md)
+ - [ConfigurationParameterPreviewApiResultProjects](docs/ConfigurationParameterPreviewApiResultProjects.md)
+ - [ConfigurationParameterPreviewApiResultReply](docs/ConfigurationParameterPreviewApiResultReply.md)
+ - [ConfigurationParameterPreviewApiResultValues](docs/ConfigurationParameterPreviewApiResultValues.md)
+ - [ConfigurationParameterProjectApiModel](docs/ConfigurationParameterProjectApiModel.md)
+ - [ConfigurationParameterValueApiModel](docs/ConfigurationParameterValueApiModel.md)
+ - [ConfigurationParameterValueApiResult](docs/ConfigurationParameterValueApiResult.md)
+ - [ConfigurationParameterValueApiResultApiCollectionPreview](docs/ConfigurationParameterValueApiResultApiCollectionPreview.md)
- [ConfigurationPostModel](docs/ConfigurationPostModel.md)
- [ConfigurationPutModel](docs/ConfigurationPutModel.md)
- [ConfigurationSelectApiModel](docs/ConfigurationSelectApiModel.md)
@@ -646,6 +663,9 @@ Class | Method | HTTP request | Description
- [CreateTagApiModel](docs/CreateTagApiModel.md)
- [CreateTestPlanApiModel](docs/CreateTestPlanApiModel.md)
- [CreateTestPlanRequest](docs/CreateTestPlanRequest.md)
+ - [CreateTestRunAndFillByAutoTestCasesApiModel](docs/CreateTestRunAndFillByAutoTestCasesApiModel.md)
+ - [CreateTestRunAndFillByAutoTestCasesApiModelFilter](docs/CreateTestRunAndFillByAutoTestCasesApiModelFilter.md)
+ - [CreateTestRunAndFillByAutoTestCasesApiModelOption](docs/CreateTestRunAndFillByAutoTestCasesApiModelOption.md)
- [CreateTestRunAndFillByAutoTestsApiModel](docs/CreateTestRunAndFillByAutoTestsApiModel.md)
- [CreateTestRunAndFillByConfigurationsApiModel](docs/CreateTestRunAndFillByConfigurationsApiModel.md)
- [CreateTestRunAndFillByWorkItemsApiModel](docs/CreateTestRunAndFillByWorkItemsApiModel.md)
@@ -721,9 +741,11 @@ Class | Method | HTTP request | Description
- [FailureCategoryItemApiResult](docs/FailureCategoryItemApiResult.md)
- [FailureCategoryModel](docs/FailureCategoryModel.md)
- [FailureClassRegexApiResult](docs/FailureClassRegexApiResult.md)
+ - [FieldFilter](docs/FieldFilter.md)
- [Filter](docs/Filter.md)
- [FilterModel](docs/FilterModel.md)
- [FilterOperator](docs/FilterOperator.md)
+ - [FilterValue](docs/FilterValue.md)
- [GenerateWorkItemPreviewsApiModel](docs/GenerateWorkItemPreviewsApiModel.md)
- [GenerateWorkItemPreviewsApiResult](docs/GenerateWorkItemPreviewsApiResult.md)
- [GetAIServiceModelsApiModel](docs/GetAIServiceModelsApiModel.md)
@@ -749,12 +771,17 @@ Class | Method | HTTP request | Description
- [Int64RangeSelectorModel](docs/Int64RangeSelectorModel.md)
- [IterationApiResult](docs/IterationApiResult.md)
- [IterationModel](docs/IterationModel.md)
+ - [JsonElement](docs/JsonElement.md)
+ - [JsonValueKind](docs/JsonValueKind.md)
- [Label](docs/Label.md)
- [LabelApiModel](docs/LabelApiModel.md)
- [LabelApiResult](docs/LabelApiResult.md)
- [LabelShortModel](docs/LabelShortModel.md)
- [LastTestResultApiResult](docs/LastTestResultApiResult.md)
- [LastTestResultModel](docs/LastTestResultModel.md)
+ - [LayerApiModel](docs/LayerApiModel.md)
+ - [LayerApiResult](docs/LayerApiResult.md)
+ - [LayerSource](docs/LayerSource.md)
- [LinkApiResult](docs/LinkApiResult.md)
- [LinkAutoTestToWorkItemRequest](docs/LinkAutoTestToWorkItemRequest.md)
- [LinkCreateApiModel](docs/LinkCreateApiModel.md)
@@ -810,6 +837,7 @@ Class | Method | HTTP request | Description
- [ProjectFailureCategoryGroupItemApiResult](docs/ProjectFailureCategoryGroupItemApiResult.md)
- [ProjectFailureCategoryGroupItemApiResultReply](docs/ProjectFailureCategoryGroupItemApiResultReply.md)
- [ProjectNameApiResult](docs/ProjectNameApiResult.md)
+ - [ProjectNameApiResultApiCollectionPreview](docs/ProjectNameApiResultApiCollectionPreview.md)
- [ProjectSelectModel](docs/ProjectSelectModel.md)
- [ProjectShortApiResult](docs/ProjectShortApiResult.md)
- [ProjectShortApiResultCountReply](docs/ProjectShortApiResultCountReply.md)
@@ -835,7 +863,10 @@ Class | Method | HTTP request | Description
- [RerunTestResultApiResult](docs/RerunTestResultApiResult.md)
- [RerunTestResultApiResultStatus](docs/RerunTestResultApiResultStatus.md)
- [RerunsApiResult](docs/RerunsApiResult.md)
+ - [ScheduleAutoTestsReportImportApiModel](docs/ScheduleAutoTestsReportImportApiModel.md)
+ - [ScheduleAutoTestsReportImportsApiModel](docs/ScheduleAutoTestsReportImportsApiModel.md)
- [SearchAttributesInProjectRequest](docs/SearchAttributesInProjectRequest.md)
+ - [SearchConfigurationParametersApiModel](docs/SearchConfigurationParametersApiModel.md)
- [SearchCustomAttributeTemplateGetModel](docs/SearchCustomAttributeTemplateGetModel.md)
- [SearchExternalIssuesApiModel](docs/SearchExternalIssuesApiModel.md)
- [SearchTestRunsApiModel](docs/SearchTestRunsApiModel.md)
@@ -1012,6 +1043,7 @@ Class | Method | HTTP request | Description
- [TestRunGroupByFailureClassApiResult](docs/TestRunGroupByFailureClassApiResult.md)
- [TestRunGroupByStatusApiResult](docs/TestRunGroupByStatusApiResult.md)
- [TestRunGroupByStatusTypeApiResult](docs/TestRunGroupByStatusTypeApiResult.md)
+ - [TestRunLaunchOptionApiModel](docs/TestRunLaunchOptionApiModel.md)
- [TestRunNameApiResult](docs/TestRunNameApiResult.md)
- [TestRunSelectApiModel](docs/TestRunSelectApiModel.md)
- [TestRunSelectApiModelExtractionModel](docs/TestRunSelectApiModelExtractionModel.md)
diff --git a/docs/ApiV2TestRunsByAutoTestCasesPostRequest.md b/docs/ApiV2TestRunsByAutoTestCasesPostRequest.md
new file mode 100644
index 0000000..f88903d
--- /dev/null
+++ b/docs/ApiV2TestRunsByAutoTestCasesPostRequest.md
@@ -0,0 +1,19 @@
+# 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/AutoTestApiResult.md b/docs/AutoTestApiResult.md
index 69fc8c9..f00d3c5 100644
--- a/docs/AutoTestApiResult.md
+++ b/docs/AutoTestApiResult.md
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
**last_test_result_outcome** | **str, none_type** | | [optional]
**last_test_result_status** | [**TestStatusApiResult**](TestStatusApiResult.md) | | [optional]
**stability_percentage** | **int, none_type** | | [optional]
+**layer** | [**AutoTestApiResultLayer**](AutoTestApiResultLayer.md) | | [optional]
**links** | [**[LinkApiResult], none_type**](LinkApiResult.md) | | [optional]
**labels** | [**[LabelApiResult], none_type**](LabelApiResult.md) | | [optional]
**tags** | **[str], none_type** | | [optional]
diff --git a/docs/AutoTestApiResultLayer.md b/docs/AutoTestApiResultLayer.md
new file mode 100644
index 0000000..9841ad4
--- /dev/null
+++ b/docs/AutoTestApiResultLayer.md
@@ -0,0 +1,14 @@
+# AutoTestApiResultLayer
+
+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) | |
+**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 a374e53..3a98614 100644
--- a/docs/AutoTestUpdateApiModel.md
+++ b/docs/AutoTestUpdateApiModel.md
@@ -7,6 +7,7 @@ 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]
diff --git a/docs/AutoTestsApi.md b/docs/AutoTestsApi.md
index 90825cb..46941dd 100644
--- a/docs/AutoTestsApi.md
+++ b/docs/AutoTestsApi.md
@@ -2058,6 +2058,7 @@ with testit_api_client.ApiClient(configuration) as api_client:
title="title_example",
description="description_example",
is_flaky=True,
+ reset_layer=True,
steps=[
AutoTestStepApiModel(
title="title_example",
diff --git a/docs/BackgroundJobType.md b/docs/BackgroundJobType.md
index 83d75a9..9cab1e8 100644
--- a/docs/BackgroundJobType.md
+++ b/docs/BackgroundJobType.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**value** | **str** | | must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", ]
+**value** | **str** | | must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", "ImportAutoTestsReport", ]
[[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/CollectionFilterFilter.md b/docs/CollectionFilterFilter.md
index 5c9d093..2467e60 100644
--- a/docs/CollectionFilterFilter.md
+++ b/docs/CollectionFilterFilter.md
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filters** | [**[IFilter]**](IFilter.md) | |
**operator** | [**CollectionOperator**](CollectionOperator.md) | |
+**value** | [**FilterValue**](FilterValue.md) | |
**field** | **str** | | [readonly]
**filter** | [**CollectionFilterFilter**](CollectionFilterFilter.md) | |
-**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]
[[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/ConfigurationParameterApiModel.md b/docs/ConfigurationParameterApiModel.md
new file mode 100644
index 0000000..b9695f8
--- /dev/null
+++ b/docs/ConfigurationParameterApiModel.md
@@ -0,0 +1,13 @@
+# ConfigurationParameterApiModel
+
+
+## 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]
+
+[[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/ConfigurationParameterApiResult.md b/docs/ConfigurationParameterApiResult.md
new file mode 100644
index 0000000..18089a7
--- /dev/null
+++ b/docs/ConfigurationParameterApiResult.md
@@ -0,0 +1,19 @@
+# ConfigurationParameterApiResult
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Identifier of the configuration parameter |
+**name** | **str** | Name of the configuration parameter |
+**is_deleted** | **bool** | Is configuration parameter deleted? |
+**created_date** | **datetime** | Date of configuration parameter creation |
+**created_by_id** | **str** | Identifier of user who created configuration parameter |
+**modified_date** | **datetime** | Date of configuration parameter modification |
+**modified_by_id** | **str** | Identifier of user who modified configuration parameter |
+**values** | [**[ConfigurationParameterValueApiResult]**](ConfigurationParameterValueApiResult.md) | List of configuration parameter values |
+**projects** | [**[ProjectNameApiResult]**](ProjectNameApiResult.md) | List of assigned projects |
+
+[[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/ConfigurationParameterPreviewApiResult.md b/docs/ConfigurationParameterPreviewApiResult.md
new file mode 100644
index 0000000..a458bdc
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResult.md
@@ -0,0 +1,19 @@
+# ConfigurationParameterPreviewApiResult
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Identifier of the configuration parameter |
+**name** | **str** | Name of the configuration parameter |
+**is_deleted** | **bool** | Is configuration parameter deleted? |
+**created_date** | **datetime** | Date of configuration parameter creation |
+**created_by_id** | **str** | Identifier of user who created configuration parameter |
+**modified_date** | **datetime** | Date of configuration parameter modification |
+**modified_by_id** | **str** | Identifier of user who modified configuration parameter |
+**values** | [**ConfigurationParameterPreviewApiResultValues**](ConfigurationParameterPreviewApiResultValues.md) | |
+**projects** | [**ConfigurationParameterPreviewApiResultProjects**](ConfigurationParameterPreviewApiResultProjects.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/ConfigurationParameterPreviewApiResultCountReply.md b/docs/ConfigurationParameterPreviewApiResultCountReply.md
new file mode 100644
index 0000000..ea79ac7
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResultCountReply.md
@@ -0,0 +1,11 @@
+# ConfigurationParameterPreviewApiResultCountReply
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**total_count** | **int** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ConfigurationParameterPreviewApiResultGroup.md b/docs/ConfigurationParameterPreviewApiResultGroup.md
new file mode 100644
index 0000000..d0cabad
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResultGroup.md
@@ -0,0 +1,13 @@
+# ConfigurationParameterPreviewApiResultGroup
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**key** | [**AIServiceModelApiResultGroupKey**](AIServiceModelApiResultGroupKey.md) | |
+**data** | [**[ConfigurationParameterPreviewApiResult]**](ConfigurationParameterPreviewApiResult.md) | |
+**total_count** | **int** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ConfigurationParameterPreviewApiResultGroupedReply.md b/docs/ConfigurationParameterPreviewApiResultGroupedReply.md
new file mode 100644
index 0000000..849622c
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResultGroupedReply.md
@@ -0,0 +1,12 @@
+# ConfigurationParameterPreviewApiResultGroupedReply
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**groups** | [**[ConfigurationParameterPreviewApiResultGroup]**](ConfigurationParameterPreviewApiResultGroup.md) | |
+**total_count** | **int** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ConfigurationParameterPreviewApiResultIReply.md b/docs/ConfigurationParameterPreviewApiResultIReply.md
new file mode 100644
index 0000000..12e5b1f
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResultIReply.md
@@ -0,0 +1,13 @@
+# ConfigurationParameterPreviewApiResultIReply
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**total_count** | **int** | | [readonly]
+**data** | [**[ConfigurationParameterPreviewApiResult]**](ConfigurationParameterPreviewApiResult.md) | |
+**groups** | [**[ConfigurationParameterPreviewApiResultGroup]**](ConfigurationParameterPreviewApiResultGroup.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/ConfigurationParameterPreviewApiResultProjects.md b/docs/ConfigurationParameterPreviewApiResultProjects.md
new file mode 100644
index 0000000..2b49a88
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResultProjects.md
@@ -0,0 +1,14 @@
+# ConfigurationParameterPreviewApiResultProjects
+
+Preview of assigned projects
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**[ProjectNameApiResult]**](ProjectNameApiResult.md) | Preview items |
+**total_count** | **int** | Total count |
+**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/ConfigurationParameterPreviewApiResultReply.md b/docs/ConfigurationParameterPreviewApiResultReply.md
new file mode 100644
index 0000000..0f1451d
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResultReply.md
@@ -0,0 +1,12 @@
+# ConfigurationParameterPreviewApiResultReply
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**[ConfigurationParameterPreviewApiResult]**](ConfigurationParameterPreviewApiResult.md) | |
+**total_count** | **int** | |
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ConfigurationParameterPreviewApiResultValues.md b/docs/ConfigurationParameterPreviewApiResultValues.md
new file mode 100644
index 0000000..5e15668
--- /dev/null
+++ b/docs/ConfigurationParameterPreviewApiResultValues.md
@@ -0,0 +1,14 @@
+# ConfigurationParameterPreviewApiResultValues
+
+Preview of configuration parameter values
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**[ConfigurationParameterValueApiResult]**](ConfigurationParameterValueApiResult.md) | Preview items |
+**total_count** | **int** | Total count |
+**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/ConfigurationParameterProjectApiModel.md b/docs/ConfigurationParameterProjectApiModel.md
new file mode 100644
index 0000000..7718417
--- /dev/null
+++ b/docs/ConfigurationParameterProjectApiModel.md
@@ -0,0 +1,11 @@
+# ConfigurationParameterProjectApiModel
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Identifier of project |
+
+[[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/ConfigurationParameterValueApiModel.md b/docs/ConfigurationParameterValueApiModel.md
new file mode 100644
index 0000000..c2d1e6f
--- /dev/null
+++ b/docs/ConfigurationParameterValueApiModel.md
@@ -0,0 +1,11 @@
+# ConfigurationParameterValueApiModel
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value** | **str** | Value of the configuration parameter |
+
+[[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/ConfigurationParameterValueApiResult.md b/docs/ConfigurationParameterValueApiResult.md
new file mode 100644
index 0000000..8d133ed
--- /dev/null
+++ b/docs/ConfigurationParameterValueApiResult.md
@@ -0,0 +1,12 @@
+# ConfigurationParameterValueApiResult
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **str** | Identifier of the configuration parameter value |
+**value** | **str** | Value of the configuration parameter |
+
+[[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/ConfigurationParameterValueApiResultApiCollectionPreview.md b/docs/ConfigurationParameterValueApiResultApiCollectionPreview.md
new file mode 100644
index 0000000..3efe67e
--- /dev/null
+++ b/docs/ConfigurationParameterValueApiResultApiCollectionPreview.md
@@ -0,0 +1,12 @@
+# ConfigurationParameterValueApiResultApiCollectionPreview
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**[ConfigurationParameterValueApiResult]**](ConfigurationParameterValueApiResult.md) | Preview items |
+**total_count** | **int** | Total count |
+
+[[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/CreateTestRunAndFillByAutoTestCasesApiModel.md b/docs/CreateTestRunAndFillByAutoTestCasesApiModel.md
new file mode 100644
index 0000000..df62863
--- /dev/null
+++ b/docs/CreateTestRunAndFillByAutoTestCasesApiModel.md
@@ -0,0 +1,18 @@
+# CreateTestRunAndFillByAutoTestCasesApiModel
+
+
+## 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]
+
+[[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/CreateTestRunAndFillByAutoTestCasesApiModelFilter.md b/docs/CreateTestRunAndFillByAutoTestCasesApiModelFilter.md
new file mode 100644
index 0000000..ebbf1b9
--- /dev/null
+++ b/docs/CreateTestRunAndFillByAutoTestCasesApiModelFilter.md
@@ -0,0 +1,14 @@
+# CreateTestRunAndFillByAutoTestCasesApiModelFilter
+
+Specifies the filter for selecting autotests, from which test points are created.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**filters** | [**[IFilter]**](IFilter.md) | |
+**operator** | [**LogicalOperator**](LogicalOperator.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/docs/CreateTestRunAndFillByAutoTestCasesApiModelOption.md b/docs/CreateTestRunAndFillByAutoTestCasesApiModelOption.md
new file mode 100644
index 0000000..0f8752e
--- /dev/null
+++ b/docs/CreateTestRunAndFillByAutoTestCasesApiModelOption.md
@@ -0,0 +1,14 @@
+# CreateTestRunAndFillByAutoTestCasesApiModelOption
+
+Specifies the test run launch options.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**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/FieldFilter.md b/docs/FieldFilter.md
new file mode 100644
index 0000000..0096242
--- /dev/null
+++ b/docs/FieldFilter.md
@@ -0,0 +1,12 @@
+# FieldFilter
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**operator** | [**FilterOperator**](FilterOperator.md) | |
+**value** | **str, none_type** | |
+
+[[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/Filter.md b/docs/Filter.md
index 2cabacc..2e34b94 100644
--- a/docs/Filter.md
+++ b/docs/Filter.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**operator** | [**FilterOperator**](FilterOperator.md) | |
+**value** | [**FilterValue**](FilterValue.md) | |
**field** | **str** | | [readonly]
-**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/FilterValue.md b/docs/FilterValue.md
new file mode 100644
index 0000000..67a2fc2
--- /dev/null
+++ b/docs/FilterValue.md
@@ -0,0 +1,12 @@
+# FilterValue
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value_kind** | [**JsonValueKind**](JsonValueKind.md) | | [readonly]
+**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/IFilter.md b/docs/IFilter.md
index ce529b6..63033a7 100644
--- a/docs/IFilter.md
+++ b/docs/IFilter.md
@@ -4,9 +4,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**value** | **str, none_type** | | [optional]
**filters** | [**[IFilter]**](IFilter.md) | | [optional]
**operator** | [**CollectionOperator**](CollectionOperator.md) | | [optional]
+**value** | [**FilterValue**](FilterValue.md) | | [optional]
**field** | **str** | | [optional] [readonly]
**filter** | [**CollectionFilterFilter**](CollectionFilterFilter.md) | | [optional]
diff --git a/docs/JsonElement.md b/docs/JsonElement.md
new file mode 100644
index 0000000..cdb6637
--- /dev/null
+++ b/docs/JsonElement.md
@@ -0,0 +1,11 @@
+# JsonElement
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value_kind** | [**JsonValueKind**](JsonValueKind.md) | | [readonly]
+
+[[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/JsonValueKind.md b/docs/JsonValueKind.md
new file mode 100644
index 0000000..8f14db4
--- /dev/null
+++ b/docs/JsonValueKind.md
@@ -0,0 +1,11 @@
+# JsonValueKind
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value** | **str** | | must be one of ["Undefined", "Object", "Array", "String", "Number", "True", "False", "Null", ]
+
+[[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/LayerApiModel.md b/docs/LayerApiModel.md
new file mode 100644
index 0000000..718863a
--- /dev/null
+++ b/docs/LayerApiModel.md
@@ -0,0 +1,13 @@
+# LayerApiModel
+
+Model of auto test layer for use in requests.
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **str** | Name of the test pyramid layer. Available layers: * Unit * Component * API * UI * E2E * Contract |
+**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/LayerApiResult.md b/docs/LayerApiResult.md
new file mode 100644
index 0000000..ee51232
--- /dev/null
+++ b/docs/LayerApiResult.md
@@ -0,0 +1,13 @@
+# LayerApiResult
+
+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/LayerSource.md b/docs/LayerSource.md
new file mode 100644
index 0000000..2e4221d
--- /dev/null
+++ b/docs/LayerSource.md
@@ -0,0 +1,11 @@
+# LayerSource
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**value** | **str** | | must be one of ["Manual", "Report", "Run", "Rule", ]
+
+[[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/ProjectNameApiResultApiCollectionPreview.md b/docs/ProjectNameApiResultApiCollectionPreview.md
new file mode 100644
index 0000000..29a9aea
--- /dev/null
+++ b/docs/ProjectNameApiResultApiCollectionPreview.md
@@ -0,0 +1,12 @@
+# ProjectNameApiResultApiCollectionPreview
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**[ProjectNameApiResult]**](ProjectNameApiResult.md) | Preview items |
+**total_count** | **int** | Total count |
+
+[[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/ScheduleAutoTestsReportImportApiModel.md b/docs/ScheduleAutoTestsReportImportApiModel.md
new file mode 100644
index 0000000..759690e
--- /dev/null
+++ b/docs/ScheduleAutoTestsReportImportApiModel.md
@@ -0,0 +1,13 @@
+# ScheduleAutoTestsReportImportApiModel
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**attachment_id** | **str** | Identifier of attachment with JUnit XML to import |
+**configuration_id** | **str, none_type** | Identifier of configuration. Uses default configuration in project if omitted. | [optional]
+**layer_name** | **str, none_type** | Name of test pyramid layer to set. Uses rules if omitted. | [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/ScheduleAutoTestsReportImportsApiModel.md b/docs/ScheduleAutoTestsReportImportsApiModel.md
new file mode 100644
index 0000000..d057471
--- /dev/null
+++ b/docs/ScheduleAutoTestsReportImportsApiModel.md
@@ -0,0 +1,11 @@
+# ScheduleAutoTestsReportImportsApiModel
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**reports** | [**[ScheduleAutoTestsReportImportApiModel]**](ScheduleAutoTestsReportImportApiModel.md) | Collection of reports to import. |
+
+[[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/SearchConfigurationParametersApiModel.md b/docs/SearchConfigurationParametersApiModel.md
new file mode 100644
index 0000000..f766c3b
--- /dev/null
+++ b/docs/SearchConfigurationParametersApiModel.md
@@ -0,0 +1,14 @@
+# SearchConfigurationParametersApiModel
+
+
+## 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]
+
+[[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/TestRunLaunchOptionApiModel.md b/docs/TestRunLaunchOptionApiModel.md
new file mode 100644
index 0000000..78bb37a
--- /dev/null
+++ b/docs/TestRunLaunchOptionApiModel.md
@@ -0,0 +1,12 @@
+# TestRunLaunchOptionApiModel
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**webhook_ids** | **[str]** | Enabled webhooks. |
+**custom_parameters** | **{str: (str,)}, none_type** | Customers test run parameters. | [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/TestRunsApi.md b/docs/TestRunsApi.md
index e9fb080..4f1584d 100644
--- a/docs/TestRunsApi.md
+++ b/docs/TestRunsApi.md
@@ -4,6 +4,7 @@ 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
@@ -31,6 +32,99 @@ 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 bee8363..69e776e 100644
--- a/docs/UpdateAutoTestRequest.md
+++ b/docs/UpdateAutoTestRequest.md
@@ -7,6 +7,7 @@ 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]
diff --git a/genConfig.yml b/genConfig.yml
index d62438a..52b4edb 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.0
+packageVersion: 7.6.1
projectName: "testit-api-client"
diff --git a/run.sh b/run.sh
index 27cf996..9f4a5b2 100644
--- a/run.sh
+++ b/run.sh
@@ -2,7 +2,7 @@
# Настройка переменных
FILE_NAME="cloud-swagger.json"
-NEW_VERSION="7.6.0"
+NEW_VERSION="7.6.1"
GENERATOR="openapi-generator-cli-6.6.0.jar"
if [ ! -f ".swagger/$FILE_NAME" ]; then
diff --git a/setup.py b/setup.py
index d661663..9efb0b5 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
NAME = "testit-api-client"
-VERSION = "7.6.0"
+VERSION = "7.6.1"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
diff --git a/src/testit_api_client/__init__.py b/src/testit_api_client/__init__.py
index 8218f66..f4f9237 100644
--- a/src/testit_api_client/__init__.py
+++ b/src/testit_api_client/__init__.py
@@ -10,7 +10,7 @@
"""
-__version__ = "7.6.0"
+__version__ = "7.6.1"
# import ApiClient
from testit_api_client.api_client import ApiClient
diff --git a/src/testit_api_client/api/test_runs_api.py b/src/testit_api_client/api/test_runs_api.py
index bff3e9f..1a55a03 100644
--- a/src/testit_api_client/api/test_runs_api.py
+++ b/src/testit_api_client/api/test_runs_api.py
@@ -21,6 +21,7 @@
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
@@ -55,6 +56,57 @@ 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,),
@@ -1401,6 +1453,84 @@ 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_client.py b/src/testit_api_client/api_client.py
index eeeaf9d..45c2a3f 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.0/python'
+ self.user_agent = 'OpenAPI-Generator/7.6.1/python'
def __enter__(self):
return self
diff --git a/src/testit_api_client/configuration.py b/src/testit_api_client/configuration.py
index 5f7d5f0..115e802 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.0".\
+ "SDK Package Version: 7.6.1".\
format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self):
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
new file mode 100644
index 0000000..a26a8fb
--- /dev/null
+++ b/src/testit_api_client/model/api_v2_test_runs_by_auto_test_cases_post_request.py
@@ -0,0 +1,354 @@
+"""
+ 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_api_result.py b/src/testit_api_client/model/auto_test_api_result.py
index 17f5cfb..2f3e271 100644
--- a/src/testit_api_client/model/auto_test_api_result.py
+++ b/src/testit_api_client/model/auto_test_api_result.py
@@ -30,11 +30,13 @@
def lazy_import():
+ from testit_api_client.model.auto_test_api_result_layer import AutoTestApiResultLayer
from testit_api_client.model.auto_test_step_api_result import AutoTestStepApiResult
from testit_api_client.model.configuration_short_api_result import ConfigurationShortApiResult
from testit_api_client.model.label_api_result import LabelApiResult
from testit_api_client.model.link_api_result import LinkApiResult
from testit_api_client.model.test_status_api_result import TestStatusApiResult
+ globals()['AutoTestApiResultLayer'] = AutoTestApiResultLayer
globals()['AutoTestStepApiResult'] = AutoTestStepApiResult
globals()['ConfigurationShortApiResult'] = ConfigurationShortApiResult
globals()['LabelApiResult'] = LabelApiResult
@@ -115,6 +117,7 @@ def openapi_types():
'last_test_result_outcome': (str, none_type,), # noqa: E501
'last_test_result_status': (TestStatusApiResult,), # noqa: E501
'stability_percentage': (int, none_type,), # noqa: E501
+ 'layer': (AutoTestApiResultLayer,), # noqa: E501
'links': ([LinkApiResult], none_type,), # noqa: E501
'labels': ([LabelApiResult], none_type,), # noqa: E501
'tags': ([str], none_type,), # noqa: E501
@@ -153,6 +156,7 @@ def discriminator():
'last_test_result_outcome': 'lastTestResultOutcome', # noqa: E501
'last_test_result_status': 'lastTestResultStatus', # noqa: E501
'stability_percentage': 'stabilityPercentage', # noqa: E501
+ 'layer': 'layer', # noqa: E501
'links': 'links', # noqa: E501
'labels': 'labels', # noqa: E501
'tags': 'tags', # noqa: E501
@@ -228,6 +232,7 @@ def _from_openapi_data(cls, id, project_id, name, is_flaky, global_id, is_delete
last_test_result_outcome (str, none_type): [optional] # noqa: E501
last_test_result_status (TestStatusApiResult): [optional] # noqa: E501
stability_percentage (int, none_type): [optional] # noqa: E501
+ layer (AutoTestApiResultLayer): [optional] # noqa: E501
links ([LinkApiResult], none_type): [optional] # noqa: E501
labels ([LabelApiResult], none_type): [optional] # noqa: E501
tags ([str], none_type): [optional] # noqa: E501
@@ -354,6 +359,7 @@ def __init__(self, id, project_id, name, is_flaky, global_id, is_deleted, must_b
last_test_result_outcome (str, none_type): [optional] # noqa: E501
last_test_result_status (TestStatusApiResult): [optional] # noqa: E501
stability_percentage (int, none_type): [optional] # noqa: E501
+ layer (AutoTestApiResultLayer): [optional] # noqa: E501
links ([LinkApiResult], none_type): [optional] # noqa: E501
labels ([LabelApiResult], none_type): [optional] # noqa: E501
tags ([str], none_type): [optional] # noqa: E501
diff --git a/src/testit_api_client/model/auto_test_api_result_layer.py b/src/testit_api_client/model/auto_test_api_result_layer.py
new file mode 100644
index 0000000..e9fb2b3
--- /dev/null
+++ b/src/testit_api_client/model/auto_test_api_result_layer.py
@@ -0,0 +1,325 @@
+"""
+ 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.layer_api_result import LayerApiResult
+ from testit_api_client.model.layer_source import LayerSource
+ globals()['LayerApiResult'] = LayerApiResult
+ globals()['LayerSource'] = LayerSource
+
+
+class AutoTestApiResultLayer(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 = True
+
+ @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
+ 'source': (LayerSource,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'name': 'name', # noqa: E501
+ 'source': 'source', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """AutoTestApiResultLayer - 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.
+ 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
+ """AutoTestApiResultLayer - 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.
+ 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': [
+ LayerApiResult,
+ ],
+ '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 6386aac..af7be3b 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,6 +93,7 @@ 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
@@ -119,6 +120,7 @@ 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
@@ -143,13 +145,14 @@ def discriminator():
@classmethod
@convert_js_args_to_python_args
- def _from_openapi_data(cls, project_id, external_id, name, *args, **kwargs): # noqa: E501
+ def _from_openapi_data(cls, project_id, external_id, name, reset_layer, *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
@@ -231,6 +234,7 @@ def _from_openapi_data(cls, project_id, external_id, name, *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 \
@@ -251,13 +255,14 @@ def _from_openapi_data(cls, project_id, external_id, name, *args, **kwargs): #
])
@convert_js_args_to_python_args
- def __init__(self, project_id, external_id, name, *args, **kwargs): # noqa: E501
+ def __init__(self, project_id, external_id, name, reset_layer, *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
@@ -337,6 +342,7 @@ def __init__(self, project_id, external_id, name, *args, **kwargs): # noqa: E50
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/background_job_type.py b/src/testit_api_client/model/background_job_type.py
index 9f9f489..fd2e657 100644
--- a/src/testit_api_client/model/background_job_type.py
+++ b/src/testit_api_client/model/background_job_type.py
@@ -71,6 +71,7 @@ class BackgroundJobType(ModelSimple):
'DELETECOMPLETEDJOBS': "DeleteCompletedJobs",
'COPYSECTIONS': "CopySections",
'DELETESECTION': "DeleteSection",
+ 'IMPORTAUTOTESTSREPORT': "ImportAutoTestsReport",
},
}
@@ -122,10 +123,10 @@ def __init__(self, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.
Args:
- args[0] (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", ] # noqa: E501
+ args[0] (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", "ImportAutoTestsReport", ] # noqa: E501
Keyword Args:
- value (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", ] # noqa: E501
+ value (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", "ImportAutoTestsReport", ] # noqa: E501
_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.
@@ -216,10 +217,10 @@ def _from_openapi_data(cls, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.
Args:
- args[0] (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", ] # noqa: E501
+ args[0] (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", "ImportAutoTestsReport", ] # noqa: E501
Keyword Args:
- value (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", ] # noqa: E501
+ value (str):, must be one of ["ExportXlsxTestResultsByTestPlan", "ExportXlsxWorkItemsByProject", "ExportXlsxTestPointsByTestPlan", "ExportXlsxWorkItemLinks", "ExportJsonProject", "ExportZipProject", "ExportJsonProjectWithTestPlans", "ExportZipProjectWithTestPlans", "ImportJsonProject", "ImportZipProject", "ImportXlsxProject", "ImportTestRailXmlProject", "PurgeProject", "ExportProjects", "ImportProjects", "PurgeEntities", "DeleteCompletedJobs", "CopySections", "DeleteSection", "ImportAutoTestsReport", ] # noqa: E501
_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/collection_filter_filter.py b/src/testit_api_client/model/collection_filter_filter.py
index c16653c..90bb5cd 100644
--- a/src/testit_api_client/model/collection_filter_filter.py
+++ b/src/testit_api_client/model/collection_filter_filter.py
@@ -31,8 +31,10 @@
def lazy_import():
from testit_api_client.model.collection_operator import CollectionOperator
+ from testit_api_client.model.filter_value import FilterValue
from testit_api_client.model.i_filter import IFilter
globals()['CollectionOperator'] = CollectionOperator
+ globals()['FilterValue'] = FilterValue
globals()['IFilter'] = IFilter
@@ -91,9 +93,9 @@ def openapi_types():
return {
'filters': ([IFilter],), # noqa: E501
'operator': (CollectionOperator,), # noqa: E501
+ 'value': (FilterValue,), # noqa: E501
'field': (str,), # noqa: E501
'filter': (CollectionFilterFilter,), # noqa: E501
- 'value': (str, none_type,), # noqa: E501
}
@cached_property
@@ -104,9 +106,9 @@ def discriminator():
attribute_map = {
'filters': 'filters', # noqa: E501
'operator': 'operator', # noqa: E501
+ 'value': 'value', # noqa: E501
'field': 'field', # noqa: E501
'filter': 'filter', # noqa: E501
- 'value': 'value', # noqa: E501
}
read_only_vars = {
@@ -121,6 +123,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
Keyword Args:
filters ([IFilter]):
operator (CollectionOperator):
+ value (FilterValue):
field (str):
filter (CollectionFilterFilter):
_check_type (bool): if True, values for parameters in openapi_types
@@ -153,7 +156,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,)
- value (str, none_type): [optional] # noqa: E501
"""
_check_type = kwargs.pop('_check_type', True)
@@ -229,6 +231,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
Keyword Args:
filters ([IFilter]):
operator (CollectionOperator):
+ value (FilterValue):
filter (CollectionFilterFilter):
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
@@ -260,7 +263,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,)
- value (str, none_type): [optional] # noqa: E501
"""
_check_type = kwargs.pop('_check_type', True)
diff --git a/src/testit_api_client/model/configuration_parameter_api_model.py b/src/testit_api_client/model/configuration_parameter_api_model.py
new file mode 100644
index 0000000..794e70d
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_api_model.py
@@ -0,0 +1,287 @@
+"""
+ 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.configuration_parameter_project_api_model import ConfigurationParameterProjectApiModel
+ from testit_api_client.model.configuration_parameter_value_api_model import ConfigurationParameterValueApiModel
+ globals()['ConfigurationParameterProjectApiModel'] = ConfigurationParameterProjectApiModel
+ globals()['ConfigurationParameterValueApiModel'] = ConfigurationParameterValueApiModel
+
+
+class ConfigurationParameterApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ ('name',): {
+ 'max_length': 255,
+ 'min_length': 0,
+ },
+ ('values',): {
+ 'min_items': 1,
+ },
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'name': (str,), # noqa: E501
+ 'values': ([ConfigurationParameterValueApiModel],), # noqa: E501
+ 'projects': ([ConfigurationParameterProjectApiModel], none_type,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'name': 'name', # noqa: E501
+ 'values': 'values', # noqa: E501
+ 'projects': 'projects', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, name, values, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterApiModel - a model defined in OpenAPI
+
+ Args:
+ name (str): Name of the configuration parameter, must be unique
+ values ([ConfigurationParameterValueApiModel]): List of possible configuration parameter values
+
+ 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,)
+ projects ([ConfigurationParameterProjectApiModel], none_type): List of projects to which configuration parameter should be assigned. [optional] # noqa: E501
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.name = name
+ self.values = values
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, name, values, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterApiModel - a model defined in OpenAPI
+
+ Args:
+ name (str): Name of the configuration parameter, must be unique
+ values ([ConfigurationParameterValueApiModel]): List of possible configuration parameter values
+
+ 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,)
+ projects ([ConfigurationParameterProjectApiModel], none_type): List of projects to which configuration parameter should be assigned. [optional] # noqa: E501
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.name = name
+ self.values = values
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_api_result.py b/src/testit_api_client/model/configuration_parameter_api_result.py
new file mode 100644
index 0000000..5971273
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_api_result.py
@@ -0,0 +1,318 @@
+"""
+ 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.configuration_parameter_value_api_result import ConfigurationParameterValueApiResult
+ from testit_api_client.model.project_name_api_result import ProjectNameApiResult
+ globals()['ConfigurationParameterValueApiResult'] = ConfigurationParameterValueApiResult
+ globals()['ProjectNameApiResult'] = ProjectNameApiResult
+
+
+class ConfigurationParameterApiResult(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'id': (str,), # noqa: E501
+ 'name': (str,), # noqa: E501
+ 'is_deleted': (bool,), # noqa: E501
+ 'created_date': (datetime,), # noqa: E501
+ 'created_by_id': (str,), # noqa: E501
+ 'modified_date': (datetime,), # noqa: E501
+ 'modified_by_id': (str,), # noqa: E501
+ 'values': ([ConfigurationParameterValueApiResult],), # noqa: E501
+ 'projects': ([ProjectNameApiResult],), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'id': 'id', # noqa: E501
+ 'name': 'name', # noqa: E501
+ 'is_deleted': 'isDeleted', # noqa: E501
+ 'created_date': 'createdDate', # noqa: E501
+ 'created_by_id': 'createdById', # noqa: E501
+ 'modified_date': 'modifiedDate', # noqa: E501
+ 'modified_by_id': 'modifiedById', # noqa: E501
+ 'values': 'values', # noqa: E501
+ 'projects': 'projects', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, id, name, is_deleted, created_date, created_by_id, modified_date, modified_by_id, values, projects, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterApiResult - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of the configuration parameter
+ name (str): Name of the configuration parameter
+ is_deleted (bool): Is configuration parameter deleted?
+ created_date (datetime): Date of configuration parameter creation
+ created_by_id (str): Identifier of user who created configuration parameter
+ modified_date (datetime): Date of configuration parameter modification
+ modified_by_id (str): Identifier of user who modified configuration parameter
+ values ([ConfigurationParameterValueApiResult]): List of configuration parameter values
+ projects ([ProjectNameApiResult]): List of assigned projects
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ self.name = name
+ self.is_deleted = is_deleted
+ self.created_date = created_date
+ self.created_by_id = created_by_id
+ self.modified_date = modified_date
+ self.modified_by_id = modified_by_id
+ self.values = values
+ self.projects = projects
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, id, name, is_deleted, created_date, created_by_id, modified_date, modified_by_id, values, projects, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterApiResult - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of the configuration parameter
+ name (str): Name of the configuration parameter
+ is_deleted (bool): Is configuration parameter deleted?
+ created_date (datetime): Date of configuration parameter creation
+ created_by_id (str): Identifier of user who created configuration parameter
+ modified_date (datetime): Date of configuration parameter modification
+ modified_by_id (str): Identifier of user who modified configuration parameter
+ values ([ConfigurationParameterValueApiResult]): List of configuration parameter values
+ projects ([ProjectNameApiResult]): List of assigned projects
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ self.name = name
+ self.is_deleted = is_deleted
+ self.created_date = created_date
+ self.created_by_id = created_by_id
+ self.modified_date = modified_date
+ self.modified_by_id = modified_by_id
+ self.values = values
+ self.projects = projects
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result.py b/src/testit_api_client/model/configuration_parameter_preview_api_result.py
new file mode 100644
index 0000000..971c2f0
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result.py
@@ -0,0 +1,318 @@
+"""
+ 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.configuration_parameter_preview_api_result_projects import ConfigurationParameterPreviewApiResultProjects
+ from testit_api_client.model.configuration_parameter_preview_api_result_values import ConfigurationParameterPreviewApiResultValues
+ globals()['ConfigurationParameterPreviewApiResultProjects'] = ConfigurationParameterPreviewApiResultProjects
+ globals()['ConfigurationParameterPreviewApiResultValues'] = ConfigurationParameterPreviewApiResultValues
+
+
+class ConfigurationParameterPreviewApiResult(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'id': (str,), # noqa: E501
+ 'name': (str,), # noqa: E501
+ 'is_deleted': (bool,), # noqa: E501
+ 'created_date': (datetime,), # noqa: E501
+ 'created_by_id': (str,), # noqa: E501
+ 'modified_date': (datetime,), # noqa: E501
+ 'modified_by_id': (str,), # noqa: E501
+ 'values': (ConfigurationParameterPreviewApiResultValues,), # noqa: E501
+ 'projects': (ConfigurationParameterPreviewApiResultProjects,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'id': 'id', # noqa: E501
+ 'name': 'name', # noqa: E501
+ 'is_deleted': 'isDeleted', # noqa: E501
+ 'created_date': 'createdDate', # noqa: E501
+ 'created_by_id': 'createdById', # noqa: E501
+ 'modified_date': 'modifiedDate', # noqa: E501
+ 'modified_by_id': 'modifiedById', # noqa: E501
+ 'values': 'values', # noqa: E501
+ 'projects': 'projects', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, id, name, is_deleted, created_date, created_by_id, modified_date, modified_by_id, values, projects, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResult - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of the configuration parameter
+ name (str): Name of the configuration parameter
+ is_deleted (bool): Is configuration parameter deleted?
+ created_date (datetime): Date of configuration parameter creation
+ created_by_id (str): Identifier of user who created configuration parameter
+ modified_date (datetime): Date of configuration parameter modification
+ modified_by_id (str): Identifier of user who modified configuration parameter
+ values (ConfigurationParameterPreviewApiResultValues):
+ projects (ConfigurationParameterPreviewApiResultProjects):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ self.name = name
+ self.is_deleted = is_deleted
+ self.created_date = created_date
+ self.created_by_id = created_by_id
+ self.modified_date = modified_date
+ self.modified_by_id = modified_by_id
+ self.values = values
+ self.projects = projects
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, id, name, is_deleted, created_date, created_by_id, modified_date, modified_by_id, values, projects, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResult - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of the configuration parameter
+ name (str): Name of the configuration parameter
+ is_deleted (bool): Is configuration parameter deleted?
+ created_date (datetime): Date of configuration parameter creation
+ created_by_id (str): Identifier of user who created configuration parameter
+ modified_date (datetime): Date of configuration parameter modification
+ modified_by_id (str): Identifier of user who modified configuration parameter
+ values (ConfigurationParameterPreviewApiResultValues):
+ projects (ConfigurationParameterPreviewApiResultProjects):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ self.name = name
+ self.is_deleted = is_deleted
+ self.created_date = created_date
+ self.created_by_id = created_by_id
+ self.modified_date = modified_date
+ self.modified_by_id = modified_by_id
+ self.values = values
+ self.projects = projects
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result_count_reply.py b/src/testit_api_client/model/configuration_parameter_preview_api_result_count_reply.py
new file mode 100644
index 0000000..2c6e721
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result_count_reply.py
@@ -0,0 +1,263 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class ConfigurationParameterPreviewApiResultCountReply(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultCountReply - a model defined in OpenAPI
+
+ Args:
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultCountReply - a model defined in OpenAPI
+
+ Args:
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result_group.py b/src/testit_api_client/model/configuration_parameter_preview_api_result_group.py
new file mode 100644
index 0000000..8c8e9c8
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result_group.py
@@ -0,0 +1,282 @@
+"""
+ 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.ai_service_model_api_result_group_key import AIServiceModelApiResultGroupKey
+ from testit_api_client.model.configuration_parameter_preview_api_result import ConfigurationParameterPreviewApiResult
+ globals()['AIServiceModelApiResultGroupKey'] = AIServiceModelApiResultGroupKey
+ globals()['ConfigurationParameterPreviewApiResult'] = ConfigurationParameterPreviewApiResult
+
+
+class ConfigurationParameterPreviewApiResultGroup(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'key': (AIServiceModelApiResultGroupKey,), # noqa: E501
+ 'data': ([ConfigurationParameterPreviewApiResult],), # noqa: E501
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'key': 'key', # noqa: E501
+ 'data': 'data', # noqa: E501
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, key, data, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultGroup - a model defined in OpenAPI
+
+ Args:
+ key (AIServiceModelApiResultGroupKey):
+ data ([ConfigurationParameterPreviewApiResult]):
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.key = key
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, key, data, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultGroup - a model defined in OpenAPI
+
+ Args:
+ key (AIServiceModelApiResultGroupKey):
+ data ([ConfigurationParameterPreviewApiResult]):
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.key = key
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result_grouped_reply.py b/src/testit_api_client/model/configuration_parameter_preview_api_result_grouped_reply.py
new file mode 100644
index 0000000..b0d7e1a
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result_grouped_reply.py
@@ -0,0 +1,274 @@
+"""
+ 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.configuration_parameter_preview_api_result_group import ConfigurationParameterPreviewApiResultGroup
+ globals()['ConfigurationParameterPreviewApiResultGroup'] = ConfigurationParameterPreviewApiResultGroup
+
+
+class ConfigurationParameterPreviewApiResultGroupedReply(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'groups': ([ConfigurationParameterPreviewApiResultGroup],), # noqa: E501
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'groups': 'groups', # noqa: E501
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, groups, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultGroupedReply - a model defined in OpenAPI
+
+ Args:
+ groups ([ConfigurationParameterPreviewApiResultGroup]):
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.groups = groups
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, groups, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultGroupedReply - a model defined in OpenAPI
+
+ Args:
+ groups ([ConfigurationParameterPreviewApiResultGroup]):
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.groups = groups
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result_i_reply.py b/src/testit_api_client/model/configuration_parameter_preview_api_result_i_reply.py
new file mode 100644
index 0000000..fa397c9
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result_i_reply.py
@@ -0,0 +1,330 @@
+"""
+ 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.configuration_parameter_preview_api_result import ConfigurationParameterPreviewApiResult
+ from testit_api_client.model.configuration_parameter_preview_api_result_count_reply import ConfigurationParameterPreviewApiResultCountReply
+ from testit_api_client.model.configuration_parameter_preview_api_result_group import ConfigurationParameterPreviewApiResultGroup
+ from testit_api_client.model.configuration_parameter_preview_api_result_grouped_reply import ConfigurationParameterPreviewApiResultGroupedReply
+ from testit_api_client.model.configuration_parameter_preview_api_result_reply import ConfigurationParameterPreviewApiResultReply
+ globals()['ConfigurationParameterPreviewApiResult'] = ConfigurationParameterPreviewApiResult
+ globals()['ConfigurationParameterPreviewApiResultCountReply'] = ConfigurationParameterPreviewApiResultCountReply
+ globals()['ConfigurationParameterPreviewApiResultGroup'] = ConfigurationParameterPreviewApiResultGroup
+ globals()['ConfigurationParameterPreviewApiResultGroupedReply'] = ConfigurationParameterPreviewApiResultGroupedReply
+ globals()['ConfigurationParameterPreviewApiResultReply'] = ConfigurationParameterPreviewApiResultReply
+
+
+class ConfigurationParameterPreviewApiResultIReply(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 = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'total_count': (int,), # noqa: E501
+ 'data': ([ConfigurationParameterPreviewApiResult],), # noqa: E501
+ 'groups': ([ConfigurationParameterPreviewApiResultGroup],), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'total_count': 'totalCount', # noqa: E501
+ 'data': 'data', # noqa: E501
+ 'groups': 'groups', # noqa: E501
+ }
+
+ read_only_vars = {
+ 'total_count', # noqa: E501
+ }
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultIReply - a model defined in OpenAPI
+
+ Keyword Args:
+ total_count (int):
+ data ([ConfigurationParameterPreviewApiResult]):
+ groups ([ConfigurationParameterPreviewApiResultGroup]):
+ _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
+ """ConfigurationParameterPreviewApiResultIReply - a model defined in OpenAPI
+
+ Keyword Args:
+ data ([ConfigurationParameterPreviewApiResult]):
+ groups ([ConfigurationParameterPreviewApiResultGroup]):
+ _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': [
+ ],
+ 'oneOf': [
+ ConfigurationParameterPreviewApiResultCountReply,
+ ConfigurationParameterPreviewApiResultGroupedReply,
+ ConfigurationParameterPreviewApiResultReply,
+ ],
+ }
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result_projects.py b/src/testit_api_client/model/configuration_parameter_preview_api_result_projects.py
new file mode 100644
index 0000000..7963cd8
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result_projects.py
@@ -0,0 +1,325 @@
+"""
+ 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.project_name_api_result import ProjectNameApiResult
+ from testit_api_client.model.project_name_api_result_api_collection_preview import ProjectNameApiResultApiCollectionPreview
+ globals()['ProjectNameApiResult'] = ProjectNameApiResult
+ globals()['ProjectNameApiResultApiCollectionPreview'] = ProjectNameApiResultApiCollectionPreview
+
+
+class ConfigurationParameterPreviewApiResultProjects(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 {
+ 'data': ([ProjectNameApiResult],), # noqa: E501
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'data': 'data', # noqa: E501
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultProjects - a model defined in OpenAPI
+
+ Keyword Args:
+ data ([ProjectNameApiResult]): Preview items
+ total_count (int): Total count
+ _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
+ """ConfigurationParameterPreviewApiResultProjects - a model defined in OpenAPI
+
+ Keyword Args:
+ data ([ProjectNameApiResult]): Preview items
+ total_count (int): Total count
+ _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': [
+ ProjectNameApiResultApiCollectionPreview,
+ ],
+ 'oneOf': [
+ ],
+ }
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result_reply.py b/src/testit_api_client/model/configuration_parameter_preview_api_result_reply.py
new file mode 100644
index 0000000..47b93a9
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result_reply.py
@@ -0,0 +1,274 @@
+"""
+ 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.configuration_parameter_preview_api_result import ConfigurationParameterPreviewApiResult
+ globals()['ConfigurationParameterPreviewApiResult'] = ConfigurationParameterPreviewApiResult
+
+
+class ConfigurationParameterPreviewApiResultReply(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'data': ([ConfigurationParameterPreviewApiResult],), # noqa: E501
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'data': 'data', # noqa: E501
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, data, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultReply - a model defined in OpenAPI
+
+ Args:
+ data ([ConfigurationParameterPreviewApiResult]):
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, data, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultReply - a model defined in OpenAPI
+
+ Args:
+ data ([ConfigurationParameterPreviewApiResult]):
+ total_count (int):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_preview_api_result_values.py b/src/testit_api_client/model/configuration_parameter_preview_api_result_values.py
new file mode 100644
index 0000000..3f594ad
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_preview_api_result_values.py
@@ -0,0 +1,325 @@
+"""
+ 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.configuration_parameter_value_api_result import ConfigurationParameterValueApiResult
+ from testit_api_client.model.configuration_parameter_value_api_result_api_collection_preview import ConfigurationParameterValueApiResultApiCollectionPreview
+ globals()['ConfigurationParameterValueApiResult'] = ConfigurationParameterValueApiResult
+ globals()['ConfigurationParameterValueApiResultApiCollectionPreview'] = ConfigurationParameterValueApiResultApiCollectionPreview
+
+
+class ConfigurationParameterPreviewApiResultValues(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 {
+ 'data': ([ConfigurationParameterValueApiResult],), # noqa: E501
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'data': 'data', # noqa: E501
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterPreviewApiResultValues - a model defined in OpenAPI
+
+ Keyword Args:
+ data ([ConfigurationParameterValueApiResult]): Preview items
+ total_count (int): Total count
+ _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
+ """ConfigurationParameterPreviewApiResultValues - a model defined in OpenAPI
+
+ Keyword Args:
+ data ([ConfigurationParameterValueApiResult]): Preview items
+ total_count (int): Total count
+ _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': [
+ ConfigurationParameterValueApiResultApiCollectionPreview,
+ ],
+ 'oneOf': [
+ ],
+ }
diff --git a/src/testit_api_client/model/configuration_parameter_project_api_model.py b/src/testit_api_client/model/configuration_parameter_project_api_model.py
new file mode 100644
index 0000000..0bb3ed2
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_project_api_model.py
@@ -0,0 +1,263 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class ConfigurationParameterProjectApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'id': (str,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'id': 'id', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterProjectApiModel - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of project
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, id, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterProjectApiModel - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of project
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_value_api_model.py b/src/testit_api_client/model/configuration_parameter_value_api_model.py
new file mode 100644
index 0000000..5e7b5a7
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_value_api_model.py
@@ -0,0 +1,267 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class ConfigurationParameterValueApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ ('value',): {
+ 'max_length': 255,
+ 'min_length': 0,
+ },
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'value': (str,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'value': 'value', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, value, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterValueApiModel - a model defined in OpenAPI
+
+ Args:
+ value (str): Value of the configuration parameter
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.value = value
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, value, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterValueApiModel - a model defined in OpenAPI
+
+ Args:
+ value (str): Value of the configuration parameter
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.value = value
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_value_api_result.py b/src/testit_api_client/model/configuration_parameter_value_api_result.py
new file mode 100644
index 0000000..d9d4deb
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_value_api_result.py
@@ -0,0 +1,269 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class ConfigurationParameterValueApiResult(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'id': (str,), # noqa: E501
+ 'value': (str,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'id': 'id', # noqa: E501
+ 'value': 'value', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, id, value, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterValueApiResult - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of the configuration parameter value
+ value (str): Value of the configuration parameter
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ self.value = value
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, id, value, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterValueApiResult - a model defined in OpenAPI
+
+ Args:
+ id (str): Identifier of the configuration parameter value
+ value (str): Value of the configuration parameter
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.id = id
+ self.value = value
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/configuration_parameter_value_api_result_api_collection_preview.py b/src/testit_api_client/model/configuration_parameter_value_api_result_api_collection_preview.py
new file mode 100644
index 0000000..58b8e3a
--- /dev/null
+++ b/src/testit_api_client/model/configuration_parameter_value_api_result_api_collection_preview.py
@@ -0,0 +1,274 @@
+"""
+ 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.configuration_parameter_value_api_result import ConfigurationParameterValueApiResult
+ globals()['ConfigurationParameterValueApiResult'] = ConfigurationParameterValueApiResult
+
+
+class ConfigurationParameterValueApiResultApiCollectionPreview(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'data': ([ConfigurationParameterValueApiResult],), # noqa: E501
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'data': 'data', # noqa: E501
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, data, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterValueApiResultApiCollectionPreview - a model defined in OpenAPI
+
+ Args:
+ data ([ConfigurationParameterValueApiResult]): Preview items
+ total_count (int): Total count
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, data, total_count, *args, **kwargs): # noqa: E501
+ """ConfigurationParameterValueApiResultApiCollectionPreview - a model defined in OpenAPI
+
+ Args:
+ data ([ConfigurationParameterValueApiResult]): Preview items
+ total_count (int): Total count
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model.py b/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model.py
new file mode 100644
index 0000000..f9010ef
--- /dev/null
+++ b/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model.py
@@ -0,0 +1,305 @@
+"""
+ 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_filter import CreateTestRunAndFillByAutoTestCasesApiModelFilter
+ from testit_api_client.model.create_test_run_and_fill_by_auto_test_cases_api_model_option import CreateTestRunAndFillByAutoTestCasesApiModelOption
+ globals()['CreateTestRunAndFillByAutoTestCasesApiModelFilter'] = CreateTestRunAndFillByAutoTestCasesApiModelFilter
+ globals()['CreateTestRunAndFillByAutoTestCasesApiModelOption'] = CreateTestRunAndFillByAutoTestCasesApiModelOption
+
+
+class CreateTestRunAndFillByAutoTestCasesApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ ('configuration_ids',): {
+ 'min_items': 1,
+ },
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ '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 = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, project_id, configuration_ids, option, *args, **kwargs): # noqa: E501
+ """CreateTestRunAndFillByAutoTestCasesApiModel - a model defined in OpenAPI
+
+ 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):
+
+ 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 (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', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.project_id = project_id
+ self.configuration_ids = configuration_ids
+ self.option = option
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, project_id, configuration_ids, option, *args, **kwargs): # noqa: E501
+ """CreateTestRunAndFillByAutoTestCasesApiModel - a model defined in OpenAPI
+
+ 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):
+
+ 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 (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__,)
+
+ self.project_id = project_id
+ self.configuration_ids = configuration_ids
+ self.option = option
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model_filter.py b/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model_filter.py
new file mode 100644
index 0000000..5eaf9f1
--- /dev/null
+++ b/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model_filter.py
@@ -0,0 +1,327 @@
+"""
+ 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.composite_filter import CompositeFilter
+ from testit_api_client.model.i_filter import IFilter
+ from testit_api_client.model.logical_operator import LogicalOperator
+ globals()['CompositeFilter'] = CompositeFilter
+ globals()['IFilter'] = IFilter
+ globals()['LogicalOperator'] = LogicalOperator
+
+
+class CreateTestRunAndFillByAutoTestCasesApiModelFilter(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 = True
+
+ @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 {
+ 'filters': ([IFilter],), # noqa: E501
+ 'operator': (LogicalOperator,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'filters': 'filters', # noqa: E501
+ 'operator': 'operator', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """CreateTestRunAndFillByAutoTestCasesApiModelFilter - a model defined in OpenAPI
+
+ Keyword Args:
+ filters ([IFilter]):
+ operator (LogicalOperator):
+ _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
+ """CreateTestRunAndFillByAutoTestCasesApiModelFilter - a model defined in OpenAPI
+
+ Keyword Args:
+ filters ([IFilter]):
+ operator (LogicalOperator):
+ _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': [
+ CompositeFilter,
+ ],
+ 'oneOf': [
+ ],
+ }
diff --git a/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model_option.py b/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model_option.py
new file mode 100644
index 0000000..06a03aa
--- /dev/null
+++ b/src/testit_api_client/model/create_test_run_and_fill_by_auto_test_cases_api_model_option.py
@@ -0,0 +1,323 @@
+"""
+ 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_run_launch_option_api_model import TestRunLaunchOptionApiModel
+ globals()['TestRunLaunchOptionApiModel'] = TestRunLaunchOptionApiModel
+
+
+class CreateTestRunAndFillByAutoTestCasesApiModelOption(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 {
+ 'webhook_ids': ([str],), # noqa: E501
+ 'custom_parameters': ({str: (str,)}, none_type,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'webhook_ids': 'webhookIds', # noqa: E501
+ 'custom_parameters': 'customParameters', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """CreateTestRunAndFillByAutoTestCasesApiModelOption - a model defined in OpenAPI
+
+ Keyword Args:
+ 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.
+ 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,)
+ custom_parameters ({str: (str,)}, none_type): Customers test run parameters.. [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
+ """CreateTestRunAndFillByAutoTestCasesApiModelOption - a model defined in OpenAPI
+
+ Keyword Args:
+ 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.
+ 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,)
+ custom_parameters ({str: (str,)}, none_type): Customers test run parameters.. [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': [
+ TestRunLaunchOptionApiModel,
+ ],
+ 'oneOf': [
+ ],
+ }
diff --git a/src/testit_api_client/model/field_filter.py b/src/testit_api_client/model/field_filter.py
new file mode 100644
index 0000000..d1ab69c
--- /dev/null
+++ b/src/testit_api_client/model/field_filter.py
@@ -0,0 +1,274 @@
+"""
+ 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.filter_operator import FilterOperator
+ globals()['FilterOperator'] = FilterOperator
+
+
+class FieldFilter(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'operator': (FilterOperator,), # noqa: E501
+ 'value': (str, none_type,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'operator': 'operator', # noqa: E501
+ 'value': 'value', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, operator, value, *args, **kwargs): # noqa: E501
+ """FieldFilter - a model defined in OpenAPI
+
+ Args:
+ operator (FilterOperator):
+ value (str, none_type):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.operator = operator
+ self.value = value
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, operator, value, *args, **kwargs): # noqa: E501
+ """FieldFilter - a model defined in OpenAPI
+
+ Args:
+ operator (FilterOperator):
+ value (str, none_type):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.operator = operator
+ self.value = value
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/filter.py b/src/testit_api_client/model/filter.py
index 10c6813..57aa567 100644
--- a/src/testit_api_client/model/filter.py
+++ b/src/testit_api_client/model/filter.py
@@ -31,7 +31,9 @@
def lazy_import():
from testit_api_client.model.filter_operator import FilterOperator
+ from testit_api_client.model.filter_value import FilterValue
globals()['FilterOperator'] = FilterOperator
+ globals()['FilterValue'] = FilterValue
class Filter(ModelNormal):
@@ -81,8 +83,8 @@ def openapi_types():
lazy_import()
return {
'operator': (FilterOperator,), # noqa: E501
+ 'value': (FilterValue,), # noqa: E501
'field': (str,), # noqa: E501
- 'value': (str, none_type,), # noqa: E501
}
@cached_property
@@ -92,8 +94,8 @@ def discriminator():
attribute_map = {
'operator': 'operator', # noqa: E501
- 'field': 'field', # noqa: E501
'value': 'value', # noqa: E501
+ 'field': 'field', # noqa: E501
}
read_only_vars = {
@@ -104,11 +106,12 @@ def discriminator():
@classmethod
@convert_js_args_to_python_args
- def _from_openapi_data(cls, operator, field, *args, **kwargs): # noqa: E501
+ def _from_openapi_data(cls, operator, value, field, *args, **kwargs): # noqa: E501
"""Filter - a model defined in OpenAPI
Args:
operator (FilterOperator):
+ value (FilterValue):
field (str):
Keyword Args:
@@ -142,7 +145,6 @@ def _from_openapi_data(cls, operator, field, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
- value (str, none_type): [optional] # noqa: E501
"""
_check_type = kwargs.pop('_check_type', True)
@@ -175,6 +177,7 @@ def _from_openapi_data(cls, operator, field, *args, **kwargs): # noqa: E501
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
self.operator = operator
+ self.value = value
self.field = field
for var_name, var_value in kwargs.items():
if var_name not in self.attribute_map and \
@@ -196,11 +199,12 @@ def _from_openapi_data(cls, operator, field, *args, **kwargs): # noqa: E501
])
@convert_js_args_to_python_args
- def __init__(self, operator, *args, **kwargs): # noqa: E501
+ def __init__(self, operator, value, *args, **kwargs): # noqa: E501
"""Filter - a model defined in OpenAPI
Args:
operator (FilterOperator):
+ value (FilterValue):
Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
@@ -232,7 +236,6 @@ def __init__(self, operator, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
- value (str, none_type): [optional] # noqa: E501
"""
_check_type = kwargs.pop('_check_type', True)
@@ -263,6 +266,7 @@ def __init__(self, operator, *args, **kwargs): # noqa: E501
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
self.operator = operator
+ self.value = value
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/filter_value.py b/src/testit_api_client/model/filter_value.py
new file mode 100644
index 0000000..1009d63
--- /dev/null
+++ b/src/testit_api_client/model/filter_value.py
@@ -0,0 +1,321 @@
+"""
+ 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.json_element import JsonElement
+ from testit_api_client.model.json_value_kind import JsonValueKind
+ globals()['JsonElement'] = JsonElement
+ globals()['JsonValueKind'] = JsonValueKind
+
+
+class FilterValue(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 {
+ 'value_kind': (JsonValueKind,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'value_kind': 'valueKind', # noqa: E501
+ }
+
+ read_only_vars = {
+ 'value_kind', # noqa: E501
+ }
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """FilterValue - a model defined in OpenAPI
+
+ Keyword Args:
+ value_kind (JsonValueKind):
+ _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
+ """FilterValue - 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,)
+ """
+
+ _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': [
+ JsonElement,
+ ],
+ 'oneOf': [
+ ],
+ }
diff --git a/src/testit_api_client/model/i_filter.py b/src/testit_api_client/model/i_filter.py
index a6fa720..bd76d1c 100644
--- a/src/testit_api_client/model/i_filter.py
+++ b/src/testit_api_client/model/i_filter.py
@@ -35,11 +35,13 @@ def lazy_import():
from testit_api_client.model.collection_operator import CollectionOperator
from testit_api_client.model.composite_filter import CompositeFilter
from testit_api_client.model.filter import Filter
+ from testit_api_client.model.filter_value import FilterValue
globals()['CollectionFilter'] = CollectionFilter
globals()['CollectionFilterFilter'] = CollectionFilterFilter
globals()['CollectionOperator'] = CollectionOperator
globals()['CompositeFilter'] = CompositeFilter
globals()['Filter'] = Filter
+ globals()['FilterValue'] = FilterValue
class IFilter(ModelComposed):
@@ -88,9 +90,9 @@ def openapi_types():
"""
lazy_import()
return {
- 'value': (str, none_type,), # noqa: E501
'filters': ([IFilter],), # noqa: E501
'operator': (CollectionOperator,), # noqa: E501
+ 'value': (FilterValue,), # noqa: E501
'field': (str,), # noqa: E501
'filter': (CollectionFilterFilter,), # noqa: E501
}
@@ -101,9 +103,9 @@ def discriminator():
attribute_map = {
- 'value': 'value', # noqa: E501
'filters': 'filters', # noqa: E501
'operator': 'operator', # noqa: E501
+ 'value': 'value', # noqa: E501
'field': 'field', # noqa: E501
'filter': 'filter', # noqa: E501
}
@@ -148,9 +150,9 @@ 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,)
- value (str, none_type): [optional] # noqa: E501
filters ([IFilter]): [optional] # noqa: E501
operator (CollectionOperator): [optional] # noqa: E501
+ value (FilterValue): [optional] # noqa: E501
field (str): [optional] # noqa: E501
filter (CollectionFilterFilter): [optional] # noqa: E501
"""
@@ -256,9 +258,9 @@ 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,)
- value (str, none_type): [optional] # noqa: E501
filters ([IFilter]): [optional] # noqa: E501
operator (CollectionOperator): [optional] # noqa: E501
+ value (FilterValue): [optional] # noqa: E501
field (str): [optional] # noqa: E501
filter (CollectionFilterFilter): [optional] # noqa: E501
"""
diff --git a/src/testit_api_client/model/json_element.py b/src/testit_api_client/model/json_element.py
new file mode 100644
index 0000000..892a57c
--- /dev/null
+++ b/src/testit_api_client/model/json_element.py
@@ -0,0 +1,265 @@
+"""
+ 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.json_value_kind import JsonValueKind
+ globals()['JsonValueKind'] = JsonValueKind
+
+
+class JsonElement(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'value_kind': (JsonValueKind,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'value_kind': 'valueKind', # noqa: E501
+ }
+
+ read_only_vars = {
+ 'value_kind', # noqa: E501
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, value_kind, *args, **kwargs): # noqa: E501
+ """JsonElement - a model defined in OpenAPI
+
+ Args:
+ value_kind (JsonValueKind):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.value_kind = value_kind
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, *args, **kwargs): # noqa: E501
+ """JsonElement - 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,)
+ """
+
+ _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__,)
+
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/json_value_kind.py b/src/testit_api_client/model/json_value_kind.py
new file mode 100644
index 0000000..9163d25
--- /dev/null
+++ b/src/testit_api_client/model/json_value_kind.py
@@ -0,0 +1,296 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class JsonValueKind(ModelSimple):
+ """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.
+ 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 = {
+ ('value',): {
+ 'UNDEFINED': "Undefined",
+ 'OBJECT': "Object",
+ 'ARRAY': "Array",
+ 'STRING': "String",
+ 'NUMBER': "Number",
+ 'TRUE': "True",
+ 'FALSE': "False",
+ 'NULL': "Null",
+ },
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'value': (str,),
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {}
+
+ read_only_vars = set()
+
+ _composed_schemas = None
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, *args, **kwargs):
+ """JsonValueKind - a model defined in OpenAPI
+
+ Note that value can be passed either in args or in kwargs, but not in both.
+
+ Args:
+ args[0] (str):, must be one of ["Undefined", "Object", "Array", "String", "Number", "True", "False", "Null", ] # noqa: E501
+
+ Keyword Args:
+ value (str):, must be one of ["Undefined", "Object", "Array", "String", "Number", "True", "False", "Null", ] # noqa: E501
+ _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,)
+ """
+ # required up here when default value is not given
+ _path_to_item = kwargs.pop('_path_to_item', ())
+
+ if 'value' in kwargs:
+ value = kwargs.pop('value')
+ elif args:
+ args = list(args)
+ value = args.pop(0)
+ else:
+ raise ApiTypeError(
+ "value is required, but not passed in args or kwargs and doesn't have default",
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+ self.value = value
+ if kwargs:
+ raise ApiTypeError(
+ "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
+ kwargs,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs):
+ """JsonValueKind - a model defined in OpenAPI
+
+ Note that value can be passed either in args or in kwargs, but not in both.
+
+ Args:
+ args[0] (str):, must be one of ["Undefined", "Object", "Array", "String", "Number", "True", "False", "Null", ] # noqa: E501
+
+ Keyword Args:
+ value (str):, must be one of ["Undefined", "Object", "Array", "String", "Number", "True", "False", "Null", ] # noqa: E501
+ _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,)
+ """
+ # required up here when default value is not given
+ _path_to_item = kwargs.pop('_path_to_item', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if 'value' in kwargs:
+ value = kwargs.pop('value')
+ elif args:
+ args = list(args)
+ value = args.pop(0)
+ else:
+ raise ApiTypeError(
+ "value is required, but not passed in args or kwargs and doesn't have default",
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+ self.value = value
+ if kwargs:
+ raise ApiTypeError(
+ "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
+ kwargs,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ return self
diff --git a/src/testit_api_client/model/layer_api_model.py b/src/testit_api_client/model/layer_api_model.py
new file mode 100644
index 0000000..0e4e145
--- /dev/null
+++ b/src/testit_api_client/model/layer_api_model.py
@@ -0,0 +1,277 @@
+"""
+ 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.layer_source import LayerSource
+ globals()['LayerSource'] = LayerSource
+
+
+class LayerApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ ('name',): {
+ 'min_length': 1,
+ },
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'name': (str,), # noqa: E501
+ 'source': (LayerSource,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ '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, name, source, *args, **kwargs): # noqa: E501
+ """LayerApiModel - a model defined in OpenAPI
+
+ Args:
+ name (str): Name of the test pyramid layer. Available layers: * Unit * Component * API * UI * E2E * Contract
+ source (LayerSource):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.name = name
+ self.source = source
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, name, source, *args, **kwargs): # noqa: E501
+ """LayerApiModel - a model defined in OpenAPI
+
+ Args:
+ name (str): Name of the test pyramid layer. Available layers: * Unit * Component * API * UI * E2E * Contract
+ source (LayerSource):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.name = name
+ self.source = source
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/layer_api_result.py b/src/testit_api_client/model/layer_api_result.py
new file mode 100644
index 0000000..039d835
--- /dev/null
+++ b/src/testit_api_client/model/layer_api_result.py
@@ -0,0 +1,274 @@
+"""
+ 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.layer_source import LayerSource
+ globals()['LayerSource'] = LayerSource
+
+
+class LayerApiResult(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'name': (str,), # noqa: E501
+ 'source': (LayerSource,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ '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, name, source, *args, **kwargs): # noqa: E501
+ """LayerApiResult - a model defined in OpenAPI
+
+ Args:
+ name (str): Name of the test pyramid layer.
+ source (LayerSource):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.name = name
+ self.source = source
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, name, source, *args, **kwargs): # noqa: E501
+ """LayerApiResult - a model defined in OpenAPI
+
+ Args:
+ name (str): Name of the test pyramid layer.
+ source (LayerSource):
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.name = name
+ self.source = source
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/layer_source.py b/src/testit_api_client/model/layer_source.py
new file mode 100644
index 0000000..d0c21b5
--- /dev/null
+++ b/src/testit_api_client/model/layer_source.py
@@ -0,0 +1,292 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class LayerSource(ModelSimple):
+ """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.
+ 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 = {
+ ('value',): {
+ 'MANUAL': "Manual",
+ 'REPORT': "Report",
+ 'RUN': "Run",
+ 'RULE': "Rule",
+ },
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'value': (str,),
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {}
+
+ read_only_vars = set()
+
+ _composed_schemas = None
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, *args, **kwargs):
+ """LayerSource - a model defined in OpenAPI
+
+ Note that value can be passed either in args or in kwargs, but not in both.
+
+ Args:
+ args[0] (str):, must be one of ["Manual", "Report", "Run", "Rule", ] # noqa: E501
+
+ Keyword Args:
+ value (str):, must be one of ["Manual", "Report", "Run", "Rule", ] # noqa: E501
+ _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,)
+ """
+ # required up here when default value is not given
+ _path_to_item = kwargs.pop('_path_to_item', ())
+
+ if 'value' in kwargs:
+ value = kwargs.pop('value')
+ elif args:
+ args = list(args)
+ value = args.pop(0)
+ else:
+ raise ApiTypeError(
+ "value is required, but not passed in args or kwargs and doesn't have default",
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+ self.value = value
+ if kwargs:
+ raise ApiTypeError(
+ "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
+ kwargs,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs):
+ """LayerSource - a model defined in OpenAPI
+
+ Note that value can be passed either in args or in kwargs, but not in both.
+
+ Args:
+ args[0] (str):, must be one of ["Manual", "Report", "Run", "Rule", ] # noqa: E501
+
+ Keyword Args:
+ value (str):, must be one of ["Manual", "Report", "Run", "Rule", ] # noqa: E501
+ _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,)
+ """
+ # required up here when default value is not given
+ _path_to_item = kwargs.pop('_path_to_item', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if 'value' in kwargs:
+ value = kwargs.pop('value')
+ elif args:
+ args = list(args)
+ value = args.pop(0)
+ else:
+ raise ApiTypeError(
+ "value is required, but not passed in args or kwargs and doesn't have default",
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+ self.value = value
+ if kwargs:
+ raise ApiTypeError(
+ "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % (
+ kwargs,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ return self
diff --git a/src/testit_api_client/model/project_name_api_result_api_collection_preview.py b/src/testit_api_client/model/project_name_api_result_api_collection_preview.py
new file mode 100644
index 0000000..d406c30
--- /dev/null
+++ b/src/testit_api_client/model/project_name_api_result_api_collection_preview.py
@@ -0,0 +1,274 @@
+"""
+ 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.project_name_api_result import ProjectNameApiResult
+ globals()['ProjectNameApiResult'] = ProjectNameApiResult
+
+
+class ProjectNameApiResultApiCollectionPreview(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'data': ([ProjectNameApiResult],), # noqa: E501
+ 'total_count': (int,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'data': 'data', # noqa: E501
+ 'total_count': 'totalCount', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, data, total_count, *args, **kwargs): # noqa: E501
+ """ProjectNameApiResultApiCollectionPreview - a model defined in OpenAPI
+
+ Args:
+ data ([ProjectNameApiResult]): Preview items
+ total_count (int): Total count
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, data, total_count, *args, **kwargs): # noqa: E501
+ """ProjectNameApiResultApiCollectionPreview - a model defined in OpenAPI
+
+ Args:
+ data ([ProjectNameApiResult]): Preview items
+ total_count (int): Total count
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.data = data
+ self.total_count = total_count
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/projects_filter_model_autotests_count.py b/src/testit_api_client/model/projects_filter_model_autotests_count.py
index 351b669..aa0bfe8 100644
--- a/src/testit_api_client/model/projects_filter_model_autotests_count.py
+++ b/src/testit_api_client/model/projects_filter_model_autotests_count.py
@@ -30,8 +30,8 @@
def lazy_import():
- from testit_api_client.model.int32_range_selector_model import Int32RangeSelectorModel
- globals()['Int32RangeSelectorModel'] = Int32RangeSelectorModel
+ from testit_api_client.model.int64_range_selector_model import Int64RangeSelectorModel
+ globals()['Int64RangeSelectorModel'] = Int64RangeSelectorModel
class ProjectsFilterModelAutotestsCount(ModelComposed):
@@ -316,7 +316,7 @@ def _composed_schemas():
'anyOf': [
],
'allOf': [
- Int32RangeSelectorModel,
+ Int64RangeSelectorModel,
],
'oneOf': [
],
diff --git a/src/testit_api_client/model/projects_filter_model_checklists_count.py b/src/testit_api_client/model/projects_filter_model_checklists_count.py
index 126bf03..b0eebc7 100644
--- a/src/testit_api_client/model/projects_filter_model_checklists_count.py
+++ b/src/testit_api_client/model/projects_filter_model_checklists_count.py
@@ -30,8 +30,8 @@
def lazy_import():
- from testit_api_client.model.int32_range_selector_model import Int32RangeSelectorModel
- globals()['Int32RangeSelectorModel'] = Int32RangeSelectorModel
+ from testit_api_client.model.int64_range_selector_model import Int64RangeSelectorModel
+ globals()['Int64RangeSelectorModel'] = Int64RangeSelectorModel
class ProjectsFilterModelChecklistsCount(ModelComposed):
@@ -316,7 +316,7 @@ def _composed_schemas():
'anyOf': [
],
'allOf': [
- Int32RangeSelectorModel,
+ Int64RangeSelectorModel,
],
'oneOf': [
],
diff --git a/src/testit_api_client/model/projects_filter_model_shared_steps_count.py b/src/testit_api_client/model/projects_filter_model_shared_steps_count.py
index fd63f52..bde8606 100644
--- a/src/testit_api_client/model/projects_filter_model_shared_steps_count.py
+++ b/src/testit_api_client/model/projects_filter_model_shared_steps_count.py
@@ -30,8 +30,8 @@
def lazy_import():
- from testit_api_client.model.int32_range_selector_model import Int32RangeSelectorModel
- globals()['Int32RangeSelectorModel'] = Int32RangeSelectorModel
+ from testit_api_client.model.int64_range_selector_model import Int64RangeSelectorModel
+ globals()['Int64RangeSelectorModel'] = Int64RangeSelectorModel
class ProjectsFilterModelSharedStepsCount(ModelComposed):
@@ -316,7 +316,7 @@ def _composed_schemas():
'anyOf': [
],
'allOf': [
- Int32RangeSelectorModel,
+ Int64RangeSelectorModel,
],
'oneOf': [
],
diff --git a/src/testit_api_client/model/projects_filter_model_test_cases_count.py b/src/testit_api_client/model/projects_filter_model_test_cases_count.py
index db4605f..389e3d6 100644
--- a/src/testit_api_client/model/projects_filter_model_test_cases_count.py
+++ b/src/testit_api_client/model/projects_filter_model_test_cases_count.py
@@ -30,8 +30,8 @@
def lazy_import():
- from testit_api_client.model.int32_range_selector_model import Int32RangeSelectorModel
- globals()['Int32RangeSelectorModel'] = Int32RangeSelectorModel
+ from testit_api_client.model.int64_range_selector_model import Int64RangeSelectorModel
+ globals()['Int64RangeSelectorModel'] = Int64RangeSelectorModel
class ProjectsFilterModelTestCasesCount(ModelComposed):
@@ -316,7 +316,7 @@ def _composed_schemas():
'anyOf': [
],
'allOf': [
- Int32RangeSelectorModel,
+ Int64RangeSelectorModel,
],
'oneOf': [
],
diff --git a/src/testit_api_client/model/schedule_auto_tests_report_import_api_model.py b/src/testit_api_client/model/schedule_auto_tests_report_import_api_model.py
new file mode 100644
index 0000000..1e3bd2d
--- /dev/null
+++ b/src/testit_api_client/model/schedule_auto_tests_report_import_api_model.py
@@ -0,0 +1,275 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class ScheduleAutoTestsReportImportApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ ('layer_name',): {
+ 'max_length': 255,
+ 'min_length': 1,
+ },
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'attachment_id': (str,), # noqa: E501
+ 'configuration_id': (str, none_type,), # noqa: E501
+ 'layer_name': (str, none_type,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'attachment_id': 'attachmentId', # noqa: E501
+ 'configuration_id': 'configurationId', # noqa: E501
+ 'layer_name': 'layerName', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, attachment_id, *args, **kwargs): # noqa: E501
+ """ScheduleAutoTestsReportImportApiModel - a model defined in OpenAPI
+
+ Args:
+ attachment_id (str): Identifier of attachment with JUnit XML to import
+
+ 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,)
+ configuration_id (str, none_type): Identifier of configuration. Uses default configuration in project if omitted.. [optional] # noqa: E501
+ layer_name (str, none_type): Name of test pyramid layer to set. Uses rules if omitted.. [optional] # noqa: E501
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.attachment_id = attachment_id
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, attachment_id, *args, **kwargs): # noqa: E501
+ """ScheduleAutoTestsReportImportApiModel - a model defined in OpenAPI
+
+ Args:
+ attachment_id (str): Identifier of attachment with JUnit XML to import
+
+ 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,)
+ configuration_id (str, none_type): Identifier of configuration. Uses default configuration in project if omitted.. [optional] # noqa: E501
+ layer_name (str, none_type): Name of test pyramid layer to set. Uses rules if omitted.. [optional] # noqa: E501
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.attachment_id = attachment_id
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/schedule_auto_tests_report_imports_api_model.py b/src/testit_api_client/model/schedule_auto_tests_report_imports_api_model.py
new file mode 100644
index 0000000..7537f04
--- /dev/null
+++ b/src/testit_api_client/model/schedule_auto_tests_report_imports_api_model.py
@@ -0,0 +1,271 @@
+"""
+ 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.schedule_auto_tests_report_import_api_model import ScheduleAutoTestsReportImportApiModel
+ globals()['ScheduleAutoTestsReportImportApiModel'] = ScheduleAutoTestsReportImportApiModel
+
+
+class ScheduleAutoTestsReportImportsApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ ('reports',): {
+ 'min_items': 1,
+ },
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ 'reports': ([ScheduleAutoTestsReportImportApiModel],), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'reports': 'reports', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, reports, *args, **kwargs): # noqa: E501
+ """ScheduleAutoTestsReportImportsApiModel - a model defined in OpenAPI
+
+ Args:
+ reports ([ScheduleAutoTestsReportImportApiModel]): Collection of reports to import.
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.reports = reports
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, reports, *args, **kwargs): # noqa: E501
+ """ScheduleAutoTestsReportImportsApiModel - a model defined in OpenAPI
+
+ Args:
+ reports ([ScheduleAutoTestsReportImportApiModel]): Collection of reports to import.
+
+ Keyword Args:
+ _check_type (bool): if True, values for parameters in openapi_types
+ will be type checked and a TypeError will be
+ raised if the wrong type is input.
+ Defaults to True
+ _path_to_item (tuple/list): This is a list of keys or values to
+ drill down to the model in received_data
+ when deserializing a response
+ _spec_property_naming (bool): True if the variable names in the input data
+ are serialized names, as specified in the OpenAPI document.
+ False if the variable names in the input data
+ are pythonic names, e.g. snake case (default)
+ _configuration (Configuration): the instance to use when
+ deserializing a file_type parameter.
+ If passed, type conversion is attempted
+ If omitted no type conversion is done.
+ _visited_composed_classes (tuple): This stores a tuple of
+ classes that we have traveled through so that
+ if we see that class again we will not use its
+ discriminator again.
+ When traveling through a discriminator, the
+ composed schema that is
+ is traveled through is added to this set.
+ For example if Animal has a discriminator
+ petType and we pass in "Dog", and the class Dog
+ allOf includes Animal, we move through Animal
+ once using the discriminator, and pick Dog.
+ Then in Dog, we will make an instance of the
+ Animal class but this time we won't travel
+ through its discriminator because we passed in
+ _visited_composed_classes = (Animal,)
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.reports = reports
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/search_configuration_parameters_api_model.py b/src/testit_api_client/model/search_configuration_parameters_api_model.py
new file mode 100644
index 0000000..cee2bf4
--- /dev/null
+++ b/src/testit_api_client/model/search_configuration_parameters_api_model.py
@@ -0,0 +1,276 @@
+"""
+ 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.field_filter import FieldFilter
+ from testit_api_client.model.inquiry import Inquiry
+ globals()['FieldFilter'] = FieldFilter
+ globals()['Inquiry'] = Inquiry
+
+
+class SearchConfigurationParametersApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ lazy_import()
+ return {
+ '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
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'project_ids': 'projectIds', # noqa: E501
+ 'inquiry': 'inquiry', # noqa: E501
+ 'values_filters': 'valuesFilters', # noqa: E501
+ 'projects_filters': 'projectsFilters', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
+ """SearchConfigurationParametersApiModel - 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,)
+ 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)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, *args, **kwargs): # noqa: E501
+ """SearchConfigurationParametersApiModel - 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,)
+ 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)
+ _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__,)
+
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/test_run_launch_option_api_model.py b/src/testit_api_client/model/test_run_launch_option_api_model.py
new file mode 100644
index 0000000..338b1ea
--- /dev/null
+++ b/src/testit_api_client/model/test_run_launch_option_api_model.py
@@ -0,0 +1,267 @@
+"""
+ API
+
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
+
+ The version of the OpenAPI document: v2.0
+ Generated by: https://openapi-generator.tech
+"""
+
+
+import re # noqa: F401
+import sys # noqa: F401
+
+from testit_api_client.model_utils import ( # noqa: F401
+ ApiTypeError,
+ ModelComposed,
+ ModelNormal,
+ ModelSimple,
+ cached_property,
+ change_keys_js_to_python,
+ convert_js_args_to_python_args,
+ date,
+ datetime,
+ file_type,
+ none_type,
+ validate_get_composed_info,
+ OpenApiModel
+)
+from testit_api_client.exceptions import ApiAttributeError
+
+
+
+class TestRunLaunchOptionApiModel(ModelNormal):
+ """NOTE: This class is auto generated by OpenAPI Generator.
+ Ref: https://openapi-generator.tech
+
+ Do not edit the class manually.
+
+ Attributes:
+ allowed_values (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ with a capitalized key describing the allowed value and an allowed
+ value. These dicts store the allowed enum values.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ discriminator_value_class_map (dict): A dict to go from the discriminator
+ variable value to the discriminator class name.
+ validations (dict): The key is the tuple path to the attribute
+ and the for var_name this is (var_name,). The value is a dict
+ that stores validations for max_length, min_length, max_items,
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
+ inclusive_minimum, and regex.
+ additional_properties_type (tuple): A tuple of classes accepted
+ as additional properties values.
+ """
+
+ allowed_values = {
+ }
+
+ validations = {
+ }
+
+ additional_properties_type = None
+
+ _nullable = False
+
+ @cached_property
+ def openapi_types():
+ """
+ This must be a method because a model may have properties that are
+ of type self, this must run after the class is loaded
+
+ Returns
+ openapi_types (dict): The key is attribute name
+ and the value is attribute type.
+ """
+ return {
+ 'webhook_ids': ([str],), # noqa: E501
+ 'custom_parameters': ({str: (str,)}, none_type,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'webhook_ids': 'webhookIds', # noqa: E501
+ 'custom_parameters': 'customParameters', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, webhook_ids, *args, **kwargs): # noqa: E501
+ """TestRunLaunchOptionApiModel - a model defined in OpenAPI
+
+ Args:
+ webhook_ids ([str]): Enabled webhooks.
+
+ 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,)
+ custom_parameters ({str: (str,)}, none_type): Customers test run parameters.. [optional] # noqa: E501
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ self = super(OpenApiModel, cls).__new__(cls)
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.webhook_ids = webhook_ids
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ return self
+
+ required_properties = set([
+ '_data_store',
+ '_check_type',
+ '_spec_property_naming',
+ '_path_to_item',
+ '_configuration',
+ '_visited_composed_classes',
+ ])
+
+ @convert_js_args_to_python_args
+ def __init__(self, webhook_ids, *args, **kwargs): # noqa: E501
+ """TestRunLaunchOptionApiModel - a model defined in OpenAPI
+
+ Args:
+ webhook_ids ([str]): Enabled webhooks.
+
+ 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,)
+ custom_parameters ({str: (str,)}, none_type): Customers test run parameters.. [optional] # noqa: E501
+ """
+
+ _check_type = kwargs.pop('_check_type', True)
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
+ _path_to_item = kwargs.pop('_path_to_item', ())
+ _configuration = kwargs.pop('_configuration', None)
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
+
+ if args:
+ for arg in args:
+ if isinstance(arg, dict):
+ kwargs.update(arg)
+ else:
+ raise ApiTypeError(
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
+ args,
+ self.__class__.__name__,
+ ),
+ path_to_item=_path_to_item,
+ valid_classes=(self.__class__,),
+ )
+
+ self._data_store = {}
+ self._check_type = _check_type
+ self._spec_property_naming = _spec_property_naming
+ self._path_to_item = _path_to_item
+ self._configuration = _configuration
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
+
+ self.webhook_ids = webhook_ids
+ for var_name, var_value in kwargs.items():
+ if var_name not in self.attribute_map and \
+ self._configuration is not None and \
+ self._configuration.discard_unknown_keys and \
+ self.additional_properties_type is None:
+ # discard variable.
+ continue
+ setattr(self, var_name, var_value)
+ if var_name in self.read_only_vars:
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
+ f"class with read only attributes.")
diff --git a/src/testit_api_client/model/update_auto_test_request.py b/src/testit_api_client/model/update_auto_test_request.py
index 92e70fe..913f7fe 100644
--- a/src/testit_api_client/model/update_auto_test_request.py
+++ b/src/testit_api_client/model/update_auto_test_request.py
@@ -102,6 +102,7 @@ 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
@@ -128,6 +129,7 @@ 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
@@ -157,6 +159,7 @@ 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.
@@ -278,6 +281,7 @@ 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.
diff --git a/src/testit_api_client/models/__init__.py b/src/testit_api_client/models/__init__.py
index a4ffcba..d3f6904 100644
--- a/src/testit_api_client/models/__init__.py
+++ b/src/testit_api_client/models/__init__.py
@@ -76,6 +76,7 @@
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
@@ -117,6 +118,7 @@
from testit_api_client.model.audit_api_result import AuditApiResult
from testit_api_client.model.auto_test import AutoTest
from testit_api_client.model.auto_test_api_result import AutoTestApiResult
+from testit_api_client.model.auto_test_api_result_layer import AutoTestApiResultLayer
from testit_api_client.model.auto_test_average_duration_api_result import AutoTestAverageDurationApiResult
from testit_api_client.model.auto_test_bulk_delete_api_model import AutoTestBulkDeleteApiModel
from testit_api_client.model.auto_test_bulk_delete_api_model_auto_test_select import AutoTestBulkDeleteApiModelAutoTestSelect
@@ -198,6 +200,20 @@
from testit_api_client.model.configuration_filter_api_model import ConfigurationFilterApiModel
from testit_api_client.model.configuration_filter_model import ConfigurationFilterModel
from testit_api_client.model.configuration_model import ConfigurationModel
+from testit_api_client.model.configuration_parameter_api_model import ConfigurationParameterApiModel
+from testit_api_client.model.configuration_parameter_api_result import ConfigurationParameterApiResult
+from testit_api_client.model.configuration_parameter_preview_api_result import ConfigurationParameterPreviewApiResult
+from testit_api_client.model.configuration_parameter_preview_api_result_count_reply import ConfigurationParameterPreviewApiResultCountReply
+from testit_api_client.model.configuration_parameter_preview_api_result_group import ConfigurationParameterPreviewApiResultGroup
+from testit_api_client.model.configuration_parameter_preview_api_result_grouped_reply import ConfigurationParameterPreviewApiResultGroupedReply
+from testit_api_client.model.configuration_parameter_preview_api_result_i_reply import ConfigurationParameterPreviewApiResultIReply
+from testit_api_client.model.configuration_parameter_preview_api_result_projects import ConfigurationParameterPreviewApiResultProjects
+from testit_api_client.model.configuration_parameter_preview_api_result_reply import ConfigurationParameterPreviewApiResultReply
+from testit_api_client.model.configuration_parameter_preview_api_result_values import ConfigurationParameterPreviewApiResultValues
+from testit_api_client.model.configuration_parameter_project_api_model import ConfigurationParameterProjectApiModel
+from testit_api_client.model.configuration_parameter_value_api_model import ConfigurationParameterValueApiModel
+from testit_api_client.model.configuration_parameter_value_api_result import ConfigurationParameterValueApiResult
+from testit_api_client.model.configuration_parameter_value_api_result_api_collection_preview import ConfigurationParameterValueApiResultApiCollectionPreview
from testit_api_client.model.configuration_post_model import ConfigurationPostModel
from testit_api_client.model.configuration_put_model import ConfigurationPutModel
from testit_api_client.model.configuration_select_api_model import ConfigurationSelectApiModel
@@ -232,6 +248,9 @@
from testit_api_client.model.create_tag_api_model import CreateTagApiModel
from testit_api_client.model.create_test_plan_api_model import CreateTestPlanApiModel
from testit_api_client.model.create_test_plan_request import CreateTestPlanRequest
+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
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_configurations_api_model import CreateTestRunAndFillByConfigurationsApiModel
from testit_api_client.model.create_test_run_and_fill_by_work_items_api_model import CreateTestRunAndFillByWorkItemsApiModel
@@ -307,9 +326,11 @@
from testit_api_client.model.failure_category_item_api_result import FailureCategoryItemApiResult
from testit_api_client.model.failure_category_model import FailureCategoryModel
from testit_api_client.model.failure_class_regex_api_result import FailureClassRegexApiResult
+from testit_api_client.model.field_filter import FieldFilter
from testit_api_client.model.filter import Filter
from testit_api_client.model.filter_model import FilterModel
from testit_api_client.model.filter_operator import FilterOperator
+from testit_api_client.model.filter_value import FilterValue
from testit_api_client.model.generate_work_item_previews_api_model import GenerateWorkItemPreviewsApiModel
from testit_api_client.model.generate_work_item_previews_api_result import GenerateWorkItemPreviewsApiResult
from testit_api_client.model.get_ai_service_models_api_model import GetAIServiceModelsApiModel
@@ -335,12 +356,17 @@
from testit_api_client.model.int64_range_selector_model import Int64RangeSelectorModel
from testit_api_client.model.iteration_api_result import IterationApiResult
from testit_api_client.model.iteration_model import IterationModel
+from testit_api_client.model.json_element import JsonElement
+from testit_api_client.model.json_value_kind import JsonValueKind
from testit_api_client.model.label import Label
from testit_api_client.model.label_api_model import LabelApiModel
from testit_api_client.model.label_api_result import LabelApiResult
from testit_api_client.model.label_short_model import LabelShortModel
from testit_api_client.model.last_test_result_api_result import LastTestResultApiResult
from testit_api_client.model.last_test_result_model import LastTestResultModel
+from testit_api_client.model.layer_api_model import LayerApiModel
+from testit_api_client.model.layer_api_result import LayerApiResult
+from testit_api_client.model.layer_source import LayerSource
from testit_api_client.model.link_api_result import LinkApiResult
from testit_api_client.model.link_auto_test_to_work_item_request import LinkAutoTestToWorkItemRequest
from testit_api_client.model.link_create_api_model import LinkCreateApiModel
@@ -396,6 +422,7 @@
from testit_api_client.model.project_failure_category_group_item_api_result import ProjectFailureCategoryGroupItemApiResult
from testit_api_client.model.project_failure_category_group_item_api_result_reply import ProjectFailureCategoryGroupItemApiResultReply
from testit_api_client.model.project_name_api_result import ProjectNameApiResult
+from testit_api_client.model.project_name_api_result_api_collection_preview import ProjectNameApiResultApiCollectionPreview
from testit_api_client.model.project_select_model import ProjectSelectModel
from testit_api_client.model.project_short_api_result import ProjectShortApiResult
from testit_api_client.model.project_short_api_result_count_reply import ProjectShortApiResultCountReply
@@ -421,7 +448,10 @@
from testit_api_client.model.rerun_test_result_api_result import RerunTestResultApiResult
from testit_api_client.model.rerun_test_result_api_result_status import RerunTestResultApiResultStatus
from testit_api_client.model.reruns_api_result import RerunsApiResult
+from testit_api_client.model.schedule_auto_tests_report_import_api_model import ScheduleAutoTestsReportImportApiModel
+from testit_api_client.model.schedule_auto_tests_report_imports_api_model import ScheduleAutoTestsReportImportsApiModel
from testit_api_client.model.search_attributes_in_project_request import SearchAttributesInProjectRequest
+from testit_api_client.model.search_configuration_parameters_api_model import SearchConfigurationParametersApiModel
from testit_api_client.model.search_custom_attribute_template_get_model import SearchCustomAttributeTemplateGetModel
from testit_api_client.model.search_external_issues_api_model import SearchExternalIssuesApiModel
from testit_api_client.model.search_test_runs_api_model import SearchTestRunsApiModel
@@ -598,6 +628,7 @@
from testit_api_client.model.test_run_group_by_failure_class_api_result import TestRunGroupByFailureClassApiResult
from testit_api_client.model.test_run_group_by_status_api_result import TestRunGroupByStatusApiResult
from testit_api_client.model.test_run_group_by_status_type_api_result import TestRunGroupByStatusTypeApiResult
+from testit_api_client.model.test_run_launch_option_api_model import TestRunLaunchOptionApiModel
from testit_api_client.model.test_run_name_api_result import TestRunNameApiResult
from testit_api_client.model.test_run_select_api_model import TestRunSelectApiModel
from testit_api_client.model.test_run_select_api_model_extraction_model import TestRunSelectApiModelExtractionModel